diff --git a/.env.development b/.env.development index 8461720..74eb4a1 100644 --- a/.env.development +++ b/.env.development @@ -2,8 +2,8 @@ ENV = 'development' # base api -VUE_APP_BASE_API='http://192.167.20.118:8080/' -#VUE_APP_BASE_API='https://cz-hjjc-test.115.langye.net' +#VUE_APP_BASE_API='http://192.167.20.118:8080/' +VUE_APP_BASE_API='https://cz-hjjc-test.115.langye.net' VUE_APP_UPLOAD_API='https://cz-hjjc-test.115.langye.net/api/upload-file' VUE_APP_PREVIEW=//view.langye.net/preview/onlinePreview VUE_APP_MODULE_NAME=oa diff --git a/.eslintignore b/.eslintignore index e6529fc..2202411 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,3 +2,4 @@ build/*.js src/assets public dist +src/utils/formBuilder.js diff --git a/src/views/flow/components/MultiDeal.vue b/src/views/flow/components/MultiDeal.vue index 14d34f1..a86e3cb 100644 --- a/src/views/flow/components/MultiDeal.vue +++ b/src/views/flow/components/MultiDeal.vue @@ -269,7 +269,6 @@ export default { } } }); - this.form['flow_title'] = this.config?.flow?.title ?? `${this.config.customModel.name}(${this.$store.getters.name} ${this.$moment().format('YYYY-MM-DD HH:mm')})` }, async getConfig() { @@ -411,7 +410,10 @@ export default { if (this.$route.query.flow_id) { copyForm["temporary_save"] = 1; } - callback = () => (this.$emit('update:isShow', false),this.$emit('update:isShow', false)) + callback = () => { + this.$emit('update:isShow', false) + this.$emit('refresh') + } break; case "assign": if (this.$route.query.flow_id) { @@ -432,7 +434,10 @@ export default { showClose: false, } ); - callback = () => (this.$emit('update:isShow', false),this.$emit('update:isShow', false)) + callback = () => { + this.$emit('update:isShow', false) + this.$emit('refresh') + } } callback(); } catch (err) {