|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<template-page ref="pageRef" :get-list="getList" :exportList="exportList" :table-attributes="tableAttributes"
|
|
|
:table-events="tableEvents" :options-evens-group="optionsEvensGroup"
|
|
|
- :column-parsing="columnParsing" :operation="operation()" :operationColumnWidth="200">
|
|
|
+ :column-parsing="columnParsing" :operation="operation()" :operationColumnWidth="200" :moreParameters="moreParameters">
|
|
|
<div class="cartographer">
|
|
|
<el-dialog :title="formData.id?'详情':'新增'" width="100%" :modal="false" :visible.sync="formDialog"
|
|
|
:before-close="formCancel">
|
|
@@ -70,6 +70,31 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed:{
|
|
|
+ moreParameters() {
|
|
|
+ return [
|
|
|
+ {
|
|
|
+ name: '状态',
|
|
|
+ key: 'status',
|
|
|
+ value: '',
|
|
|
+ conditions: [{
|
|
|
+ label: "生效中",
|
|
|
+ value: "1"
|
|
|
+ },{
|
|
|
+ label: "待生效",
|
|
|
+ value: "0"
|
|
|
+ },{
|
|
|
+ label: "已过期",
|
|
|
+ value: "2"
|
|
|
+ },{
|
|
|
+ label: "已过期",
|
|
|
+ value: "3"
|
|
|
+ },{
|
|
|
+ label: "全部",
|
|
|
+ value: ""
|
|
|
+ }]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
// 事件组合
|
|
|
optionsEvensGroup() {
|
|
|
return [
|