|
|
@@ -100,8 +100,18 @@
|
|
|
|
|
|
<el-table-column label="操作" width="130" align="center" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button type="text" title="办理" icon="el-icon-edit" size="mini" @click="rowClick(scope.row)">办理</el-button>
|
|
|
- <!--<el-button type="text" title="编辑" icon="el-icon-s-promotion" size="mini">跟踪</el-button>-->
|
|
|
+ <div v-if="scope.row.Status === '6'">
|
|
|
+ <router-link :to="'oilsupplier/paymentinfo/paymentsure'">
|
|
|
+ <el-button type="text"
|
|
|
+ title="办理"
|
|
|
+ icon="el-icon-edit"
|
|
|
+ size="mini">办理</el-button>
|
|
|
+ </router-link>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <el-button type="text" title="办理" icon="el-icon-edit" size="mini" @click="rowClick(scope.row)">办理</el-button>
|
|
|
+ <!--<el-button type="text" title="编辑" icon="el-icon-s-promotion" size="mini">跟踪</el-button>-->
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
@@ -559,6 +569,7 @@
|
|
|
Object.assign(params, this.searchForm)
|
|
|
// 访问接口
|
|
|
api.getTodoList(params, this.$axios).then(res => {
|
|
|
+ console.log(res.data.items, '待办事件')
|
|
|
this.entityListtode = res.data.items
|
|
|
this.currentItemCount = res.data.currentItemCount
|
|
|
}).catch(err => {
|
|
|
@@ -737,14 +748,14 @@
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|
|
|
- ensureOption() {
|
|
|
+ ensureOption () {
|
|
|
let _this = this
|
|
|
_this.$axios.post('/register/adduser/', _this.formData)
|
|
|
.then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
_this.$message({
|
|
|
type: 'success',
|
|
|
- message: res.data.message,
|
|
|
+ message: res.data.message
|
|
|
})
|
|
|
// 关闭dialog
|
|
|
_this.dialogVisible = false
|