|
|
|
|
@ -235,7 +235,6 @@ export default { |
|
|
|
|
if (val) { |
|
|
|
|
getFormByKey({ formKey: val }).then(res => { |
|
|
|
|
_this.option = { ...eval('(' + res.data.data.content.replace(/this/g, '_this') + ')'), menuBtn: false, readonly: true } |
|
|
|
|
console.log(_this.option) |
|
|
|
|
_this.findObject(this.step1.option.group, 'form').display = true |
|
|
|
|
}).catch((err) => { |
|
|
|
|
console.log(err) |
|
|
|
|
@ -341,7 +340,6 @@ export default { |
|
|
|
|
switch (this.step) { |
|
|
|
|
case 0: |
|
|
|
|
this.$refs.form1.validate((valid, done, msg) => { |
|
|
|
|
console.log(msg) |
|
|
|
|
if (valid) { |
|
|
|
|
const { formType, formKey, exFormKey, column } = this.step1.form |
|
|
|
|
if (formType == 1) { // 内置表单 |
|
|
|
|
@ -357,8 +355,6 @@ export default { |
|
|
|
|
mode: 'indep', |
|
|
|
|
list: this.formList |
|
|
|
|
} |
|
|
|
|
console.log("==============================") |
|
|
|
|
console.log(JSON.parse(JSON.stringify(this.step2.option))) |
|
|
|
|
} |
|
|
|
|
this.step++ |
|
|
|
|
done() |
|
|
|
|
|