|
|
@ -221,6 +221,10 @@ export default { |
|
|
|
type: Boolean, |
|
|
|
default: false, |
|
|
|
}, |
|
|
|
formType: { |
|
|
|
type: String, |
|
|
|
default: false, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
data() { |
|
|
@ -267,7 +271,7 @@ export default { |
|
|
|
getDetailsData(id) { |
|
|
|
this.loading = true; |
|
|
|
this.$http |
|
|
|
.post("/governance/icEvent/detail", {icEventId: id}) |
|
|
|
.post(`/governance/${this.formType == '12345'?'icEvent':'icEventOld'}/detail`, {icEventId: id}) |
|
|
|
.then((res) => { |
|
|
|
const {code, data, msg} = res.data; |
|
|
|
if (code === 0) { |
|
|
@ -279,10 +283,9 @@ export default { |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
getProcessData(id) { |
|
|
|
this.$http |
|
|
|
.post("/governance/icEvent/process", {icEventId: id}) |
|
|
|
.post(`/governance/${this.formType == '12345'?'icEvent':'icEventOld'}/process`, {icEventId: id}) |
|
|
|
.then((res) => { |
|
|
|
const {code, data, msg} = res.data; |
|
|
|
if (code === 0) { |
|
|
|