|
@@ -8,6 +8,7 @@
|
|
|
:tableAttributes="tableAttributes"
|
|
|
:tableEvents="tableEvents"
|
|
|
:operation="operation()"
|
|
|
+ :moreParameters="moreParameters"
|
|
|
>
|
|
|
<div class="cartographer_big">
|
|
|
<el-dialog title="签约信息" width="100%" :modal="false" :visible.sync="formBool" :before-close="handleClose">
|
|
@@ -126,6 +127,41 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
+ moreParameters() {
|
|
|
+ return [
|
|
|
+ {
|
|
|
+ name: '状态',
|
|
|
+ key: 'status',
|
|
|
+ value: '',
|
|
|
+ conditions: [
|
|
|
+ {
|
|
|
+ label: '全部',
|
|
|
+ value: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '审核驳回',
|
|
|
+ value: 'REJECT'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '已失效',
|
|
|
+ value: 'CANCEL'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '待签约',
|
|
|
+ value: 'WAIT_SIGN'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '审核通过',
|
|
|
+ value: 'OK'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '待审核',
|
|
|
+ value: 'WAIT'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
userData() {
|
|
|
return JSON.parse(localStorage.getItem('greemall_user'))
|
|
|
},
|
|
@@ -444,7 +480,16 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
// 列表请求函数
|
|
|
- getList: websitContractSignList,
|
|
|
+ getList(p, cb) {
|
|
|
+ var pam = JSON.parse(JSON.stringify(p))
|
|
|
+ try {
|
|
|
+ if (pam.status) {
|
|
|
+ pam.params.push({ param: 'a.status', compare: '=', value: pam.status })
|
|
|
+ }
|
|
|
+ cb && cb(pam)
|
|
|
+ return websitContractSignList(pam)
|
|
|
+ } catch (err) {}
|
|
|
+ },
|
|
|
// 导出
|
|
|
exportList: websitContractSignListExport,
|
|
|
// 表格列解析渲染数据更改
|