cloud-web-corejs 1.0.54-dev.592 → 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.
@@ -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="isDev && !!dataId && menuKindAuth.editAuth === 1 && !readonly && !otherFlag"
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
- <tr>
86
- <th>{{ $t1('数据库表名') }}</th>
87
- <td colspan="3">
88
- <el-form-item prop="taBm" :rules="[{ required: false, trigger: ['blur', 'change'] }]">
89
- <el-input type="text" autocomplete="off" v-model="szTaMb.taBm" clearable :disabled="!!dataId"/>
90
- </el-form-item>
91
- </td>
92
- </tr>
93
- <tr>
94
- <th class="no"></th>
95
- <td colspan="7">
96
- <span class="fl tips">{{
97
- $t1('注:数据库表名必须定义为:1、与实体名称一样,2、表单分类数据表前缀_实体名称,3、不填自动生成:表单分类数据表前缀_实体名称。')
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
- </td>
100
- </tr>
101
- <tr>
102
- <th>
103
- <em class="f-red">*</em>
104
- {{ $t1("实体名称") }}
105
- </th>
106
- <td colspan="3">
107
- <el-form-item
108
- prop="taEn"
109
- :rules="[{ required: true, trigger: ['blur', 'change'] }]"
110
- >
111
- <el-input
112
- type="text"
113
- autocomplete="off"
114
- v-model="szTaMb.taEn"
115
- clearable
116
- />
117
- </el-form-item>
118
- </td>
119
- </tr>
120
- <tr>
121
- <th><em class="f-red">*</em>{{ $t1("表描述") }}</th>
122
- <td colspan="5">
123
- <el-form-item
124
- prop="taCh"
125
- :rules="[{ required: true, trigger: ['blur', 'change'] }]"
126
- >
127
- <el-input
128
- type="text"
129
- autocomplete="off"
130
- v-model="szTaMb.taCh"
131
- clearable
132
- />
133
- </el-form-item>
134
- </td>
135
- </tr>
136
- <tr>
137
- <th><em class="f-red">*</em>{{ $t1("是否明细") }}</th>
138
- <td>
139
- <el-form-item
140
- prop="taType"
141
- :rules="[{ required: true, trigger: ['blur', 'change'] }]"
142
- >
143
- <el-radio-group v-model="szTaMb.taType">
144
- <el-radio :label="1">{{ $t1("是") }}</el-radio>
145
- <el-radio :label="0">{{ $t1("否") }}</el-radio>
146
- </el-radio-group>
147
- </el-form-item>
148
- </td>
149
- <th>
150
- <em class="f-red" v-show="szTaMb.taType === 1">*</em>
151
- {{ $t1("所属主实体") }}
152
- </th>
153
- <td colspan="3">
154
- <el-form-item
155
- prop="sszstEn"
156
- :rules="[
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
- <el-input
164
- class="search-input"
165
- max="200"
166
- v-model="szTaMb.sszstEn"
167
- @clear="
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
- :disabled="szTaMb.taType == 0"
173
- v-el-readonly
174
- clearable
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
- <i
177
- slot="suffix"
178
- class="el-input__icon el-icon-search"
179
- @click="showSzTaMbDialog = true"
180
- ></i>
181
- </el-input>
182
- </el-form-item>
183
- </td>
184
- </tr>
185
- <tr>
186
- <th><em class="f-red">*</em>{{ $t1("是否树结构") }}</th>
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 :label="1">{{ $t1("是") }}</el-radio>
197
- <el-radio :label="0">{{ $t1("") }}</el-radio>
198
- </el-radio-group>
199
- </el-form-item>
200
- </td>
201
- <th><em class="f-red">*</em>{{ $t1("数据范围") }}</th>
202
- <td colspan="3">
203
- <el-form-item
204
- prop="dataRange"
205
- :rules="[{ required: true, trigger: ['blur', 'change'] }]"
206
- >
207
- <el-radio-group v-model="szTaMb.dataRange">
208
- <el-radio :label="1">{{ $t1("集团") }}</el-radio>
209
- <el-radio :label="0">{{ $t1("当前组织") }}</el-radio>
210
- </el-radio-group>
211
- </el-form-item>
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
- <el-input
230
- class="search-input"
231
- max="200"
232
- v-model="szTaMb.menuKindName"
233
- @clear="
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
- v-el-readonly
238
- clearable
239
- :disabled="otherFlag"
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
- <i
242
- slot="suffix"
243
- class="el-input__icon el-icon-search"
244
- @click="showMenuKindDialog = true"
245
- ></i>
246
- </el-input>
247
- </el-form-item>
248
- </td>
249
- </tr>
250
- <tr>
251
- <th>
252
- {{ $t1("项目标签") }}
253
- </th>
254
- <td colspan="7">
255
- <projectTagView
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
- <tr>
281
- <th>
282
- {{ $t1("唯一标识") }}
283
- </th>
284
- <td colspan="7">
285
- {{ szTaMb.sid }}
286
- </td>
287
- </tr>
288
- <tr>
289
- <th>{{ $t1("创建人") }}</th>
290
- <td>{{ szTaMb.createBy }}</td>
291
- <th>{{ $t1("创建时间") }}</th>
292
- <td>{{ szTaMb.createDate }}</td>
293
- <th>{{ $t1("更新人") }}</th>
294
- <td>{{ szTaMb.modifyBy }}</td>
295
- <th>{{ $t1("更新时间") }}</th>
296
- <td>{{ szTaMb.modifyDate }}</td>
297
- </tr>
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
- @click="addTaMbItems"
307
- icon="el-icon-plus"
308
- >{{ $t1("新增") }}
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
- value="TextArea"
340
- :label="$t1('长文本')"
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 v-model="row.zdEn" @keydown.native="inputZdEn(row)"
398
- @input="(val)=>{changeZdEn(val,row)}"/>
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 value="treePathName" :label="$t1('树名称路径')"></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
- <tr>
517
- <th>
518
- {{ $t1("表编码") }}
519
- </th>
520
- <td colspan="7">
521
- {{ szTaMb.taCode }}
522
- </td>
523
- </tr>
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
- <tr>
574
- <th>
581
+ <tr>
582
+ <th>
575
583
  <span class="t">
576
584
  {{ $t1("关联表") }}
577
585
  </span>
578
- </th>
579
- <td>
580
- <el-form-item label="">
581
- <el-input
582
- class="search-input"
583
- max="200"
584
- v-model="referenceEntity"
585
- @clear="
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
- v-el-readonly
592
- clearable
593
- >
594
- <i
595
- slot="suffix"
596
- class="el-input__icon el-icon-search"
597
- @click="showEntityDialog = true"
598
- ></i>
599
- </el-input>
600
- </el-form-item>
601
- </td>
602
- </tr>
603
- <tr>
604
- <th>
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
- </th>
609
- <td>
610
- <el-form-item label="">
611
- <el-input
612
- class="search-input"
613
- max="200"
614
- v-model="referenceKey"
615
- @clear="referenceKey = null"
616
- v-el-readonly
617
- clearable
618
- >
619
- <i
620
- slot="suffix"
621
- class="el-input__icon el-icon-search"
622
- @click="openEntityFieldDialog1"
623
- ></i>
624
- </el-input>
625
- </el-form-item>
626
- </td>
627
- </tr>
628
- <tr>
629
- <th>
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
- </th>
634
- <td>
635
- <el-form-item label="">
636
- <el-input
637
- class="search-input"
638
- max="200"
639
- :value="referenceShowFields.join(',')"
640
- @clear="referenceShowFields = []"
641
- v-el-readonly
642
- clearable
643
- >
644
- <i
645
- slot="suffix"
646
- class="el-input__icon el-icon-search"
647
- @click="openEntityFieldDialog2"
648
- ></i>
649
- </el-input>
650
- </el-form-item>
651
- </td>
652
- </tr>
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 v-if="showOtherAuthDialog" :visiable.sync="showOtherAuthDialog" :sid="sid"
754
- @confirm="confirmOtherAuthDialog"></otherAuthDialog>
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
- <tr>
773
- <th>
775
+ <tr>
776
+ <th>
774
777
  <span class="t">
775
778
  {{ $t1("对应表") }}
776
779
  </span>
777
- </th>
778
- <td>
779
- <el-form-item label="">
780
- <el-input
781
- class="search-input"
782
- max="200"
783
- v-model="toTaBmZdEntity"
784
- @clear="
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
- v-el-readonly
789
- clearable
790
- >
791
- <i
792
- slot="suffix"
793
- class="el-input__icon el-icon-search"
794
- @click="showEntityDialog3 = true"
795
- ></i>
796
- </el-input>
797
- </el-form-item>
798
- </td>
799
- </tr>
800
- <tr>
801
- <th>
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
- </th>
806
- <td>
807
- <el-form-item label="">
808
- <el-input
809
- class="search-input"
810
- max="200"
811
- v-model="toTaBmZdField"
812
- @clear="toTaBmZdField = null"
813
- v-el-readonly
814
- clearable
815
- >
816
- <i
817
- slot="suffix"
818
- class="el-input__icon el-icon-search"
819
- @click="openEntityFieldDialog3"
820
- ></i>
821
- </el-input>
822
- </el-form-item>
823
- </td>
824
- </tr>
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>