cloud-web-corejs 1.0.54-dev.286 → 1.0.54-dev.288
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
CHANGED
@@ -160,8 +160,9 @@
|
|
160
160
|
></el-input>
|
161
161
|
</el-form-item>
|
162
162
|
</el-collapse-item>
|
163
|
+
|
163
164
|
<el-collapse-item name="3" title="详情表单信息">
|
164
|
-
<el-form-item :label="i18nt('
|
165
|
+
<el-form-item :label="i18nt('查看页面表单编码')">
|
165
166
|
<el-input
|
166
167
|
class="search-input"
|
167
168
|
max="200"
|
@@ -176,13 +177,36 @@
|
|
176
177
|
<i
|
177
178
|
slot="suffix"
|
178
179
|
class="el-input__icon el-icon-search"
|
179
|
-
@click="
|
180
|
+
@click="openFormTemplate(2)"
|
180
181
|
></i>
|
181
182
|
</el-input>
|
182
183
|
</el-form-item>
|
183
|
-
<el-form-item :label="i18nt('
|
184
|
+
<el-form-item :label="i18nt('查看页面表单名称')">
|
184
185
|
{{ formConfig.editFormName }}
|
185
186
|
</el-form-item>
|
187
|
+
<el-form-item :label="i18nt('新增页面表单编码')">
|
188
|
+
<el-input
|
189
|
+
class="search-input"
|
190
|
+
max="200"
|
191
|
+
v-model="formConfig.addFormCode"
|
192
|
+
@clear="
|
193
|
+
formConfig.addFormCode = null;
|
194
|
+
$forceUpdate();
|
195
|
+
"
|
196
|
+
v-el-readonly
|
197
|
+
clearable
|
198
|
+
placeholder="默认使用查看表单编码"
|
199
|
+
>
|
200
|
+
<i
|
201
|
+
slot="suffix"
|
202
|
+
class="el-input__icon el-icon-search"
|
203
|
+
@click="openFormTemplate(1)"
|
204
|
+
></i>
|
205
|
+
</el-input>
|
206
|
+
</el-form-item>
|
207
|
+
<el-form-item :label="i18nt('新增页面表单名称')">
|
208
|
+
{{ formConfig.addFormName }}
|
209
|
+
</el-form-item>
|
186
210
|
</el-collapse-item>
|
187
211
|
<el-collapse-item name="4" title="查询弹框展示信息">
|
188
212
|
<el-form-item :label="i18nt('展示字段')">
|
@@ -1032,11 +1056,22 @@ export default {
|
|
1032
1056
|
this.formConfig[this.curEventName] = this.formEventHandlerCode;
|
1033
1057
|
this.showFormEventDialogFlag = false;
|
1034
1058
|
},
|
1059
|
+
openFormTemplate(flag){
|
1060
|
+
this.formTemplateFlag = flag;
|
1061
|
+
this.showFormTemplateDialog = true;
|
1062
|
+
},
|
1035
1063
|
confirmFormTemplate(rows) {
|
1036
1064
|
if (rows.length) {
|
1037
1065
|
let row = rows[0];
|
1038
|
-
|
1039
|
-
|
1066
|
+
if(this.formTemplateFlag==1){
|
1067
|
+
//新增
|
1068
|
+
this.$set(this.formConfig, "addFormCode", row.formCode);
|
1069
|
+
this.$set(this.formConfig, "addFormName", row.formName);
|
1070
|
+
}else{
|
1071
|
+
//查看
|
1072
|
+
this.$set(this.formConfig, "editFormCode", row.formCode);
|
1073
|
+
this.$set(this.formConfig, "editFormName", row.formName);
|
1074
|
+
}
|
1040
1075
|
}
|
1041
1076
|
},
|
1042
1077
|
getEventButtonName(funStr) {
|