cloud-web-corejs 1.0.54-dev.593 → 1.0.54-dev.594
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/formOplog/mixins.js +85 -80
- package/src/views/bd/setting/formVersion/button.vue +55 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +384 -0
- package/src/views/bd/setting/formVersion/reverButton.vue +66 -0
- package/src/views/bd/setting/form_script/edit.vue +148 -82
- package/src/views/bd/setting/form_script/edit1.vue +326 -220
- package/src/views/bd/setting/form_script/mixins/edit.js +221 -207
- package/src/views/bd/setting/form_script/mixins/edit1.js +215 -201
- package/src/views/bd/setting/form_template/edit.vue +305 -205
- package/src/views/bd/setting/form_template/mixins/edit.js +19 -3
- package/src/views/bd/setting/table_model/edit.vue +383 -378
- package/src/views/bd/setting/table_model/mixins/edit.js +17 -4
|
@@ -3,17 +3,32 @@
|
|
|
3
3
|
<el-form ref="editForm" :model="szTaMb">
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
|
-
<i class="el-icon-info"/>
|
|
6
|
+
<i class="el-icon-info" />
|
|
7
7
|
{{ dataId ? $t1("查看数据表定义模板") : $t1("新增数据表定义模板") }}
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
+
<formVersionButton
|
|
11
|
+
v-if="!hData && szTaMb.id && !readonly"
|
|
12
|
+
objType="SzTaMb"
|
|
13
|
+
:objCode="szTaMb.taCode"
|
|
14
|
+
@reverCallback="$baseReload()"
|
|
15
|
+
></formVersionButton>
|
|
16
|
+
<reverButton
|
|
17
|
+
v-if="!!hData"
|
|
18
|
+
objType="SzTaMb"
|
|
19
|
+
:objCode="szTaMb.taCode"
|
|
20
|
+
:hData="hData"
|
|
21
|
+
@reverCallback="$emit('reverCallback')"
|
|
22
|
+
></reverButton>
|
|
10
23
|
<el-button
|
|
11
24
|
type="primary"
|
|
12
25
|
plain
|
|
13
26
|
class="button-sty"
|
|
14
27
|
icon="el-icon-set-up"
|
|
15
28
|
@click="openOtherAuthDialog"
|
|
16
|
-
v-if="
|
|
29
|
+
v-if="
|
|
30
|
+
isDev && !!dataId && menuKindAuth.editAuth === 1 && !readonly && !otherFlag
|
|
31
|
+
"
|
|
17
32
|
>
|
|
18
33
|
{{ $t1("分派") }}
|
|
19
34
|
</el-button>
|
|
@@ -44,10 +59,7 @@
|
|
|
44
59
|
icon="el-icon-check"
|
|
45
60
|
@click="createModifyTable()"
|
|
46
61
|
v-if="
|
|
47
|
-
!szTaMb.systems &&
|
|
48
|
-
szTaMb.id &&
|
|
49
|
-
menuKindAuth.editAuth === 1 &&
|
|
50
|
-
!readonly
|
|
62
|
+
!szTaMb.systems && szTaMb.id && menuKindAuth.editAuth === 1 && !readonly
|
|
51
63
|
"
|
|
52
64
|
>
|
|
53
65
|
{{ $t1("创建/更新数据表") }}
|
|
@@ -66,12 +78,7 @@
|
|
|
66
78
|
class="button-sty"
|
|
67
79
|
icon="el-icon-check"
|
|
68
80
|
@click="saveData"
|
|
69
|
-
v-if="
|
|
70
|
-
isDev &&
|
|
71
|
-
!szTaMb.systems &&
|
|
72
|
-
menuKindAuth.editAuth === 1 &&
|
|
73
|
-
!readonly
|
|
74
|
-
"
|
|
81
|
+
v-if="isDev && !szTaMb.systems && menuKindAuth.editAuth === 1 && !readonly"
|
|
75
82
|
>
|
|
76
83
|
{{ $t1("保存") }}
|
|
77
84
|
</el-button>
|
|
@@ -82,233 +89,245 @@
|
|
|
82
89
|
<template #default>
|
|
83
90
|
<table class="table-detail">
|
|
84
91
|
<tbody>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
92
|
+
<tr>
|
|
93
|
+
<th>{{ $t1("数据库表名") }}</th>
|
|
94
|
+
<td colspan="3">
|
|
95
|
+
<el-form-item
|
|
96
|
+
prop="taBm"
|
|
97
|
+
:rules="[{ required: false, trigger: ['blur', 'change'] }]"
|
|
98
|
+
>
|
|
99
|
+
<el-input
|
|
100
|
+
type="text"
|
|
101
|
+
autocomplete="off"
|
|
102
|
+
v-model="szTaMb.taBm"
|
|
103
|
+
clearable
|
|
104
|
+
:disabled="!!dataId"
|
|
105
|
+
/>
|
|
106
|
+
</el-form-item>
|
|
107
|
+
</td>
|
|
108
|
+
</tr>
|
|
109
|
+
<tr>
|
|
110
|
+
<th class="no"></th>
|
|
111
|
+
<td colspan="7">
|
|
112
|
+
<span class="fl tips">{{
|
|
113
|
+
$t1(
|
|
114
|
+
"注:数据库表名必须定义为:1、与实体名称一样,2、表单分类数据表前缀_实体名称,3、不填自动生成:表单分类数据表前缀_实体名称。"
|
|
115
|
+
)
|
|
98
116
|
}}</span>
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
117
|
+
</td>
|
|
118
|
+
</tr>
|
|
119
|
+
<tr>
|
|
120
|
+
<th>
|
|
121
|
+
<em class="f-red">*</em>
|
|
122
|
+
{{ $t1("实体名称") }}
|
|
123
|
+
</th>
|
|
124
|
+
<td colspan="3">
|
|
125
|
+
<el-form-item
|
|
126
|
+
prop="taEn"
|
|
127
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
|
128
|
+
>
|
|
129
|
+
<el-input
|
|
130
|
+
type="text"
|
|
131
|
+
autocomplete="off"
|
|
132
|
+
v-model="szTaMb.taEn"
|
|
133
|
+
clearable
|
|
134
|
+
/>
|
|
135
|
+
</el-form-item>
|
|
136
|
+
</td>
|
|
137
|
+
</tr>
|
|
138
|
+
<tr>
|
|
139
|
+
<th><em class="f-red">*</em>{{ $t1("表描述") }}</th>
|
|
140
|
+
<td colspan="5">
|
|
141
|
+
<el-form-item
|
|
142
|
+
prop="taCh"
|
|
143
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
|
144
|
+
>
|
|
145
|
+
<el-input
|
|
146
|
+
type="text"
|
|
147
|
+
autocomplete="off"
|
|
148
|
+
v-model="szTaMb.taCh"
|
|
149
|
+
clearable
|
|
150
|
+
/>
|
|
151
|
+
</el-form-item>
|
|
152
|
+
</td>
|
|
153
|
+
</tr>
|
|
154
|
+
<tr>
|
|
155
|
+
<th><em class="f-red">*</em>{{ $t1("是否明细") }}</th>
|
|
156
|
+
<td>
|
|
157
|
+
<el-form-item
|
|
158
|
+
prop="taType"
|
|
159
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
|
160
|
+
>
|
|
161
|
+
<el-radio-group v-model="szTaMb.taType">
|
|
162
|
+
<el-radio :label="1">{{ $t1("是") }}</el-radio>
|
|
163
|
+
<el-radio :label="0">{{ $t1("否") }}</el-radio>
|
|
164
|
+
</el-radio-group>
|
|
165
|
+
</el-form-item>
|
|
166
|
+
</td>
|
|
167
|
+
<th>
|
|
168
|
+
<em class="f-red" v-show="szTaMb.taType === 1">*</em>
|
|
169
|
+
{{ $t1("所属主实体") }}
|
|
170
|
+
</th>
|
|
171
|
+
<td colspan="3">
|
|
172
|
+
<el-form-item
|
|
173
|
+
prop="sszstEn"
|
|
174
|
+
:rules="[
|
|
157
175
|
{
|
|
158
176
|
required: szTaMb.taType === 1,
|
|
159
177
|
trigger: ['blur', 'change'],
|
|
160
178
|
},
|
|
161
179
|
]"
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
180
|
+
>
|
|
181
|
+
<el-input
|
|
182
|
+
class="search-input"
|
|
183
|
+
max="200"
|
|
184
|
+
v-model="szTaMb.sszstEn"
|
|
185
|
+
@clear="
|
|
168
186
|
szTaMb.sszst = null;
|
|
169
187
|
szTaMb.sszstBm = null;
|
|
170
188
|
$forceUpdate();
|
|
171
189
|
"
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
190
|
+
:disabled="szTaMb.taType == 0"
|
|
191
|
+
v-el-readonly
|
|
192
|
+
clearable
|
|
193
|
+
>
|
|
194
|
+
<i
|
|
195
|
+
slot="suffix"
|
|
196
|
+
class="el-input__icon el-icon-search"
|
|
197
|
+
@click="showSzTaMbDialog = true"
|
|
198
|
+
></i>
|
|
199
|
+
</el-input>
|
|
200
|
+
</el-form-item>
|
|
201
|
+
</td>
|
|
202
|
+
</tr>
|
|
203
|
+
<tr>
|
|
204
|
+
<th><em class="f-red">*</em>{{ $t1("是否树结构") }}</th>
|
|
205
|
+
<td>
|
|
206
|
+
<el-form-item
|
|
207
|
+
prop="taRule"
|
|
208
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
|
175
209
|
>
|
|
176
|
-
<
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
<td>
|
|
188
|
-
<el-form-item
|
|
189
|
-
prop="taRule"
|
|
190
|
-
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
|
191
|
-
>
|
|
192
|
-
<el-radio-group
|
|
193
|
-
v-model="szTaMb.taRule"
|
|
194
|
-
@change="changeTaRule"
|
|
210
|
+
<el-radio-group v-model="szTaMb.taRule" @change="changeTaRule">
|
|
211
|
+
<el-radio :label="1">{{ $t1("是") }}</el-radio>
|
|
212
|
+
<el-radio :label="0">{{ $t1("否") }}</el-radio>
|
|
213
|
+
</el-radio-group>
|
|
214
|
+
</el-form-item>
|
|
215
|
+
</td>
|
|
216
|
+
<th><em class="f-red">*</em>{{ $t1("数据范围") }}</th>
|
|
217
|
+
<td colspan="3">
|
|
218
|
+
<el-form-item
|
|
219
|
+
prop="dataRange"
|
|
220
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
|
195
221
|
>
|
|
196
|
-
<el-radio
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
</td>
|
|
213
|
-
</tr>
|
|
214
|
-
<tr>
|
|
215
|
-
<th>
|
|
216
|
-
<em class="f-red">*</em>
|
|
217
|
-
{{ $t1("表单分类") }}
|
|
218
|
-
</th>
|
|
219
|
-
<td colspan="5">
|
|
220
|
-
<el-form-item
|
|
221
|
-
prop="menuKindName"
|
|
222
|
-
:rules="[
|
|
222
|
+
<el-radio-group v-model="szTaMb.dataRange">
|
|
223
|
+
<el-radio :label="1">{{ $t1("集团") }}</el-radio>
|
|
224
|
+
<el-radio :label="0">{{ $t1("当前组织") }}</el-radio>
|
|
225
|
+
</el-radio-group>
|
|
226
|
+
</el-form-item>
|
|
227
|
+
</td>
|
|
228
|
+
</tr>
|
|
229
|
+
<tr>
|
|
230
|
+
<th>
|
|
231
|
+
<em class="f-red">*</em>
|
|
232
|
+
{{ $t1("表单分类") }}
|
|
233
|
+
</th>
|
|
234
|
+
<td colspan="5">
|
|
235
|
+
<el-form-item
|
|
236
|
+
prop="menuKindName"
|
|
237
|
+
:rules="[
|
|
223
238
|
{
|
|
224
239
|
required: true,
|
|
225
240
|
trigger: ['blur', 'change'],
|
|
226
241
|
},
|
|
227
242
|
]"
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
243
|
+
>
|
|
244
|
+
<el-input
|
|
245
|
+
class="search-input"
|
|
246
|
+
max="200"
|
|
247
|
+
v-model="szTaMb.menuKindName"
|
|
248
|
+
@clear="
|
|
234
249
|
szTaMb.menuKindCode = '';
|
|
235
250
|
$forceUpdate();
|
|
236
251
|
"
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
252
|
+
v-el-readonly
|
|
253
|
+
clearable
|
|
254
|
+
:disabled="otherFlag"
|
|
255
|
+
>
|
|
256
|
+
<i
|
|
257
|
+
slot="suffix"
|
|
258
|
+
class="el-input__icon el-icon-search"
|
|
259
|
+
@click="showMenuKindDialog = true"
|
|
260
|
+
></i>
|
|
261
|
+
</el-input>
|
|
262
|
+
</el-form-item>
|
|
263
|
+
</td>
|
|
264
|
+
</tr>
|
|
265
|
+
<tr>
|
|
266
|
+
<th>
|
|
267
|
+
{{ $t1("项目标签") }}
|
|
268
|
+
</th>
|
|
269
|
+
<td colspan="7">
|
|
270
|
+
<projectTagView v-model="szTaMb.szTaMbTagDTOs"></projectTagView>
|
|
271
|
+
</td>
|
|
272
|
+
</tr>
|
|
273
|
+
<tr>
|
|
274
|
+
<th>{{ $t1("是否启用") }}</th>
|
|
275
|
+
<td>
|
|
276
|
+
<el-form-item
|
|
277
|
+
prop="enabled"
|
|
278
|
+
:rules="[{ required: false, trigger: 'blur' }]"
|
|
240
279
|
>
|
|
241
|
-
<
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
v-model="szTaMb.szTaMbTagDTOs"
|
|
257
|
-
></projectTagView>
|
|
258
|
-
</td>
|
|
259
|
-
</tr>
|
|
260
|
-
<tr>
|
|
261
|
-
<th>{{ $t1('是否启用') }}</th>
|
|
262
|
-
<td>
|
|
263
|
-
<el-form-item prop="enabled" :rules="[{ required: false, trigger: 'blur' }]">
|
|
264
|
-
<el-radio-group v-model="szTaMb.enabled">
|
|
265
|
-
<el-radio :label="true">{{ $t1('启用') }}</el-radio>
|
|
266
|
-
<el-radio :label="false">{{ $t1('禁用') }}</el-radio>
|
|
267
|
-
</el-radio-group>
|
|
268
|
-
</el-form-item>
|
|
269
|
-
</td>
|
|
270
|
-
</tr>
|
|
271
|
-
<tr>
|
|
272
|
-
<th>
|
|
273
|
-
{{ $t1("服务名") }}
|
|
274
|
-
</th>
|
|
275
|
-
<td colspan="7">
|
|
276
|
-
{{ szTaMb.serviceName }}
|
|
277
|
-
</td>
|
|
278
|
-
</tr>
|
|
280
|
+
<el-radio-group v-model="szTaMb.enabled">
|
|
281
|
+
<el-radio :label="true">{{ $t1("启用") }}</el-radio>
|
|
282
|
+
<el-radio :label="false">{{ $t1("禁用") }}</el-radio>
|
|
283
|
+
</el-radio-group>
|
|
284
|
+
</el-form-item>
|
|
285
|
+
</td>
|
|
286
|
+
</tr>
|
|
287
|
+
<tr>
|
|
288
|
+
<th>
|
|
289
|
+
{{ $t1("服务名") }}
|
|
290
|
+
</th>
|
|
291
|
+
<td colspan="7">
|
|
292
|
+
{{ szTaMb.serviceName }}
|
|
293
|
+
</td>
|
|
294
|
+
</tr>
|
|
279
295
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
296
|
+
<tr>
|
|
297
|
+
<th>
|
|
298
|
+
{{ $t1("唯一标识") }}
|
|
299
|
+
</th>
|
|
300
|
+
<td colspan="7">
|
|
301
|
+
{{ szTaMb.sid }}
|
|
302
|
+
</td>
|
|
303
|
+
</tr>
|
|
304
|
+
<tr>
|
|
305
|
+
<th>{{ $t1("创建人") }}</th>
|
|
306
|
+
<td>{{ szTaMb.createBy }}</td>
|
|
307
|
+
<th>{{ $t1("创建时间") }}</th>
|
|
308
|
+
<td>{{ szTaMb.createDate }}</td>
|
|
309
|
+
<th>{{ $t1("更新人") }}</th>
|
|
310
|
+
<td>{{ szTaMb.modifyBy }}</td>
|
|
311
|
+
<th>{{ $t1("更新时间") }}</th>
|
|
312
|
+
<td>{{ szTaMb.modifyDate }}</td>
|
|
313
|
+
</tr>
|
|
298
314
|
</tbody>
|
|
299
315
|
</table>
|
|
300
316
|
</template>
|
|
301
317
|
</baseTabPane>
|
|
302
318
|
<baseTabPane :label="$t1('数据表字段明细')">
|
|
303
319
|
<template #button>
|
|
320
|
+
<el-button class="button-sty" @click="addTaMbItems" icon="el-icon-plus"
|
|
321
|
+
>{{ $t1("新增") }}
|
|
322
|
+
</el-button>
|
|
304
323
|
<el-button
|
|
324
|
+
v-if="userFlag === 6"
|
|
325
|
+
type="primary"
|
|
305
326
|
class="button-sty"
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
</el-button
|
|
327
|
+
icon="el-icon-upload2"
|
|
328
|
+
@click="excelExport"
|
|
329
|
+
>导出</el-button
|
|
310
330
|
>
|
|
311
|
-
<el-button v-if="userFlag === 6" type="primary" class="button-sty" icon="el-icon-upload2" @click="excelExport">导出</el-button>
|
|
312
331
|
</template>
|
|
313
332
|
<template #default>
|
|
314
333
|
<div>
|
|
@@ -329,24 +348,12 @@
|
|
|
329
348
|
<el-option value="Boolean" :label="$t1('布尔')"></el-option>
|
|
330
349
|
<el-option value="Integer" :label="$t1('整数')"></el-option>
|
|
331
350
|
<el-option value="Long" :label="$t1('长整数')"></el-option>
|
|
332
|
-
<el-option
|
|
333
|
-
value="Decimal"
|
|
334
|
-
:label="$t1('精度小数')"
|
|
335
|
-
></el-option>
|
|
351
|
+
<el-option value="Decimal" :label="$t1('精度小数')"></el-option>
|
|
336
352
|
<el-option value="Money" :label="$t1('金额')"></el-option>
|
|
337
353
|
<el-option value="Text" :label="$t1('文本')"></el-option>
|
|
338
|
-
<el-option
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
></el-option>
|
|
342
|
-
<el-option
|
|
343
|
-
value="DateTime"
|
|
344
|
-
:label="$t1('日期时间')"
|
|
345
|
-
></el-option>
|
|
346
|
-
<el-option
|
|
347
|
-
value="Reference"
|
|
348
|
-
:label="$t1('关联表')"
|
|
349
|
-
></el-option>
|
|
354
|
+
<el-option value="TextArea" :label="$t1('长文本')"></el-option>
|
|
355
|
+
<el-option value="DateTime" :label="$t1('日期时间')"></el-option>
|
|
356
|
+
<el-option value="Reference" :label="$t1('关联表')"></el-option>
|
|
350
357
|
</el-select>
|
|
351
358
|
</template>
|
|
352
359
|
<template #zdLength="{ row, rowIndex }">
|
|
@@ -381,9 +388,7 @@
|
|
|
381
388
|
</template>
|
|
382
389
|
</template>
|
|
383
390
|
<template #zdEn="{ row, rowIndex }">
|
|
384
|
-
<template
|
|
385
|
-
v-if="!!row.systems || row.fromTable"
|
|
386
|
-
>
|
|
391
|
+
<template v-if="!!row.systems || row.fromTable">
|
|
387
392
|
<div>
|
|
388
393
|
{{ row.zdEn }}
|
|
389
394
|
</div>
|
|
@@ -394,8 +399,15 @@
|
|
|
394
399
|
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
|
395
400
|
:style="!!row.relationZd ? 'padding-left:20px' : ''"
|
|
396
401
|
>
|
|
397
|
-
<el-input
|
|
398
|
-
|
|
402
|
+
<el-input
|
|
403
|
+
v-model="row.zdEn"
|
|
404
|
+
@keydown.native="inputZdEn(row)"
|
|
405
|
+
@input="
|
|
406
|
+
(val) => {
|
|
407
|
+
changeZdEn(val, row);
|
|
408
|
+
}
|
|
409
|
+
"
|
|
410
|
+
/>
|
|
399
411
|
</el-form-item>
|
|
400
412
|
</template>
|
|
401
413
|
</template>
|
|
@@ -404,11 +416,7 @@
|
|
|
404
416
|
:prop="'szTaZdMbDTOs.' + rowIndex + '.zdCh'"
|
|
405
417
|
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
|
406
418
|
>
|
|
407
|
-
<el-input
|
|
408
|
-
v-model="row.zdCh"
|
|
409
|
-
clearable
|
|
410
|
-
:disabled="!!row.systems"
|
|
411
|
-
/>
|
|
419
|
+
<el-input v-model="row.zdCh" clearable :disabled="!!row.systems" />
|
|
412
420
|
</el-form-item>
|
|
413
421
|
</template>
|
|
414
422
|
<template #zdTypeValues="{ row, rowIndex }">
|
|
@@ -498,13 +506,16 @@
|
|
|
498
506
|
<el-select
|
|
499
507
|
v-model="row.treeFlag"
|
|
500
508
|
clearable
|
|
501
|
-
:disabled="!!row.systems || !!row.relationZd || szTaMb.taRule!==1"
|
|
509
|
+
:disabled="!!row.systems || !!row.relationZd || szTaMb.taRule !== 1"
|
|
502
510
|
>
|
|
503
511
|
<el-option value="name" :label="$t1('名称')"></el-option>
|
|
504
512
|
<el-option value="wbs" :label="$t1('WBS码')"></el-option>
|
|
505
513
|
<el-option value="parent" :label="$t1('上级ID')"></el-option>
|
|
506
514
|
<el-option value="treePath" :label="$t1('树ID路径')"></el-option>
|
|
507
|
-
<el-option
|
|
515
|
+
<el-option
|
|
516
|
+
value="treePathName"
|
|
517
|
+
:label="$t1('树名称路径')"
|
|
518
|
+
></el-option>
|
|
508
519
|
<el-option value="hasChild" :label="$t1('是否有下级')"></el-option>
|
|
509
520
|
<el-option value="grade" :label="$t1('层级')"></el-option>
|
|
510
521
|
</el-select>
|
|
@@ -513,24 +524,21 @@
|
|
|
513
524
|
</div>
|
|
514
525
|
<table class="table-detail">
|
|
515
526
|
<tbody>
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
527
|
+
<tr>
|
|
528
|
+
<th>
|
|
529
|
+
{{ $t1("表编码") }}
|
|
530
|
+
</th>
|
|
531
|
+
<td colspan="7">
|
|
532
|
+
{{ szTaMb.taCode }}
|
|
533
|
+
</td>
|
|
534
|
+
</tr>
|
|
524
535
|
</tbody>
|
|
525
536
|
</table>
|
|
526
537
|
</template>
|
|
527
538
|
</baseTabPane>
|
|
528
539
|
<baseTabPane :label="$t1('操作日志')">
|
|
529
540
|
<template #default>
|
|
530
|
-
<formOplogTable
|
|
531
|
-
:parent-target="_self"
|
|
532
|
-
ref="oplogTable"
|
|
533
|
-
></formOplogTable>
|
|
541
|
+
<formOplogTable :parent-target="_self" ref="oplogTable"></formOplogTable>
|
|
534
542
|
</template>
|
|
535
543
|
</baseTabPane>
|
|
536
544
|
</baseTabs>
|
|
@@ -570,86 +578,86 @@
|
|
|
570
578
|
<div id="containt">
|
|
571
579
|
<table class="table-detail">
|
|
572
580
|
<tbody>
|
|
573
|
-
|
|
574
|
-
|
|
581
|
+
<tr>
|
|
582
|
+
<th>
|
|
575
583
|
<span class="t">
|
|
576
584
|
{{ $t1("关联表") }}
|
|
577
585
|
</span>
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
+
</th>
|
|
587
|
+
<td>
|
|
588
|
+
<el-form-item label="">
|
|
589
|
+
<el-input
|
|
590
|
+
class="search-input"
|
|
591
|
+
max="200"
|
|
592
|
+
v-model="referenceEntity"
|
|
593
|
+
@clear="
|
|
586
594
|
referenceKey = null;
|
|
587
595
|
refServiceName = null;
|
|
588
596
|
referenceShowFields = [];
|
|
589
597
|
$forceUpdate();
|
|
590
598
|
"
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
599
|
+
v-el-readonly
|
|
600
|
+
clearable
|
|
601
|
+
>
|
|
602
|
+
<i
|
|
603
|
+
slot="suffix"
|
|
604
|
+
class="el-input__icon el-icon-search"
|
|
605
|
+
@click="showEntityDialog = true"
|
|
606
|
+
></i>
|
|
607
|
+
</el-input>
|
|
608
|
+
</el-form-item>
|
|
609
|
+
</td>
|
|
610
|
+
</tr>
|
|
611
|
+
<tr>
|
|
612
|
+
<th>
|
|
605
613
|
<span class="t">
|
|
606
614
|
{{ $t1("关联字段") }}
|
|
607
615
|
</span>
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
616
|
+
</th>
|
|
617
|
+
<td>
|
|
618
|
+
<el-form-item label="">
|
|
619
|
+
<el-input
|
|
620
|
+
class="search-input"
|
|
621
|
+
max="200"
|
|
622
|
+
v-model="referenceKey"
|
|
623
|
+
@clear="referenceKey = null"
|
|
624
|
+
v-el-readonly
|
|
625
|
+
clearable
|
|
626
|
+
>
|
|
627
|
+
<i
|
|
628
|
+
slot="suffix"
|
|
629
|
+
class="el-input__icon el-icon-search"
|
|
630
|
+
@click="openEntityFieldDialog1"
|
|
631
|
+
></i>
|
|
632
|
+
</el-input>
|
|
633
|
+
</el-form-item>
|
|
634
|
+
</td>
|
|
635
|
+
</tr>
|
|
636
|
+
<tr>
|
|
637
|
+
<th>
|
|
630
638
|
<span class="t">
|
|
631
639
|
{{ $t1("显示字段") }}
|
|
632
640
|
</span>
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
641
|
+
</th>
|
|
642
|
+
<td>
|
|
643
|
+
<el-form-item label="">
|
|
644
|
+
<el-input
|
|
645
|
+
class="search-input"
|
|
646
|
+
max="200"
|
|
647
|
+
:value="referenceShowFields.join(',')"
|
|
648
|
+
@clear="referenceShowFields = []"
|
|
649
|
+
v-el-readonly
|
|
650
|
+
clearable
|
|
651
|
+
>
|
|
652
|
+
<i
|
|
653
|
+
slot="suffix"
|
|
654
|
+
class="el-input__icon el-icon-search"
|
|
655
|
+
@click="openEntityFieldDialog2"
|
|
656
|
+
></i>
|
|
657
|
+
</el-input>
|
|
658
|
+
</el-form-item>
|
|
659
|
+
</td>
|
|
660
|
+
</tr>
|
|
653
661
|
</tbody>
|
|
654
662
|
</table>
|
|
655
663
|
</div>
|
|
@@ -664,11 +672,7 @@
|
|
|
664
672
|
<i class="el-icon-close el-icon"></i>
|
|
665
673
|
{{ $t1("取 消") }}
|
|
666
674
|
</el-button>
|
|
667
|
-
<el-button
|
|
668
|
-
type="primary"
|
|
669
|
-
@click="confirmReferenceZdDialog"
|
|
670
|
-
class="button-sty"
|
|
671
|
-
>
|
|
675
|
+
<el-button type="primary" @click="confirmReferenceZdDialog" class="button-sty">
|
|
672
676
|
<i class="el-icon-check el-icon"></i>
|
|
673
677
|
{{ $t1("确 定") }}
|
|
674
678
|
</el-button>
|
|
@@ -729,17 +733,12 @@
|
|
|
729
733
|
style="height: auto; width: auto"
|
|
730
734
|
>
|
|
731
735
|
<el-form-item :label="$t1('数据表')">
|
|
732
|
-
<el-input v-model="dbTable" clearable class="all-width"/>
|
|
736
|
+
<el-input v-model="dbTable" clearable class="all-width" />
|
|
733
737
|
</el-form-item>
|
|
734
738
|
</el-form>
|
|
735
739
|
</div>
|
|
736
740
|
<span slot="footer" class="dialog-footer">
|
|
737
|
-
<el-button
|
|
738
|
-
type="primary"
|
|
739
|
-
plain
|
|
740
|
-
class="button-sty"
|
|
741
|
-
@click="showDtDialog = false"
|
|
742
|
-
>
|
|
741
|
+
<el-button type="primary" plain class="button-sty" @click="showDtDialog = false">
|
|
743
742
|
<i class="el-icon-close el-icon"></i>
|
|
744
743
|
{{ $t2("取 消", "system.button.cancel2") }}
|
|
745
744
|
</el-button>
|
|
@@ -750,8 +749,12 @@
|
|
|
750
749
|
</span>
|
|
751
750
|
</el-dialog>
|
|
752
751
|
|
|
753
|
-
<otherAuthDialog
|
|
754
|
-
|
|
752
|
+
<otherAuthDialog
|
|
753
|
+
v-if="showOtherAuthDialog"
|
|
754
|
+
:visiable.sync="showOtherAuthDialog"
|
|
755
|
+
:sid="sid"
|
|
756
|
+
@confirm="confirmOtherAuthDialog"
|
|
757
|
+
></otherAuthDialog>
|
|
755
758
|
|
|
756
759
|
<!--begin-->
|
|
757
760
|
<el-dialog
|
|
@@ -769,59 +772,59 @@
|
|
|
769
772
|
<div id="containt">
|
|
770
773
|
<table class="table-detail">
|
|
771
774
|
<tbody>
|
|
772
|
-
|
|
773
|
-
|
|
775
|
+
<tr>
|
|
776
|
+
<th>
|
|
774
777
|
<span class="t">
|
|
775
778
|
{{ $t1("对应表") }}
|
|
776
779
|
</span>
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
780
|
+
</th>
|
|
781
|
+
<td>
|
|
782
|
+
<el-form-item label="">
|
|
783
|
+
<el-input
|
|
784
|
+
class="search-input"
|
|
785
|
+
max="200"
|
|
786
|
+
v-model="toTaBmZdEntity"
|
|
787
|
+
@clear="
|
|
785
788
|
toTaBmZdEntity = null;
|
|
786
789
|
toTaBmZdField = null;
|
|
787
790
|
"
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
791
|
+
v-el-readonly
|
|
792
|
+
clearable
|
|
793
|
+
>
|
|
794
|
+
<i
|
|
795
|
+
slot="suffix"
|
|
796
|
+
class="el-input__icon el-icon-search"
|
|
797
|
+
@click="showEntityDialog3 = true"
|
|
798
|
+
></i>
|
|
799
|
+
</el-input>
|
|
800
|
+
</el-form-item>
|
|
801
|
+
</td>
|
|
802
|
+
</tr>
|
|
803
|
+
<tr>
|
|
804
|
+
<th>
|
|
802
805
|
<span class="t">
|
|
803
806
|
{{ $t1("对应表字段") }}
|
|
804
807
|
</span>
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
808
|
+
</th>
|
|
809
|
+
<td>
|
|
810
|
+
<el-form-item label="">
|
|
811
|
+
<el-input
|
|
812
|
+
class="search-input"
|
|
813
|
+
max="200"
|
|
814
|
+
v-model="toTaBmZdField"
|
|
815
|
+
@clear="toTaBmZdField = null"
|
|
816
|
+
v-el-readonly
|
|
817
|
+
clearable
|
|
818
|
+
>
|
|
819
|
+
<i
|
|
820
|
+
slot="suffix"
|
|
821
|
+
class="el-input__icon el-icon-search"
|
|
822
|
+
@click="openEntityFieldDialog3"
|
|
823
|
+
></i>
|
|
824
|
+
</el-input>
|
|
825
|
+
</el-form-item>
|
|
826
|
+
</td>
|
|
827
|
+
</tr>
|
|
825
828
|
</tbody>
|
|
826
829
|
</table>
|
|
827
830
|
</div>
|
|
@@ -836,11 +839,7 @@
|
|
|
836
839
|
<i class="el-icon-close el-icon"></i>
|
|
837
840
|
{{ $t1("取 消") }}
|
|
838
841
|
</el-button>
|
|
839
|
-
<el-button
|
|
840
|
-
type="primary"
|
|
841
|
-
@click="confirmToTaBmZdDialog"
|
|
842
|
-
class="button-sty"
|
|
843
|
-
>
|
|
842
|
+
<el-button type="primary" @click="confirmToTaBmZdDialog" class="button-sty">
|
|
844
843
|
<i class="el-icon-check el-icon"></i>
|
|
845
844
|
{{ $t1("确 定") }}
|
|
846
845
|
</el-button>
|
|
@@ -862,15 +861,21 @@
|
|
|
862
861
|
:multi="false"
|
|
863
862
|
/>
|
|
864
863
|
<!--end-->
|
|
865
|
-
|
|
866
864
|
</div>
|
|
867
865
|
</template>
|
|
868
866
|
|
|
869
867
|
<script>
|
|
870
868
|
import mixin from "./mixins/edit";
|
|
869
|
+
import formVersionButton from "@base/views/bd/setting/formVersion/button.vue";
|
|
870
|
+
import reverButton from "@base/views/bd/setting/formVersion/reverButton.vue";
|
|
871
871
|
|
|
872
872
|
export default {
|
|
873
873
|
name: "szTaMbEdit",
|
|
874
874
|
mixins: [mixin],
|
|
875
|
+
components: {
|
|
876
|
+
formVersionButton,
|
|
877
|
+
reverButton,
|
|
878
|
+
},
|
|
879
|
+
methods: {},
|
|
875
880
|
};
|
|
876
881
|
</script>
|