|
@ -391,7 +391,8 @@ export default { |
|
|
intro: '', |
|
|
intro: '', |
|
|
pushDep: '' |
|
|
pushDep: '' |
|
|
}, |
|
|
}, |
|
|
options: [] |
|
|
options: [], |
|
|
|
|
|
contentDetail: '' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
@ -467,6 +468,8 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
handleUpdate(row) { |
|
|
handleUpdate(row) { |
|
|
|
|
|
console.log("row") |
|
|
|
|
|
console.log(row) |
|
|
const that = this |
|
|
const that = this |
|
|
that.temp = Object.assign({}, row) // copy obj |
|
|
that.temp = Object.assign({}, row) // copy obj |
|
|
console.log(that.temp) |
|
|
console.log(that.temp) |
|
@ -489,6 +492,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
async Commit() { |
|
|
async Commit() { |
|
|
const that = this |
|
|
const that = this |
|
|
|
|
|
console.log("=====>",that.temp.content) |
|
|
that.temp.type = that.typeList[`${that.policyType1}`] |
|
|
that.temp.type = that.typeList[`${that.policyType1}`] |
|
|
that.temp.auditStatus = that.status[`${that.policyStatus1}`] |
|
|
that.temp.auditStatus = that.status[`${that.policyStatus1}`] |
|
|
for (let i = 0; i < that.temp.projectLabels.length; i++) { |
|
|
for (let i = 0; i < that.temp.projectLabels.length; i++) { |
|
|