update 标准法规入库/变更流程
This commit is contained in:
@@ -497,9 +497,10 @@ export default {
|
|||||||
})
|
})
|
||||||
// 获取按钮清单
|
// 获取按钮清单
|
||||||
this.btnList = FGEntryChangeProcessNode.btnOfValue(this.$route.query.taskName)
|
this.btnList = FGEntryChangeProcessNode.btnOfValue(this.$route.query.taskName)
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
@@ -721,7 +722,7 @@ export default {
|
|||||||
// 处理业务信息
|
// 处理业务信息
|
||||||
this.$refs.ruleForm.validate(valid => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
const formInline = JSON.parse(JSON.stringify(this.formInline))
|
const formInline = Object.assign({ ...this.defaultValue }, { ...this.formInline })
|
||||||
Object.keys(formInline).forEach(res => {
|
Object.keys(formInline).forEach(res => {
|
||||||
if (formInline[res] instanceof Array) {
|
if (formInline[res] instanceof Array) {
|
||||||
if (formInline[res][0] instanceof Object) {
|
if (formInline[res][0] instanceof Object) {
|
||||||
@@ -764,7 +765,7 @@ export default {
|
|||||||
* 保存
|
* 保存
|
||||||
*/
|
*/
|
||||||
handleSave () {
|
handleSave () {
|
||||||
const formInline = JSON.parse(JSON.stringify(this.formInline))
|
const formInline = Object.assign({ ...this.defaultValue }, { ...this.formInline })
|
||||||
Object.keys(formInline).forEach(res => {
|
Object.keys(formInline).forEach(res => {
|
||||||
if (formInline[res] instanceof Array) {
|
if (formInline[res] instanceof Array) {
|
||||||
if (formInline[res][0] instanceof Object) {
|
if (formInline[res][0] instanceof Object) {
|
||||||
|
|||||||
Reference in New Issue
Block a user