|
@ -301,7 +301,7 @@ const buttonTableClick = async (val, row) => { |
|
|
PreparetoissueMainApi.open(row.masterId).then(() => { |
|
|
PreparetoissueMainApi.open(row.masterId).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
getList() |
|
|
buttonBaseClick('refresh',null) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
console.log(err) |
|
|
console.log(err) |
|
@ -312,7 +312,7 @@ const buttonTableClick = async (val, row) => { |
|
|
PreparetoissueMainApi.close(row.masterId).then(() => { |
|
|
PreparetoissueMainApi.close(row.masterId).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
getList() |
|
|
buttonBaseClick('refresh',null) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
console.log(err) |
|
|
console.log(err) |
|
@ -324,7 +324,7 @@ const buttonTableClick = async (val, row) => { |
|
|
PreparetoissueMainApi.submit(row.masterId).then(() => { |
|
|
PreparetoissueMainApi.submit(row.masterId).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
getList() |
|
|
buttonBaseClick('refresh',null) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
console.log(err) |
|
|
console.log(err) |
|
@ -335,7 +335,7 @@ const buttonTableClick = async (val, row) => { |
|
|
PreparetoissueMainApi.reject(row.masterId).then(() => { |
|
|
PreparetoissueMainApi.reject(row.masterId).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
getList() |
|
|
buttonBaseClick('refresh',null) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
console.log(err) |
|
|
console.log(err) |
|
@ -347,7 +347,7 @@ const buttonTableClick = async (val, row) => { |
|
|
PreparetoissueMainApi.agree(row.masterId).then(() => { |
|
|
PreparetoissueMainApi.agree(row.masterId).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
getList() |
|
|
buttonBaseClick('refresh',null) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
console.log(err) |
|
|
console.log(err) |
|
@ -358,7 +358,7 @@ const buttonTableClick = async (val, row) => { |
|
|
PreparetoissueMainApi.publish(row.masterId).then(() => { |
|
|
PreparetoissueMainApi.publish(row.masterId).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
getList() |
|
|
buttonBaseClick('refresh',null) |
|
|
PreparetoissueMainApi.generateIssueRequest(row.number) |
|
|
PreparetoissueMainApi.generateIssueRequest(row.number) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
@ -370,7 +370,7 @@ const buttonTableClick = async (val, row) => { |
|
|
PreparetoissueMainApi.resetting(row.masterId).then(() => { |
|
|
PreparetoissueMainApi.resetting(row.masterId).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
getList() |
|
|
buttonBaseClick('refresh',null) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
console.log(err) |
|
|
console.log(err) |
|
@ -382,7 +382,7 @@ const buttonTableClick = async (val, row) => { |
|
|
await PreparetoissueMainApi.generateIssueRequest(row.number).then(() => { |
|
|
await PreparetoissueMainApi.generateIssueRequest(row.number).then(() => { |
|
|
message.success(t('common.createSuccess')) |
|
|
message.success(t('common.createSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
getList() |
|
|
buttonBaseClick('refresh',null) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
console.log(err) |
|
|
console.log(err) |
|
@ -445,7 +445,7 @@ const handleDelete = async (id: number) => { |
|
|
message.success(t('common.delSuccess')) |
|
|
message.success(t('common.delSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
// 刷新列表 |
|
|
// 刷新列表 |
|
|
await getList() |
|
|
buttonBaseClick('refresh',null) |
|
|
} catch {} |
|
|
} catch {} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -514,7 +514,7 @@ const submitForm = async (formType, submitData) => { |
|
|
} else { |
|
|
} else { |
|
|
await PreparetoissueMainApi.updatePreparetoissueMain(data) |
|
|
await PreparetoissueMainApi.updatePreparetoissueMain(data) |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
getList() |
|
|
buttonBaseClick('refresh',null) |
|
|
} |
|
|
} |
|
|
formRef.value.dialogVisible = false |
|
|
formRef.value.dialogVisible = false |
|
|
// 刷新当前列表 |
|
|
// 刷新当前列表 |
|
|