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() {
this.$modal
.confirm('是否确认提交表单,提交后不可修改', {
type: 'warning',
title: '提示',
closeOnClickModal: false
})
.then(async () => {
carReviewTaskConfirm({ carReviewTaskConfirm({
taskId: this.taskId taskId: this.taskId
}).then(res => { }).then(res => {
this.$router.go(-1) this.$router.go(-1)
}) })
})
.catch(() => {})
}, },
/** /**
*确认细则内容变更 *确认细则内容变更
......
...@@ -700,6 +700,13 @@ export default { ...@@ -700,6 +700,13 @@ export default {
*确认体系审查 *确认体系审查
*/ */
submitFrom() { submitFrom() {
this.$modal
.confirm('是否确认提交表单,提交后不可修改', {
type: 'warning',
title: '提示',
closeOnClickModal: false
})
.then(async () => {
reviewTaskConfirm({ reviewTaskConfirm({
taskId: this.taskId taskId: this.taskId
}).then(res => { }).then(res => {
...@@ -708,6 +715,8 @@ export default { ...@@ -708,6 +715,8 @@ export default {
path: '/processing/unprocessed-review' 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,6 +456,13 @@ export default { ...@@ -457,6 +456,13 @@ export default {
* @param {} type 单项数据 * @param {} type 单项数据
*/ */
async startTask(item) { async startTask(item) {
this.$modal
.confirm('是否确认开始?', {
type: 'warning',
title: '提示',
closeOnClickModal: false
})
.then(async () => {
const res = await reviewTaskStart({ const res = await reviewTaskStart({
id: item.id id: item.id
}) })
...@@ -467,9 +473,10 @@ export default { ...@@ -467,9 +473,10 @@ export default {
this.$message.error(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