|
@@ -202,7 +202,8 @@ export default {
|
|
btnLoading: false,
|
|
btnLoading: false,
|
|
loading: false,
|
|
loading: false,
|
|
optionLoading: false,
|
|
optionLoading: false,
|
|
- tableData: []
|
|
|
|
|
|
+ tableData: [],
|
|
|
|
+ change:false,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -243,11 +244,12 @@ export default {
|
|
this.projectId = id
|
|
this.projectId = id
|
|
this.drawer = true
|
|
this.drawer = true
|
|
this.searchOption.projectId = this.projectId
|
|
this.searchOption.projectId = this.projectId
|
|
|
|
+ this.change = false
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
close() {
|
|
close() {
|
|
this.drawer = false
|
|
this.drawer = false
|
|
- this.$emit('close',this.projectId)
|
|
|
|
|
|
+ this.$emit('close',this.projectId,this.change)
|
|
},
|
|
},
|
|
close2() {
|
|
close2() {
|
|
this.lockOption = false
|
|
this.lockOption = false
|
|
@@ -477,6 +479,7 @@ export default {
|
|
this.$api.updateCustomField(this.ruleForm).then(response => {
|
|
this.$api.updateCustomField(this.ruleForm).then(response => {
|
|
this.$message.success('编辑成功')
|
|
this.$message.success('编辑成功')
|
|
this.btnLoading = false
|
|
this.btnLoading = false
|
|
|
|
+ this.change = true
|
|
this.getList()
|
|
this.getList()
|
|
this.cancel()
|
|
this.cancel()
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
@@ -486,6 +489,7 @@ export default {
|
|
this.$api.addCustomField(this.ruleForm).then(response => {
|
|
this.$api.addCustomField(this.ruleForm).then(response => {
|
|
this.$message.success('新增成功')
|
|
this.$message.success('新增成功')
|
|
this.btnLoading = false
|
|
this.btnLoading = false
|
|
|
|
+ this.change = true
|
|
this.getList()
|
|
this.getList()
|
|
this.cancel()
|
|
this.cancel()
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
@@ -511,6 +515,7 @@ export default {
|
|
this.$api.deleteCustomField(ids).then(response => {
|
|
this.$api.deleteCustomField(ids).then(response => {
|
|
this.$message.success('删除成功')
|
|
this.$message.success('删除成功')
|
|
this.loading = false
|
|
this.loading = false
|
|
|
|
+ this.change = true
|
|
this.getList()
|
|
this.getList()
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
this.loading = false
|
|
this.loading = false
|