Commit 77ccd8ea authored by jiaxu.yan's avatar jiaxu.yan

fix: 70661

parent c65ea929
...@@ -682,14 +682,23 @@ export default { ...@@ -682,14 +682,23 @@ export default {
}) })
}, },
/** /**
*确认体系审查 *确认车型审查
*/ */
submitFrom() { submitFrom() {
carReviewTaskConfirm({ this.$modal
taskId: this.taskId .confirm('是否确认提交表单,提交后不可修改', {
}).then(res => { type: 'warning',
this.$router.go(-1) title: '提示',
}) closeOnClickModal: false
})
.then(async () => {
carReviewTaskConfirm({
taskId: this.taskId
}).then(res => {
this.$router.go(-1)
})
})
.catch(() => {})
}, },
/** /**
*确认细则内容变更 *确认细则内容变更
......
...@@ -700,14 +700,23 @@ export default { ...@@ -700,14 +700,23 @@ export default {
*确认体系审查 *确认体系审查
*/ */
submitFrom() { submitFrom() {
reviewTaskConfirm({ this.$modal
taskId: this.taskId .confirm('是否确认提交表单,提交后不可修改', {
}).then(res => { type: 'warning',
this.$modal.msgSuccess('确认提交成功') title: '提示',
this.$router.push({ closeOnClickModal: false
path: '/processing/unprocessed-review'
}) })
}) .then(async () => {
reviewTaskConfirm({
taskId: this.taskId
}).then(res => {
this.$modal.msgSuccess('确认提交成功')
this.$router.push({
path: '/processing/unprocessed-review'
})
})
})
.catch(() => {})
}, },
confirmDetailChange() { confirmDetailChange() {
reviewDetailsConfirm({ reviewDetailsConfirm({
......
...@@ -434,7 +434,6 @@ export default { ...@@ -434,7 +434,6 @@ export default {
* @param item 对象 * @param item 对象
*/ */
handleRetentionFile(item) { handleRetentionFile(item) {
console.log(item)
this.$router.push({ this.$router.push({
path: '/processing/retention-file?id=' + item.id path: '/processing/retention-file?id=' + item.id
}) })
...@@ -457,19 +456,27 @@ export default { ...@@ -457,19 +456,27 @@ export default {
* @param {} type 单项数据 * @param {} type 单项数据
*/ */
async startTask(item) { async startTask(item) {
const res = await reviewTaskStart({ this.$modal
id: item.id .confirm('是否确认开始?', {
}) type: 'warning',
if (res.code === 200) { title: '提示',
this.loadData() closeOnClickModal: false
} else { })
if (res.msg) { .then(async () => {
this.$message.error(res.msg) const res = await reviewTaskStart({
} id: item.id
} })
if (res.code === 200) {
this.loadData()
} else {
if (res.msg) {
this.$message.error(res.msg)
}
}
})
.catch(() => {})
}, },
goDetail(id) { goDetail(id) {
console.log(111)
this.$router.push({ this.$router.push({
path: '/task/task-detail?id=' + id path: '/task/task-detail?id=' + id
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment