cloud-web-corejs 1.1.0-dev.6 → 1.1.0-dev.8

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.
Files changed (45) hide show
  1. package/package.json +1 -1
  2. package/src/components/VabUpload/view.vue +27 -26
  3. package/src/components/excelImport/index.vue +156 -156
  4. package/src/components/mobile/wf/addTaskUserdialog.vue +23 -3
  5. package/src/components/mobile/wf/content.vue +110 -67
  6. package/src/components/mobile/wf/deleteTaskUserDialog.vue +22 -3
  7. package/src/components/mobile/wf/selectUserDialog.vue +122 -0
  8. package/src/components/mobile/wf/setCandidateDialog.vue +25 -4
  9. package/src/components/mobile/wf/urgingDialog.vue +26 -3
  10. package/src/components/mobile/wf/wfModifyDialog.vue +4 -0
  11. package/src/components/xform/form-designer/designer.js +36 -52
  12. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +185 -185
  13. package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +1 -1
  14. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +2 -2
  15. package/src/components/xform/form-designer/indexMixin.js +25 -0
  16. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +833 -860
  17. package/src/components/xform/form-designer/toolbar-panel/index.vue +874 -874
  18. package/src/components/xform/form-designer/widget-panel/index.vue +11 -7
  19. package/src/components/xform/form-designer/widget-panel/indexMixin.js +15 -2
  20. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +53 -1
  21. package/src/components/xform/form-render/container-item/list-h5-item.vue +154 -27
  22. package/src/components/xform/form-render/indexMixin.js +23 -3
  23. package/src/components/xform/styles/h5.scss +775 -588
  24. package/src/directive/append-to-body/index.js +48 -0
  25. package/src/index.js +4 -0
  26. package/src/layout/components/Sidebar/default.vue +1655 -1655
  27. package/src/router/index.js +48 -48
  28. package/src/utils/vab.js +1283 -1283
  29. package/src/views/bd/setting/form_template/edit.vue +378 -356
  30. package/src/views/bd/setting/form_template/formDesignerDialog.vue +6 -0
  31. package/src/views/bd/setting/form_template/formTemplateType.js +43 -0
  32. package/src/views/bd/setting/form_template/list.vue +304 -303
  33. package/src/views/bd/setting/form_template/mixins/edit.js +344 -280
  34. package/src/views/bd/setting/form_template/mixins/list.js +748 -721
  35. package/src/views/user/file_view_ins/list.vue +970 -970
  36. package/src/views/user/form/vform/designer.vue +823 -821
  37. package/src/views/user/home/default.vue +1117 -1117
  38. package/src/views/user/home/index.vue +103 -103
  39. package/src/views/user/notify_message/dialog.vue +139 -139
  40. package/src/views/user/outLink/form_view.vue +202 -202
  41. package/src/views/user/outLink/index.vue +110 -110
  42. package/src/views/user/wf/iframe/index.vue +51 -51
  43. package/src/views/user/wf/iframe/index2.vue +64 -64
  44. package/src/views/user/wf/wf_manage/list2.vue +871 -871
  45. package/src/views/user/wf/wf_manage/wfContentDialog.vue +134 -134
@@ -1,356 +1,378 @@
1
- <template>
2
- <div class="detail-wrap">
3
- <el-form ref="editForm" :model="formTemplate">
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
- <formVersionButton
11
- v-if="!hData && formTemplate.id && !readonly"
12
- objType="FormTemplate"
13
- :objCode="formTemplate.formCode"
14
- :sid="formTemplate.sid"
15
- @reverCallback="$baseReload()"
16
- ></formVersionButton>
17
- <reverButton
18
- v-if="!!hData"
19
- objType="FormTemplate"
20
- :objCode="formTemplate.formCode"
21
- :hData="hData"
22
- @reverCallback="$emit('reverCallback')"
23
- ></reverButton>
24
- <el-button
25
- type="primary"
26
- plain
27
- class="button-sty"
28
- icon="el-icon-set-up"
29
- @click="openOtherAuthDialog"
30
- v-if="
31
- isDev && !!dataId && menuKindAuth.editAuth === 1 && !readonly && !otherFlag
32
- "
33
- >
34
- {{ $t1("分派") }}
35
- </el-button>
36
- <el-button
37
- type="success"
38
- class="button-sty"
39
- @click="openDesignDialog"
40
- icon="iconfont icon-liuchengguanli-shejiqi_liucheng"
41
- v-if="!!dataId"
42
- >{{ $t1("表单设计") }}
43
- </el-button>
44
- <el-button
45
- type="primary"
46
- plain
47
- class="button-sty"
48
- @click="$baseReload()"
49
- icon="el-icon-refresh-right"
50
- >
51
- {{ $t1("重置") }}
52
- </el-button>
53
- <el-button
54
- type="primary"
55
- class="button-sty"
56
- icon="el-icon-check"
57
- @click="saveData"
58
- v-if="!readonly && isDev && menuKindAuth.editAuth === 1"
59
- >
60
- {{ $t1("保存") }}
61
- </el-button>
62
- </div>
63
- </div>
64
- <baseTabs>
65
- <baseTabPane :label="$t1('基本信息')">
66
- <template #default>
67
- <table class="table-detail">
68
- <tbody>
69
- <tr>
70
- <th>
71
- <em class="f-red">*</em>
72
- {{ $t1("模板名称") }}
73
- </th>
74
- <td colspan="3">
75
- <el-form-item
76
- prop="formName"
77
- :rules="[{ required: true, trigger: 'blur' }]"
78
- >
79
- <fieldCompare
80
- :isCompare="isCompare"
81
- :oldVal="oldFormTemplate.formName"
82
- :newVal="formTemplate.formName"
83
- >
84
- <el-input
85
- type="text"
86
- autocomplete="off"
87
- v-model="formTemplate.formName"
88
- clearable
89
- />
90
- </fieldCompare>
91
- </el-form-item>
92
- </td>
93
- </tr>
94
- <tr>
95
- <th>{{ $t1("模板编码") }}</th>
96
- <td colspan="3">
97
- <el-form-item
98
- prop="formCode"
99
- :rules="[{ required: true, trigger: 'blur' }]"
100
- v-if="!formTemplate.id"
101
- >
102
- <el-input
103
- type="text"
104
- autocomplete="off"
105
- v-model="formTemplate.formCode"
106
- clearable
107
- />
108
- </el-form-item>
109
- <template v-else>
110
- {{ formTemplate.formCode }}
111
- </template>
112
- </td>
113
- </tr>
114
- <tr>
115
- <th>{{ $t1("是否启用") }}</th>
116
- <td>
117
- <el-form-item
118
- prop="enabled"
119
- :rules="[{ required: false, trigger: 'blur' }]"
120
- >
121
- <fieldCompare
122
- :isCompare="isCompare"
123
- :oldVal="oldFormTemplate.enabled"
124
- :newVal="formTemplate.enabled"
125
- >
126
- <el-radio-group v-model="formTemplate.enabled">
127
- <el-radio :label="true">{{ $t1("启用") }}</el-radio>
128
- <el-radio :label="false">{{ $t1("禁用") }}</el-radio>
129
- </el-radio-group>
130
- </fieldCompare>
131
- </el-form-item>
132
- </td>
133
- <th>{{ $t1("启用流程") }}</th>
134
- <td>
135
- <el-form-item>
136
- <fieldCompare
137
- :isCompare="isCompare"
138
- :oldVal="oldFormTemplate.hasWf"
139
- :newVal="formTemplate.hasWf"
140
- >
141
- {{ formTemplate.hasWf ? $t1("是") : $t1("否") }}
142
- </fieldCompare>
143
- </el-form-item>
144
- </td>
145
- </tr>
146
- <tr>
147
- <th>
148
- <em class="f-red">*</em>
149
- {{ $t1("表单分类") }}
150
- </th>
151
- <td colspan="5">
152
- <el-form-item
153
- prop="menuKindName"
154
- :rules="[{ required: true, trigger: ['blur', 'change'] }]"
155
- >
156
- <fieldCompare
157
- :isCompare="isCompare"
158
- :oldVal="oldFormTemplate.menuKindName"
159
- :newVal="formTemplate.menuKindName"
160
- >
161
- <el-input
162
- class="search-input"
163
- max="200"
164
- v-model="formTemplate.menuKindName"
165
- @clear="
166
- formTemplate.menuKindCode = '';
167
- $forceUpdate();
168
- "
169
- v-el-readonly
170
- clearable
171
- :disabled="otherFlag"
172
- >
173
- <i
174
- slot="suffix"
175
- class="el-input__icon el-icon-search"
176
- @click="showMenuKindDialog = true"
177
- ></i>
178
- </el-input>
179
- </fieldCompare>
180
- </el-form-item>
181
- </td>
182
- </tr>
183
- <tr>
184
- <th>{{ $t1("备注") }}</th>
185
- <td colspan="5">
186
- <el-form-item>
187
- <fieldCompare
188
- :isCompare="isCompare"
189
- :oldVal="oldFormTemplate.remark"
190
- :newVal="formTemplate.remark"
191
- >
192
- <el-input
193
- type="textarea"
194
- :rows="2"
195
- :placeholder="$t1('请输入内容')"
196
- size="small"
197
- v-model="formTemplate.remark"
198
- clearable
199
- ></el-input>
200
- </fieldCompare>
201
- </el-form-item>
202
- </td>
203
- </tr>
204
- <tr>
205
- <th>
206
- {{ $t1("项目标签") }}
207
- </th>
208
- <td colspan="7">
209
- <projectTagView
210
- v-model="formTemplate.formTemplateTagDTOs"
211
- ></projectTagView>
212
- </td>
213
- </tr>
214
- <tr>
215
- <th>{{ $t1("版本号") }}</th>
216
- <td>{{ formTemplate.version }}</td>
217
- <th>{{ $t1("服务名") }}</th>
218
- <td>{{ formTemplate.serviceName }}</td>
219
- <th>
220
- {{ $t1("唯一标识") }}
221
- </th>
222
- <td colspan="3">
223
- {{ formTemplate.sid }}
224
- </td>
225
- </tr>
226
- <tr v-if="!!hData">
227
- <th>{{ $t1("表单模板JSON") }}</th>
228
- <td colspan="7">
229
- <el-form-item>
230
- <fieldCompare
231
- :isCompare="isCompare"
232
- :oldVal="oldFormTemplate.formViewContent"
233
- :newVal="formTemplate.formViewContent"
234
- >
235
- <el-input
236
- type="textarea"
237
- :rows="12"
238
- :placeholder="$t1('请输入内容')"
239
- size="small"
240
- v-model="formTemplate.formViewContent"
241
- :disabled="true"
242
- ></el-input>
243
- </fieldCompare>
244
- </el-form-item>
245
- </td>
246
- </tr>
247
- <tr>
248
- <th>{{ $t1("创建人") }}</th>
249
- <td>{{ formTemplate.createBy }}</td>
250
- <th>{{ $t1("创建时间") }}</th>
251
- <td>{{ formTemplate.createDate }}</td>
252
- <th>{{ $t1("更新人") }}</th>
253
- <td>{{ formTemplate.modifyBy }}</td>
254
- <th>{{ $t1("更新时间") }}</th>
255
- <td>{{ formTemplate.modifyDate }}</td>
256
- </tr>
257
- <tr>
258
- <th>
259
- <span class="tips">{{ $t1("URL说明") }}</span>
260
- </th>
261
- <td colspan="7">
262
- <span class="fl tips">
263
- <div>{{ $t1("一、表单模板嵌入第三方系统URL配置") }}</div>
264
- <div style="padding-left: 20px">
265
- <p>
266
- {{
267
- $t1(
268
- "1、列表URL: /#/form_outLinkView?url=/user/form/view/list&formCode=xx&tp=&i18nLang=&access_token=xx"
269
- )
270
- }}
271
- </p>
272
- <p>
273
- {{
274
- $t1(
275
- "2、详情URL: /#/form_outLinkView?url=/user/form/view/edit&formCode=xx&dataId=1&tp=&i18nLang=&access_token=xx"
276
- )
277
- }}
278
- </p>
279
- </div>
280
- <div>{{ $t1("二、表单模板嵌入本地系统菜单URL配置") }}</div>
281
- <div style="padding-left: 20px">
282
- <p>
283
- {{
284
- $t1(
285
- "1、菜单URL: /user/form/view/list/xxx;xx为表单模板编码;菜单类型:动态表单"
286
- )
287
- }}
288
- </p>
289
- </div>
290
- <div>{{ $t1("三、参数说明") }}</div>
291
- <div style="padding-left: 20px">
292
- <p>
293
- {{
294
- $t1(
295
- "1、url:详情页面固定为/user/form/view/edit,列表页面固定为/user/form/view/list;"
296
- )
297
- }}
298
- </p>
299
- <p>{{ $t1("2、formCode:表单编码;") }}</p>
300
- <p>{{ $t1("3、dataId:单据ID,详情页面才需要传;") }}</p>
301
- <p>{{ $t1("4、i18nLang:国际化编码,不传默认中文;") }}</p>
302
- <p>{{ $t1("5、tp:第三方登录秘钥;") }}</p>
303
- <p>{{ $t1("6、access_token:用户信息token;") }}</p>
304
- <p>{{ $t1("7、tp与access_token只需要传其中一个即可;") }}</p>
305
- </div>
306
- </span>
307
- </td>
308
- </tr>
309
- </tbody>
310
- </table>
311
- </template>
312
- </baseTabPane>
313
- <baseTabPane :label="$t1('操作日志')">
314
- <template #default>
315
- <formOplogTable :parent-target="_self" ref="oplogTable"></formOplogTable>
316
- </template>
317
- </baseTabPane>
318
- </baseTabs>
319
- </el-form>
320
- <MenuKindDialog
321
- v-if="showMenuKindDialog"
322
- :visiable.sync="showMenuKindDialog"
323
- :serviceName="formTemplate.serviceName"
324
- @confirm="confirmInsertMenuKind"
325
- :param="{ taType: 0 }"
326
- :multi="false"
327
- />
328
- <preformDialog
329
- v-if="showPreformDialog"
330
- :visiable.sync="showPreformDialog"
331
- @confirm="confirmPreformDialog"
332
- ></preformDialog>
333
- <otherAuthDialog
334
- v-if="showOtherAuthDialog"
335
- :visiable.sync="showOtherAuthDialog"
336
- :sid="sid"
337
- @confirm="confirmOtherAuthDialog"
338
- ></otherAuthDialog>
339
- </div>
340
- </template>
341
-
342
- <script>
343
- import mixin from "./mixins/edit";
344
- import formVersionButton from "@base/views/bd/setting/formVersion/button.vue";
345
- import reverButton from "@base/views/bd/setting/formVersion/reverButton.vue";
346
- import fieldCompare from "@base/views/bd/setting/formVersion/fieldCompare.vue";
347
- export default {
348
- name: "bd_form_templateEdit",
349
- mixins: [mixin],
350
- components: {
351
- formVersionButton,
352
- reverButton,
353
- fieldCompare,
354
- },
355
- };
356
- </script>
1
+ <template>
2
+ <div class="detail-wrap">
3
+ <el-form ref="editForm" :model="formTemplate">
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
+ <formVersionButton
11
+ v-if="!hData && formTemplate.id && !readonly"
12
+ objType="FormTemplate"
13
+ :objCode="formTemplate.formCode"
14
+ :sid="formTemplate.sid"
15
+ @reverCallback="$baseReload()"
16
+ ></formVersionButton>
17
+ <reverButton
18
+ v-if="!!hData"
19
+ objType="FormTemplate"
20
+ :objCode="formTemplate.formCode"
21
+ :hData="hData"
22
+ @reverCallback="$emit('reverCallback')"
23
+ ></reverButton>
24
+ <el-button
25
+ type="primary"
26
+ plain
27
+ class="button-sty"
28
+ icon="el-icon-set-up"
29
+ @click="openOtherAuthDialog"
30
+ v-if="
31
+ isDev && !!dataId && menuKindAuth.editAuth === 1 && !readonly && !otherFlag
32
+ "
33
+ >
34
+ {{ $t1("分派") }}
35
+ </el-button>
36
+ <el-button
37
+ type="success"
38
+ class="button-sty"
39
+ @click="openDesignDialog"
40
+ icon="iconfont icon-liuchengguanli-shejiqi_liucheng"
41
+ v-if="!!dataId"
42
+ >{{ $t1("表单设计") }}
43
+ </el-button>
44
+ <el-button
45
+ type="primary"
46
+ plain
47
+ class="button-sty"
48
+ @click="$baseReload()"
49
+ icon="el-icon-refresh-right"
50
+ >
51
+ {{ $t1("重置") }}
52
+ </el-button>
53
+ <el-button
54
+ type="primary"
55
+ class="button-sty"
56
+ icon="el-icon-check"
57
+ @click="saveData"
58
+ v-if="!readonly && isDev && menuKindAuth.editAuth === 1"
59
+ >
60
+ {{ $t1("保存") }}
61
+ </el-button>
62
+ </div>
63
+ </div>
64
+ <baseTabs>
65
+ <baseTabPane :label="$t1('基本信息')">
66
+ <template #default>
67
+ <table class="table-detail">
68
+ <tbody>
69
+ <tr>
70
+ <th>
71
+ <em class="f-red">*</em>
72
+ {{ $t1("模板名称") }}
73
+ </th>
74
+ <td colspan="3">
75
+ <el-form-item
76
+ prop="formName"
77
+ :rules="[{ required: true, trigger: 'blur' }]"
78
+ >
79
+ <fieldCompare
80
+ :isCompare="isCompare"
81
+ :oldVal="oldFormTemplate.formName"
82
+ :newVal="formTemplate.formName"
83
+ >
84
+ <el-input
85
+ type="text"
86
+ autocomplete="off"
87
+ v-model="formTemplate.formName"
88
+ clearable
89
+ />
90
+ </fieldCompare>
91
+ </el-form-item>
92
+ </td>
93
+ </tr>
94
+ <tr>
95
+ <th>
96
+ <em class="f-red" v-if="!formTemplate.id">*</em>
97
+ {{ $t1("模板类型") }}
98
+ </th>
99
+ <td colspan="3">
100
+ <el-radio-group
101
+ v-model="templateType"
102
+ v-if="!formTemplate.id"
103
+ >
104
+ <el-radio label="PC">{{ $t1("PC端") }}</el-radio>
105
+ <el-radio label="H5">{{ $t1("移动端") }}</el-radio>
106
+ </el-radio-group>
107
+ <template v-else>
108
+ {{ templateTypeText }}
109
+ </template>
110
+ </td>
111
+ </tr>
112
+ <tr>
113
+ <th>{{ $t1("模板编码") }}</th>
114
+ <td colspan="3">
115
+ <el-form-item
116
+ prop="formCode"
117
+ :rules="formCodeRules"
118
+ v-if="!formTemplate.id"
119
+ >
120
+ <el-input
121
+ type="text"
122
+ autocomplete="off"
123
+ v-model="formCodeInput"
124
+ clearable
125
+ >
126
+ <template #prepend v-if="isH5Template">
127
+ {{ h5FormCodePrefix }}
128
+ </template>
129
+ </el-input>
130
+ </el-form-item>
131
+ <template v-else>
132
+ {{ formTemplate.formCode }}
133
+ </template>
134
+ </td>
135
+ </tr>
136
+ <tr>
137
+ <th>{{ $t1("是否启用") }}</th>
138
+ <td>
139
+ <el-form-item
140
+ prop="enabled"
141
+ :rules="[{ required: false, trigger: 'blur' }]"
142
+ >
143
+ <fieldCompare
144
+ :isCompare="isCompare"
145
+ :oldVal="oldFormTemplate.enabled"
146
+ :newVal="formTemplate.enabled"
147
+ >
148
+ <el-radio-group v-model="formTemplate.enabled">
149
+ <el-radio :label="true">{{ $t1("启用") }}</el-radio>
150
+ <el-radio :label="false">{{ $t1("禁用") }}</el-radio>
151
+ </el-radio-group>
152
+ </fieldCompare>
153
+ </el-form-item>
154
+ </td>
155
+ <th>{{ $t1("启用流程") }}</th>
156
+ <td>
157
+ <el-form-item>
158
+ <fieldCompare
159
+ :isCompare="isCompare"
160
+ :oldVal="oldFormTemplate.hasWf"
161
+ :newVal="formTemplate.hasWf"
162
+ >
163
+ {{ formTemplate.hasWf ? $t1("") : $t1("否") }}
164
+ </fieldCompare>
165
+ </el-form-item>
166
+ </td>
167
+ </tr>
168
+ <tr>
169
+ <th>
170
+ <em class="f-red">*</em>
171
+ {{ $t1("表单分类") }}
172
+ </th>
173
+ <td colspan="5">
174
+ <el-form-item
175
+ prop="menuKindName"
176
+ :rules="[{ required: true, trigger: ['blur', 'change'] }]"
177
+ >
178
+ <fieldCompare
179
+ :isCompare="isCompare"
180
+ :oldVal="oldFormTemplate.menuKindName"
181
+ :newVal="formTemplate.menuKindName"
182
+ >
183
+ <el-input
184
+ class="search-input"
185
+ max="200"
186
+ v-model="formTemplate.menuKindName"
187
+ @clear="
188
+ formTemplate.menuKindCode = '';
189
+ $forceUpdate();
190
+ "
191
+ v-el-readonly
192
+ clearable
193
+ :disabled="otherFlag"
194
+ >
195
+ <i
196
+ slot="suffix"
197
+ class="el-input__icon el-icon-search"
198
+ @click="showMenuKindDialog = true"
199
+ ></i>
200
+ </el-input>
201
+ </fieldCompare>
202
+ </el-form-item>
203
+ </td>
204
+ </tr>
205
+ <tr>
206
+ <th>{{ $t1("备注") }}</th>
207
+ <td colspan="5">
208
+ <el-form-item>
209
+ <fieldCompare
210
+ :isCompare="isCompare"
211
+ :oldVal="oldFormTemplate.remark"
212
+ :newVal="formTemplate.remark"
213
+ >
214
+ <el-input
215
+ type="textarea"
216
+ :rows="2"
217
+ :placeholder="$t1('请输入内容')"
218
+ size="small"
219
+ v-model="formTemplate.remark"
220
+ clearable
221
+ ></el-input>
222
+ </fieldCompare>
223
+ </el-form-item>
224
+ </td>
225
+ </tr>
226
+ <tr>
227
+ <th>
228
+ {{ $t1("项目标签") }}
229
+ </th>
230
+ <td colspan="7">
231
+ <projectTagView
232
+ v-model="formTemplate.formTemplateTagDTOs"
233
+ ></projectTagView>
234
+ </td>
235
+ </tr>
236
+ <tr>
237
+ <th>{{ $t1("版本号") }}</th>
238
+ <td>{{ formTemplate.version }}</td>
239
+ <th>{{ $t1("服务名") }}</th>
240
+ <td>{{ formTemplate.serviceName }}</td>
241
+ <th>
242
+ {{ $t1("唯一标识") }}
243
+ </th>
244
+ <td colspan="3">
245
+ {{ formTemplate.sid }}
246
+ </td>
247
+ </tr>
248
+ <tr v-if="!!hData">
249
+ <th>{{ $t1("表单模板JSON") }}</th>
250
+ <td colspan="7">
251
+ <el-form-item>
252
+ <fieldCompare
253
+ :isCompare="isCompare"
254
+ :oldVal="oldFormTemplate.formViewContent"
255
+ :newVal="formTemplate.formViewContent"
256
+ >
257
+ <el-input
258
+ type="textarea"
259
+ :rows="12"
260
+ :placeholder="$t1('请输入内容')"
261
+ size="small"
262
+ v-model="formTemplate.formViewContent"
263
+ :disabled="true"
264
+ ></el-input>
265
+ </fieldCompare>
266
+ </el-form-item>
267
+ </td>
268
+ </tr>
269
+ <tr>
270
+ <th>{{ $t1("创建人") }}</th>
271
+ <td>{{ formTemplate.createBy }}</td>
272
+ <th>{{ $t1("创建时间") }}</th>
273
+ <td>{{ formTemplate.createDate }}</td>
274
+ <th>{{ $t1("更新人") }}</th>
275
+ <td>{{ formTemplate.modifyBy }}</td>
276
+ <th>{{ $t1("更新时间") }}</th>
277
+ <td>{{ formTemplate.modifyDate }}</td>
278
+ </tr>
279
+ <tr>
280
+ <th>
281
+ <span class="tips">{{ $t1("URL说明") }}</span>
282
+ </th>
283
+ <td colspan="7">
284
+ <span class="fl tips">
285
+ <div>{{ $t1("一、表单模板嵌入第三方系统URL配置") }}</div>
286
+ <div style="padding-left: 20px">
287
+ <p>
288
+ {{
289
+ $t1(
290
+ "1、列表URL: /#/form_outLinkView?url=/user/form/view/list&formCode=xx&tp=&i18nLang=&access_token=xx"
291
+ )
292
+ }}
293
+ </p>
294
+ <p>
295
+ {{
296
+ $t1(
297
+ "2、详情URL: /#/form_outLinkView?url=/user/form/view/edit&formCode=xx&dataId=1&tp=&i18nLang=&access_token=xx"
298
+ )
299
+ }}
300
+ </p>
301
+ </div>
302
+ <div>{{ $t1("二、表单模板嵌入本地系统菜单URL配置") }}</div>
303
+ <div style="padding-left: 20px">
304
+ <p>
305
+ {{
306
+ $t1(
307
+ "1、菜单URL: /user/form/view/list/xxx;xx为表单模板编码;菜单类型:动态表单"
308
+ )
309
+ }}
310
+ </p>
311
+ </div>
312
+ <div>{{ $t1("三、参数说明") }}</div>
313
+ <div style="padding-left: 20px">
314
+ <p>
315
+ {{
316
+ $t1(
317
+ "1、url:详情页面固定为/user/form/view/edit,列表页面固定为/user/form/view/list;"
318
+ )
319
+ }}
320
+ </p>
321
+ <p>{{ $t1("2、formCode:表单编码;") }}</p>
322
+ <p>{{ $t1("3、dataId:单据ID,详情页面才需要传;") }}</p>
323
+ <p>{{ $t1("4、i18nLang:国际化编码,不传默认中文;") }}</p>
324
+ <p>{{ $t1("5、tp:第三方登录秘钥;") }}</p>
325
+ <p>{{ $t1("6、access_token:用户信息token;") }}</p>
326
+ <p>{{ $t1("7、tp与access_token只需要传其中一个即可;") }}</p>
327
+ </div>
328
+ </span>
329
+ </td>
330
+ </tr>
331
+ </tbody>
332
+ </table>
333
+ </template>
334
+ </baseTabPane>
335
+ <baseTabPane :label="$t1('操作日志')">
336
+ <template #default>
337
+ <formOplogTable :parent-target="_self" ref="oplogTable"></formOplogTable>
338
+ </template>
339
+ </baseTabPane>
340
+ </baseTabs>
341
+ </el-form>
342
+ <MenuKindDialog
343
+ v-if="showMenuKindDialog"
344
+ :visiable.sync="showMenuKindDialog"
345
+ :serviceName="formTemplate.serviceName"
346
+ @confirm="confirmInsertMenuKind"
347
+ :param="{ taType: 0 }"
348
+ :multi="false"
349
+ />
350
+ <preformDialog
351
+ v-if="showPreformDialog"
352
+ :visiable.sync="showPreformDialog"
353
+ @confirm="confirmPreformDialog"
354
+ ></preformDialog>
355
+ <otherAuthDialog
356
+ v-if="showOtherAuthDialog"
357
+ :visiable.sync="showOtherAuthDialog"
358
+ :sid="sid"
359
+ @confirm="confirmOtherAuthDialog"
360
+ ></otherAuthDialog>
361
+ </div>
362
+ </template>
363
+
364
+ <script>
365
+ import mixin from "./mixins/edit";
366
+ import formVersionButton from "@base/views/bd/setting/formVersion/button.vue";
367
+ import reverButton from "@base/views/bd/setting/formVersion/reverButton.vue";
368
+ import fieldCompare from "@base/views/bd/setting/formVersion/fieldCompare.vue";
369
+ export default {
370
+ name: "bd_form_templateEdit",
371
+ mixins: [mixin],
372
+ components: {
373
+ formVersionButton,
374
+ reverButton,
375
+ fieldCompare,
376
+ },
377
+ };
378
+ </script>