xy 11 months ago
parent 94fcd7e74c
commit d24c9e9bcf

@ -2,8 +2,8 @@
ENV = 'development' ENV = 'development'
# base api # base api
VUE_APP_BASE_API='http://192.167.20.118:8080/' #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='https://cz-hjjc-test.115.langye.net'
VUE_APP_UPLOAD_API='https://cz-hjjc-test.115.langye.net/api/upload-file' VUE_APP_UPLOAD_API='https://cz-hjjc-test.115.langye.net/api/upload-file'
VUE_APP_PREVIEW=//view.langye.net/preview/onlinePreview VUE_APP_PREVIEW=//view.langye.net/preview/onlinePreview
VUE_APP_MODULE_NAME=oa VUE_APP_MODULE_NAME=oa

@ -2,3 +2,4 @@ build/*.js
src/assets src/assets
public public
dist dist
src/utils/formBuilder.js

@ -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() { async getConfig() {
@ -411,7 +410,10 @@ export default {
if (this.$route.query.flow_id) { if (this.$route.query.flow_id) {
copyForm["temporary_save"] = 1; 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; break;
case "assign": case "assign":
if (this.$route.query.flow_id) { if (this.$route.query.flow_id) {
@ -432,7 +434,10 @@ export default {
showClose: false, showClose: false,
} }
); );
callback = () => (this.$emit('update:isShow', false),this.$emit('update:isShow', false)) callback = () => {
this.$emit('update:isShow', false)
this.$emit('refresh')
}
} }
callback(); callback();
} catch (err) { } catch (err) {

Loading…
Cancel
Save