cloud-web-corejs 1.0.54-dev.344 → 1.0.54-dev.346
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/VabUpload/view.vue +138 -55
- package/src/components/wf/content.vue +772 -411
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +131 -0
- package/src/components/wf/wf.js +2117 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +92 -0
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -19
- package/src/views/bd/setting/logic_param/edit.vue +31 -150
- package/src/views/bd/setting/logic_param/edit1.vue +106 -0
- package/src/views/bd/setting/logic_param/edit2.vue +122 -0
- package/src/views/bd/setting/logic_param/list.vue +5 -188
- package/src/views/bd/setting/logic_param/mixins/edit.js +93 -0
- package/src/views/bd/setting/logic_param/mixins/list.js +358 -0
- package/src/views/user/position/edit.vue +106 -74
- package/src/views/user/position/list.vue +116 -84
- package/src/views/user/user/list.vue +647 -582
- package/src/views/user/wf/wf_transfer_setting/edit.vue +229 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +308 -0
@@ -4,7 +4,7 @@
|
|
4
4
|
<div class="d-header clearfix">
|
5
5
|
<div class="fl">
|
6
6
|
<i class="el-icon-info" />
|
7
|
-
{{
|
7
|
+
{{ dataId ? $t1("查看逻辑参数") : $t1("新增逻辑参数") }}
|
8
8
|
</div>
|
9
9
|
<div class="fr">
|
10
10
|
<el-button
|
@@ -52,19 +52,6 @@
|
|
52
52
|
</td>
|
53
53
|
</tr>
|
54
54
|
<tr>
|
55
|
-
<th>{{ $t1("参数备注") }}</th>
|
56
|
-
<td colspan="5">
|
57
|
-
<el-input
|
58
|
-
type="textarea"
|
59
|
-
:rows="2"
|
60
|
-
:placeholder="$t1('请输入内容')"
|
61
|
-
size="small"
|
62
|
-
v-model="logicParam.remark"
|
63
|
-
clearable
|
64
|
-
></el-input>
|
65
|
-
</td>
|
66
|
-
</tr>
|
67
|
-
<tr v-if="logicParam.paramType === 0">
|
68
55
|
<th>
|
69
56
|
<em class="f-red">*</em>
|
70
57
|
{{ $t1("组织编码") }}
|
@@ -86,27 +73,11 @@
|
|
86
73
|
<span class="tips_1">{{ $t1('注:多个用逗号","隔开') }}</span>
|
87
74
|
</td>
|
88
75
|
</tr>
|
89
|
-
<tr v-if="logicParam.paramType === 0">
|
90
|
-
<th>{{ $t1("是否启用") }}</th>
|
91
|
-
<td>
|
92
|
-
<el-form-item
|
93
|
-
prop="enabled"
|
94
|
-
:rules="[{ required: false, trigger: 'blur' }]"
|
95
|
-
>
|
96
|
-
<el-radio-group v-model="logicParam.enabled">
|
97
|
-
<el-radio :label="true">{{ $t1("启用") }}</el-radio>
|
98
|
-
<el-radio :label="false">{{ $t1("禁用") }}</el-radio>
|
99
|
-
</el-radio-group>
|
100
|
-
</el-form-item>
|
101
|
-
</td>
|
102
|
-
</tr>
|
103
76
|
<tr>
|
104
77
|
<th>
|
105
78
|
{{ $t1("参数值") }}
|
106
|
-
<!-- <scriptDescriptionButton path="static/readme/RequestSetting.txt"></scriptDescriptionButton>
|
107
|
-
<scriptTestButton :script.sync="requestSetting.postScript"></scriptTestButton> -->
|
108
79
|
</th>
|
109
|
-
<td colspan="
|
80
|
+
<td colspan="5">
|
110
81
|
<el-form-item
|
111
82
|
prop="paramValue"
|
112
83
|
:rules="[{ required: false, trigger: 'blur' }]"
|
@@ -118,20 +89,37 @@
|
|
118
89
|
size="small"
|
119
90
|
v-model="logicParam.paramValue"
|
120
91
|
clearable
|
121
|
-
v-if="logicParam.paramType !== 2"
|
122
92
|
></el-input>
|
123
|
-
<template v-else>
|
124
|
-
<code-editor
|
125
|
-
mode="json"
|
126
|
-
:readonly="!1"
|
127
|
-
v-model="logicParam.paramValue"
|
128
|
-
v-if="showCodeEditor"
|
129
|
-
></code-editor>
|
130
|
-
</template>
|
131
93
|
</el-form-item>
|
132
94
|
</td>
|
133
95
|
</tr>
|
134
|
-
|
96
|
+
<tr>
|
97
|
+
<th>{{ $t1("参数备注") }}</th>
|
98
|
+
<td colspan="5">
|
99
|
+
<el-input
|
100
|
+
type="textarea"
|
101
|
+
:rows="2"
|
102
|
+
:placeholder="$t1('请输入内容')"
|
103
|
+
size="small"
|
104
|
+
v-model="logicParam.remark"
|
105
|
+
clearable
|
106
|
+
></el-input>
|
107
|
+
</td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<th>{{ $t1("是否启用") }}</th>
|
111
|
+
<td>
|
112
|
+
<el-form-item
|
113
|
+
prop="enabled"
|
114
|
+
:rules="[{ required: false, trigger: 'blur' }]"
|
115
|
+
>
|
116
|
+
<el-radio-group v-model="logicParam.enabled">
|
117
|
+
<el-radio :label="true">{{ $t1("启用") }}</el-radio>
|
118
|
+
<el-radio :label="false">{{ $t1("禁用") }}</el-radio>
|
119
|
+
</el-radio-group>
|
120
|
+
</el-form-item>
|
121
|
+
</td>
|
122
|
+
</tr>
|
135
123
|
<tr>
|
136
124
|
<th>{{ $t1("创建人") }}</th>
|
137
125
|
<td>{{ logicParam.createBy }}</td>
|
@@ -151,115 +139,8 @@
|
|
151
139
|
</template>
|
152
140
|
|
153
141
|
<script>
|
142
|
+
import editMixin from "./mixins/edit.js";
|
154
143
|
export default {
|
155
|
-
|
156
|
-
props: {
|
157
|
-
_dataId: [String, Number],
|
158
|
-
copyId: [String, Number],
|
159
|
-
paramType: {
|
160
|
-
type: Number,
|
161
|
-
default: 0,
|
162
|
-
},
|
163
|
-
},
|
164
|
-
components: {},
|
165
|
-
data() {
|
166
|
-
return {
|
167
|
-
isEdit: false,
|
168
|
-
tabIndex: "first",
|
169
|
-
dataId: "",
|
170
|
-
logicParam: {
|
171
|
-
enabled: true,
|
172
|
-
paramValue: null,
|
173
|
-
paramType: this.paramType,
|
174
|
-
},
|
175
|
-
showCodeEditor: false,
|
176
|
-
paramTypeMap: {
|
177
|
-
0: "逻辑参数",
|
178
|
-
1: "操作日志编码",
|
179
|
-
2: "上传文件服务",
|
180
|
-
},
|
181
|
-
};
|
182
|
-
},
|
183
|
-
computed: {
|
184
|
-
valueInputType() {
|
185
|
-
let paramType = this.logicParam.paramType;
|
186
|
-
let result = "text";
|
187
|
-
if (paramType == 2) {
|
188
|
-
return "json";
|
189
|
-
}
|
190
|
-
},
|
191
|
-
title() {
|
192
|
-
let paramType = this.logicParam.paramType;
|
193
|
-
let label = this.paramTypeMap[paramType];
|
194
|
-
let title = !!this.dataId ? `查看${label}` : `新增${label}`;
|
195
|
-
return this.$t1(title);
|
196
|
-
},
|
197
|
-
},
|
198
|
-
created() {
|
199
|
-
if (this._dataId && !isNaN(this._dataId)) this.dataId = this._dataId;
|
200
|
-
},
|
201
|
-
mounted() {
|
202
|
-
this.getData();
|
203
|
-
},
|
204
|
-
methods: {
|
205
|
-
getData() {
|
206
|
-
if (this.copyId) {
|
207
|
-
return;
|
208
|
-
}
|
209
|
-
if (this.dataId && !isNaN(this.dataId)) {
|
210
|
-
this.isEdit = true;
|
211
|
-
this.$commonHttp({
|
212
|
-
url: USER_PREFIX + `/logic_param/get`,
|
213
|
-
method: `post`,
|
214
|
-
data: {
|
215
|
-
id: this.dataId,
|
216
|
-
},
|
217
|
-
isLoading: true,
|
218
|
-
modalStrictly: true,
|
219
|
-
success: (res) => {
|
220
|
-
this.logicParam = res.objx || {};
|
221
|
-
this.showCodeEditor = true;
|
222
|
-
},
|
223
|
-
});
|
224
|
-
} else {
|
225
|
-
this.showCodeEditor = true;
|
226
|
-
}
|
227
|
-
},
|
228
|
-
saveData() {
|
229
|
-
this.$refs.editForm.$baseValidate((valid) => {
|
230
|
-
if (valid) {
|
231
|
-
this.$baseConfirm(this.$t1("您确定要保存吗?")).then(() => {
|
232
|
-
var url =
|
233
|
-
USER_PREFIX + (this.isEdit ? `/logic_param/update` : `/logic_param/save`);
|
234
|
-
this.$http({
|
235
|
-
url: url,
|
236
|
-
method: `post`,
|
237
|
-
data: this.logicParam,
|
238
|
-
isLoading: true,
|
239
|
-
success: (res) => {
|
240
|
-
this.$message({
|
241
|
-
message: res.content,
|
242
|
-
type: "success",
|
243
|
-
duration: 500,
|
244
|
-
onClose: (t) => {
|
245
|
-
if (this.isEdit) {
|
246
|
-
this.$baseReload();
|
247
|
-
} else {
|
248
|
-
this.$baseReload({
|
249
|
-
updateParam: {
|
250
|
-
_dataId: res.objx,
|
251
|
-
copyId: null,
|
252
|
-
},
|
253
|
-
});
|
254
|
-
}
|
255
|
-
},
|
256
|
-
});
|
257
|
-
},
|
258
|
-
});
|
259
|
-
});
|
260
|
-
}
|
261
|
-
});
|
262
|
-
},
|
263
|
-
},
|
144
|
+
mixins: [editMixin],
|
264
145
|
};
|
265
146
|
</script>
|
@@ -0,0 +1,106 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="detail-wrap">
|
3
|
+
<el-form ref="editForm" :model="logicParam">
|
4
|
+
<div class="d-header clearfix">
|
5
|
+
<div class="fl">
|
6
|
+
<i class="el-icon-info" />
|
7
|
+
{{ dataId ? $t1("查看操作日志编码") : $t1("新增操作日志编码") }}
|
8
|
+
</div>
|
9
|
+
<div class="fr">
|
10
|
+
<el-button
|
11
|
+
type="primary"
|
12
|
+
plain
|
13
|
+
class="button-sty"
|
14
|
+
@click="$baseReload()"
|
15
|
+
icon="el-icon-refresh-right"
|
16
|
+
>
|
17
|
+
{{ $t1("重置") }}
|
18
|
+
</el-button>
|
19
|
+
<el-button
|
20
|
+
type="primary"
|
21
|
+
class="button-sty"
|
22
|
+
icon="el-icon-check"
|
23
|
+
@click="saveData"
|
24
|
+
>{{ $t1("保存") }}
|
25
|
+
</el-button>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div class="d-cont">
|
29
|
+
<div class="d-item">
|
30
|
+
<div class="title first">
|
31
|
+
<b>{{ $t1("基本信息") }}</b>
|
32
|
+
</div>
|
33
|
+
<table class="table-detail">
|
34
|
+
<tbody>
|
35
|
+
<tr>
|
36
|
+
<th>
|
37
|
+
<em class="f-red">*</em>
|
38
|
+
{{ $t1("参数值") }}
|
39
|
+
</th>
|
40
|
+
<td colspan="5">
|
41
|
+
<el-form-item
|
42
|
+
prop="paramValue"
|
43
|
+
:rules="[{ required: true, trigger: 'blur' }]"
|
44
|
+
>
|
45
|
+
<el-input
|
46
|
+
type="textarea"
|
47
|
+
:rows="2"
|
48
|
+
:placeholder="$t1('请输入内容')"
|
49
|
+
size="small"
|
50
|
+
v-model="logicParam.paramValue"
|
51
|
+
clearable
|
52
|
+
></el-input>
|
53
|
+
</el-form-item>
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
<tr>
|
57
|
+
<th>{{ $t1("参数备注") }}</th>
|
58
|
+
<td colspan="5">
|
59
|
+
<el-input
|
60
|
+
type="textarea"
|
61
|
+
:rows="2"
|
62
|
+
:placeholder="$t1('请输入内容')"
|
63
|
+
size="small"
|
64
|
+
v-model="logicParam.remark"
|
65
|
+
clearable
|
66
|
+
></el-input>
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
<tr>
|
70
|
+
<th>{{ $t1("是否启用") }}</th>
|
71
|
+
<td>
|
72
|
+
<el-form-item
|
73
|
+
prop="enabled"
|
74
|
+
:rules="[{ required: false, trigger: 'blur' }]"
|
75
|
+
>
|
76
|
+
<el-radio-group v-model="logicParam.enabled">
|
77
|
+
<el-radio :label="true">{{ $t1("启用") }}</el-radio>
|
78
|
+
<el-radio :label="false">{{ $t1("禁用") }}</el-radio>
|
79
|
+
</el-radio-group>
|
80
|
+
</el-form-item>
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<th>{{ $t1("创建人") }}</th>
|
85
|
+
<td>{{ logicParam.createBy }}</td>
|
86
|
+
<th>{{ $t1("创建时间") }}</th>
|
87
|
+
<td>{{ logicParam.createDate }}</td>
|
88
|
+
<th>{{ $t1("更新人") }}</th>
|
89
|
+
<td>{{ logicParam.modifyBy }}</td>
|
90
|
+
<th>{{ $t1("更新时间") }}</th>
|
91
|
+
<td>{{ logicParam.modifyDate }}</td>
|
92
|
+
</tr>
|
93
|
+
</tbody>
|
94
|
+
</table>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
</el-form>
|
98
|
+
</div>
|
99
|
+
</template>
|
100
|
+
|
101
|
+
<script>
|
102
|
+
import editMixin from "./mixins/edit.js";
|
103
|
+
export default {
|
104
|
+
mixins: [editMixin],
|
105
|
+
};
|
106
|
+
</script>
|
@@ -0,0 +1,122 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="detail-wrap">
|
3
|
+
<el-form ref="editForm" :model="logicParam">
|
4
|
+
<div class="d-header clearfix">
|
5
|
+
<div class="fl">
|
6
|
+
<i class="el-icon-info" />
|
7
|
+
{{ dataId ? $t1("查看上传文件服务") : $t1("新增上传文件服务") }}
|
8
|
+
</div>
|
9
|
+
<div class="fr">
|
10
|
+
<el-button
|
11
|
+
type="primary"
|
12
|
+
plain
|
13
|
+
class="button-sty"
|
14
|
+
@click="$baseReload()"
|
15
|
+
icon="el-icon-refresh-right"
|
16
|
+
>
|
17
|
+
{{ $t1("重置") }}
|
18
|
+
</el-button>
|
19
|
+
<el-button
|
20
|
+
type="primary"
|
21
|
+
class="button-sty"
|
22
|
+
icon="el-icon-check"
|
23
|
+
@click="saveData"
|
24
|
+
>{{ $t1("保存") }}
|
25
|
+
</el-button>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div class="d-cont">
|
29
|
+
<div class="d-item">
|
30
|
+
<div class="title first">
|
31
|
+
<b>{{ $t1("基本信息") }}</b>
|
32
|
+
</div>
|
33
|
+
<table class="table-detail">
|
34
|
+
<tbody>
|
35
|
+
<tr>
|
36
|
+
<th>
|
37
|
+
<em class="f-red">*</em>
|
38
|
+
{{ $t1("参数编码") }}
|
39
|
+
</th>
|
40
|
+
<td colspan="5">
|
41
|
+
<el-form-item
|
42
|
+
prop="paramCode"
|
43
|
+
:rules="[{ required: true, trigger: 'blur' }]"
|
44
|
+
>
|
45
|
+
<el-input
|
46
|
+
type="text"
|
47
|
+
autocomplete="off"
|
48
|
+
v-model="logicParam.paramCode"
|
49
|
+
clearable
|
50
|
+
/>
|
51
|
+
</el-form-item>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<th>
|
56
|
+
{{ $t1("参数值") }}
|
57
|
+
</th>
|
58
|
+
<td colspan="7">
|
59
|
+
<el-form-item
|
60
|
+
prop="paramValue"
|
61
|
+
:rules="[{ required: false, trigger: 'blur' }]"
|
62
|
+
>
|
63
|
+
<code-editor
|
64
|
+
mode="json"
|
65
|
+
:readonly="!1"
|
66
|
+
v-model="logicParam.paramValue"
|
67
|
+
v-if="showCodeEditor"
|
68
|
+
></code-editor>
|
69
|
+
</el-form-item>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<th>{{ $t1("参数备注") }}</th>
|
74
|
+
<td colspan="7">
|
75
|
+
<el-input
|
76
|
+
type="textarea"
|
77
|
+
:rows="2"
|
78
|
+
:placeholder="$t1('请输入内容')"
|
79
|
+
size="small"
|
80
|
+
v-model="logicParam.remark"
|
81
|
+
clearable
|
82
|
+
></el-input>
|
83
|
+
</td>
|
84
|
+
</tr>
|
85
|
+
<tr>
|
86
|
+
<th>{{ $t1("是否启用") }}</th>
|
87
|
+
<td>
|
88
|
+
<el-form-item
|
89
|
+
prop="enabled"
|
90
|
+
:rules="[{ required: false, trigger: 'blur' }]"
|
91
|
+
>
|
92
|
+
<el-radio-group v-model="logicParam.enabled">
|
93
|
+
<el-radio :label="true">{{ $t1("启用") }}</el-radio>
|
94
|
+
<el-radio :label="false">{{ $t1("禁用") }}</el-radio>
|
95
|
+
</el-radio-group>
|
96
|
+
</el-form-item>
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<th>{{ $t1("创建人") }}</th>
|
101
|
+
<td>{{ logicParam.createBy }}</td>
|
102
|
+
<th>{{ $t1("创建时间") }}</th>
|
103
|
+
<td>{{ logicParam.createDate }}</td>
|
104
|
+
<th>{{ $t1("更新人") }}</th>
|
105
|
+
<td>{{ logicParam.modifyBy }}</td>
|
106
|
+
<th>{{ $t1("更新时间") }}</th>
|
107
|
+
<td>{{ logicParam.modifyDate }}</td>
|
108
|
+
</tr>
|
109
|
+
</tbody>
|
110
|
+
</table>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
</el-form>
|
114
|
+
</div>
|
115
|
+
</template>
|
116
|
+
|
117
|
+
<script>
|
118
|
+
import editMixin from "./mixins/edit.js";
|
119
|
+
export default {
|
120
|
+
mixins: [editMixin],
|
121
|
+
};
|
122
|
+
</script>
|
@@ -2,15 +2,16 @@
|
|
2
2
|
<div id="containt">
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
4
4
|
<el-tab-pane :label="$t1('常规')" name="first">
|
5
|
-
<
|
5
|
+
<component
|
6
6
|
v-if="showEdit"
|
7
|
+
:is="editViewName"
|
7
8
|
visible-key="showEdit"
|
8
9
|
:_dataId.sync="dataId"
|
9
10
|
:copyId.sync="copyId"
|
10
11
|
:parent-target="_self"
|
11
12
|
@reload="$reloadHandle"
|
12
13
|
:paramType="paramType"
|
13
|
-
></
|
14
|
+
></component>
|
14
15
|
</el-tab-pane>
|
15
16
|
<el-tab-pane :label="$t1('列表')" name="second">
|
16
17
|
<div class="grid-height">
|
@@ -65,193 +66,9 @@
|
|
65
66
|
</template>
|
66
67
|
|
67
68
|
<script>
|
68
|
-
import
|
69
|
-
import tableForm from "@base/components/table/tableForm.vue";
|
70
|
-
|
69
|
+
import listMixin from "./mixins/list";
|
71
70
|
export default {
|
72
71
|
name: "logic_param:list",
|
73
|
-
|
74
|
-
paramType: {
|
75
|
-
type: Number,
|
76
|
-
default: 0,
|
77
|
-
},
|
78
|
-
},
|
79
|
-
components: { tableForm, editView },
|
80
|
-
data() {
|
81
|
-
return {
|
82
|
-
activeName: "second",
|
83
|
-
dataId: 0,
|
84
|
-
showEdit: false,
|
85
|
-
vxeOption: {},
|
86
|
-
formData: {},
|
87
|
-
};
|
88
|
-
},
|
89
|
-
mounted() {
|
90
|
-
this.initTableList();
|
91
|
-
},
|
92
|
-
methods: {
|
93
|
-
searchEvent() {
|
94
|
-
this.$refs["table-m1"].commitProxy("reload");
|
95
|
-
},
|
96
|
-
resetEvent() {
|
97
|
-
this.formData = {};
|
98
|
-
this.advancedFormData = {};
|
99
|
-
this.$refs["table-m1"].commitProxy("reload");
|
100
|
-
},
|
101
|
-
openEditDialog(id) {
|
102
|
-
this.copyId = 0;
|
103
|
-
this.dataId = !id || typeof id == "object" ? 0 : id;
|
104
|
-
this.activeName = "first";
|
105
|
-
this.$openEditView("showEdit");
|
106
|
-
},
|
107
|
-
initTableList() {
|
108
|
-
let that = this;
|
109
|
-
let otherColumns = [];
|
110
|
-
let otherSearchColumns = [];
|
111
|
-
if (this.paramType === 0) {
|
112
|
-
otherColumns = [
|
113
|
-
{
|
114
|
-
title: this.$t1("组织编码"),
|
115
|
-
field: "paramCompanyCode",
|
116
|
-
width: 150,
|
117
|
-
},
|
118
|
-
{
|
119
|
-
title: this.$t1("是否启用"),
|
120
|
-
field: "enabled",
|
121
|
-
width: 150,
|
122
|
-
slots: {
|
123
|
-
default: ({ row }) => {
|
124
|
-
if (row.enabled) {
|
125
|
-
return getJsxStatus(null, this.$t1("启用"));
|
126
|
-
} else {
|
127
|
-
return getJsxStatus("s-3", this.$t1("禁用"));
|
128
|
-
}
|
129
|
-
},
|
130
|
-
},
|
131
|
-
},
|
132
|
-
];
|
133
|
-
otherSearchColumns = [
|
134
|
-
{
|
135
|
-
title: this.$t1("组织编码"),
|
136
|
-
field: "paramCompanyCode",
|
137
|
-
type: "input",
|
138
|
-
common: true,
|
139
|
-
},
|
140
|
-
{
|
141
|
-
title: this.$t1("是否启用"),
|
142
|
-
field: "enabled",
|
143
|
-
type: "select",
|
144
|
-
itemOption: [
|
145
|
-
{
|
146
|
-
label: this.$t1("启用"),
|
147
|
-
value: true,
|
148
|
-
},
|
149
|
-
{
|
150
|
-
label: this.$t1("禁用"),
|
151
|
-
value: false,
|
152
|
-
},
|
153
|
-
],
|
154
|
-
common: true,
|
155
|
-
},
|
156
|
-
];
|
157
|
-
}
|
158
|
-
let tableOption = {
|
159
|
-
vue: this,
|
160
|
-
tableRef: "table-m1",
|
161
|
-
tableName: "logic_param_list-m" + this.paramType,
|
162
|
-
path: USER_PREFIX + "/logic_param/listPage",
|
163
|
-
param: () => {
|
164
|
-
return {
|
165
|
-
...this.formData,
|
166
|
-
paramType: this.paramType,
|
167
|
-
};
|
168
|
-
},
|
169
|
-
columns: [
|
170
|
-
{ type: "checkbox", width: 48, resizable: false, fixed: "left" },
|
171
|
-
{
|
172
|
-
title: this.$t1("参数编码"),
|
173
|
-
field: "paramCode",
|
174
|
-
width: 150,
|
175
|
-
fixed: "left",
|
176
|
-
},
|
177
|
-
{
|
178
|
-
title: this.$t1("参数备注"),
|
179
|
-
field: "remark",
|
180
|
-
width: 150,
|
181
|
-
},
|
182
|
-
...otherColumns,
|
183
|
-
{
|
184
|
-
field: "createBy",
|
185
|
-
title: this.$t1("创建人"),
|
186
|
-
width: 150,
|
187
|
-
},
|
188
|
-
{
|
189
|
-
field: "createDate",
|
190
|
-
title: this.$t1("创建时间"),
|
191
|
-
width: 150,
|
192
|
-
},
|
193
|
-
{
|
194
|
-
field: "modifyBy",
|
195
|
-
title: this.$t1("更新人"),
|
196
|
-
width: 150,
|
197
|
-
},
|
198
|
-
{
|
199
|
-
field: "modifyDate",
|
200
|
-
title: this.$t1("更新时间"),
|
201
|
-
width: 150,
|
202
|
-
},
|
203
|
-
{
|
204
|
-
width: 47,
|
205
|
-
fixed: "right",
|
206
|
-
title: "",
|
207
|
-
sortable: false,
|
208
|
-
slots: {
|
209
|
-
default: ({ row }) => {
|
210
|
-
return [
|
211
|
-
<div>
|
212
|
-
<a
|
213
|
-
href="javascript:void(0);"
|
214
|
-
class="a-link"
|
215
|
-
onclick={() => {
|
216
|
-
this.openEditDialog(row.id);
|
217
|
-
}}
|
218
|
-
>
|
219
|
-
<el-tooltip
|
220
|
-
enterable={false}
|
221
|
-
effect="dark"
|
222
|
-
content={this.$t1("查看")}
|
223
|
-
placement="top"
|
224
|
-
popper-class="tooltip-skin"
|
225
|
-
>
|
226
|
-
<i class="el-icon-edit" />
|
227
|
-
</el-tooltip>
|
228
|
-
</a>
|
229
|
-
</div>,
|
230
|
-
];
|
231
|
-
},
|
232
|
-
},
|
233
|
-
},
|
234
|
-
],
|
235
|
-
searchColumns: [
|
236
|
-
{
|
237
|
-
title: this.$t1("参数编码"),
|
238
|
-
field: "paramCode",
|
239
|
-
type: "input",
|
240
|
-
common: true,
|
241
|
-
},
|
242
|
-
{
|
243
|
-
title: this.$t1("参数备注"),
|
244
|
-
field: "remark",
|
245
|
-
type: "input",
|
246
|
-
common: true,
|
247
|
-
},
|
248
|
-
...otherSearchColumns,
|
249
|
-
],
|
250
|
-
};
|
251
|
-
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
252
|
-
this.vxeOption = opts;
|
253
|
-
});
|
254
|
-
},
|
255
|
-
},
|
72
|
+
mixins: [listMixin],
|
256
73
|
};
|
257
74
|
</script>
|