From 68270bc858a465bc482820586a7ccb534b6c3565 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期一, 17 十月 2022 18:40:57 +0800 Subject: [PATCH] 新增日志管理 --- src/views/operate/management/myIndex/index.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/operate/management/myIndex/index.vue b/src/views/operate/management/myIndex/index.vue index f39c4ae..ee0a296 100644 --- a/src/views/operate/management/myIndex/index.vue +++ b/src/views/operate/management/myIndex/index.vue @@ -31,7 +31,7 @@ <el-link @click="JumpView(scope.row)">{{scope.row.code}}</el-link> </template> </el-table-column> - <el-table-column prop="eventSource" label="闂鏉ユ簮" min-width="7"> + <el-table-column prop="eventSource" label="闂鏉ユ簮" min-width="8"> <template slot-scope="scope"> <span>{{scope.row.eventSource === 2 ? '浜哄伐涓婃姤' : '瑙嗛涓婁紶'}}</span> </template> @@ -62,8 +62,9 @@ <div class="btn"> <!-- v-if="instatus===7 ? true : false" --> <span @click="handleExamine(scope.row)" v-if="instatus===7">瀹℃牳</span> - <!-- <span class="line" v-if="instatus===7 ? true : false">|</span> --> <span @click="handleClosure(scope.row)" v-if="instatus===8">缁撴</span> + <span class="line" v-if="instatus !==9">|</span> + <span @click="JumpView(scope.row)">鏌ョ湅</span> </div> </template> </el-table-column> @@ -71,12 +72,14 @@ <!-- 瀹℃牳椤甸潰 --> <el-dialog :visible.sync="dialogExamine" width="80%" title="鍩虹淇℃伅(浜哄伐)" v-if="dialogExamine" :before-close="handleClose"> - <MyExamine :info="info" @closeDialog="closeDialog"></MyExamine> + <MyExamine :info="info" v-if="myproblem === 1" @closeDialog="closeDialog"></MyExamine> + <MyIllExamine :info="info" v-else @closeDialog="closeDialog"></MyIllExamine> </el-dialog> <!-- 缁撴椤甸潰 --> <el-dialog :visible.sync="dialogClosure" width="80%" title="鍩虹淇℃伅(浜哄伐)" v-if="dialogClosure" :before-close="handleClose"> - <MyClosure :info="info" @closeDialog="closeDialog"></MyClosure> + <MyClosure :info="info" v-if="myproblem === 1" @closeDialog="closeDialog"></MyClosure> + <MyIllClosure :info="info" v-else @closeDialog="closeDialog"></MyIllClosure> </el-dialog> <!-- 璇︽儏椤甸潰 --> <el-dialog :visible.sync="dialogView" width="80%" title="鍩虹淇℃伅(浜哄伐)" v-if="dialogView" @@ -115,12 +118,14 @@ <script> import MyExamine from './components/examine' import MyClosure from './components/closure' +import MyIllExamine from './components/illExamine' +import MyIllClosure from './components/illclosure' import MyDetail from '@/components/detail' import MyIllDetail from '@/components/illdetail' import helper from '@/utils/mydate' export default { components: { - MyExamine,MyClosure,MyDetail,MyIllDetail + MyExamine,MyClosure,MyDetail,MyIllDetail,MyIllExamine,MyIllClosure }, data() { return { -- Gitblit v1.8.0