|
@@ -259,10 +259,22 @@ const onCarrySpotChecksClose = () => {
|
|
|
}
|
|
|
|
|
|
//编写结论
|
|
|
-const writingConclusion = () => {
|
|
|
- router.push({
|
|
|
- name: 'transfer-writing-conclusion',
|
|
|
+const writingConclusion = async () => {
|
|
|
+ // router.push({
|
|
|
+ // name: 'transfer-writing-conclusion',
|
|
|
+ // })
|
|
|
+ const { error, code, data, msg } = await initialgApi.startInspect({
|
|
|
+ projectId: projectId.value,
|
|
|
+ type:2,
|
|
|
+
|
|
|
})
|
|
|
+ if (!error && code === 200) {
|
|
|
+
|
|
|
+ router.push({ name: 'transfer-writing-conclusion' })
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//返回主页
|