Commit 1e7f05e8 authored by qiyaxin's avatar qiyaxin

fix(COP试验和检查表-质管):列表操作

parent 381d2703
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
</template> </template>
<template #default="scope"> <template #default="scope">
<!-- 查看 --> <!-- 查看 -->
<el-button link type="primary" @click="handleView1(scope.row)"> <el-button link style="color: #0154FB" @click="handleView1(scope.row)">
<div> <div>
<div>{{cn.view}}</div> <div>{{cn.view}}</div>
<div>{{en.view}}</div> <div>{{en.view}}</div>
...@@ -644,7 +644,7 @@ ...@@ -644,7 +644,7 @@
</template> </template>
<template #default="scope"> <template #default="scope">
<!-- 查看 --> <!-- 查看 -->
<el-button link type="primary" @click="handleView2(scope.row)"> <el-button link style="color: #0154FB" @click="handleView2(scope.row)">
<div> <div>
<div>{{cn.view}}</div> <div>{{cn.view}}</div>
<div>{{en.view}}</div> <div>{{en.view}}</div>
......
...@@ -436,21 +436,21 @@ ...@@ -436,21 +436,21 @@
</template> </template>
<template #default="scope"> <template #default="scope">
<!-- 查看 --> <!-- 查看 -->
<el-button link type="primary" @click="handleView(scope.row)"> <el-button link style="color: #0154FB" @click="handleView(scope.row)">
<div> <div>
<div>{{cn.view}}</div> <div>{{cn.view}}</div>
<div>{{en.view}}</div> <div>{{en.view}}</div>
</div> </div>
</el-button> </el-button>
<!-- 撤销 显示:控制计划状态不等于“已撤销”--> <!-- 撤销 显示:控制计划状态不等于“已撤销”-->
<el-button v-show="scope.row.controlPlanStatus !== 'plan_draft_revoked' " link type="danger" @click="handleUndo(scope.row)"> <el-button v-show="scope.row.controlPlanStatus !== 'plan_draft_revoked' " link style="color: #DF5454" @click="handleUndo(scope.row)">
<div> <div>
<div>{{cn.revoke}}</div> <div>{{cn.revoke}}</div>
<div>{{en.revoke}}</div> <div>{{en.revoke}}</div>
</div> </div>
</el-button> </el-button>
<!-- 删除 显示:控制计划为“已撤销”--> <!-- 删除 显示:控制计划为“已撤销”-->
<el-button v-show="scope.row.controlPlanStatus === 'plan_draft_revoked' " link type="danger" @click="handleDelete(scope.row.id)"> <el-button v-show="scope.row.controlPlanStatus === 'plan_draft_revoked' " link style="color: #DF5454" @click="handleDelete(scope.row.id)">
<div> <div>
<div>{{cn.delete}}</div> <div>{{cn.delete}}</div>
<div>{{en.delete}}</div> <div>{{en.delete}}</div>
...@@ -470,7 +470,7 @@ ...@@ -470,7 +470,7 @@
&& scope.row.keyProcessTaskStatus === 'plan_compilation_final_confirmed' && scope.row.keyProcessTaskStatus === 'plan_compilation_final_confirmed'
&& scope.row.copTestAndInspectionTaskStatus === 'plan_compilation_final_confirmed'" && scope.row.copTestAndInspectionTaskStatus === 'plan_compilation_final_confirmed'"
link link
type="warning" style="color: #EE9B3A"
@click="handleGenerateFile(scope.row)"> @click="handleGenerateFile(scope.row)">
<div> <div>
<div>{{cn.generateFile}}</div> <div>{{cn.generateFile}}</div>
...@@ -505,7 +505,7 @@ ...@@ -505,7 +505,7 @@
) )
" "
link link
type="warning" style="color: #EE9B3A"
@click="handleChange(scope.row)"> @click="handleChange(scope.row)">
<div> <div>
<div>{{cn.change}}</div> <div>{{cn.change}}</div>
......
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