From 8c84adf2d3cd83d0c5f8ee77d3fb615ae9a02ba7 Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期二, 11 十月 2022 17:43:58 +0800 Subject: [PATCH] Default Changelist --- src/views/specialWorkSystem/workTicket/myJobApply/index.vue | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/views/specialWorkSystem/workTicket/myJobApply/index.vue b/src/views/specialWorkSystem/workTicket/myJobApply/index.vue index eadb500..5ed89df 100644 --- a/src/views/specialWorkSystem/workTicket/myJobApply/index.vue +++ b/src/views/specialWorkSystem/workTicket/myJobApply/index.vue @@ -43,12 +43,12 @@ <el-tag :type="scope.row.status==2?'success':(scope.row.status==8||scope.row.status==9)?'warning':'danger'">{{ scope.row.statusDesc }}</el-tag> </template> </el-table-column> - <el-table-column fixed="right" label="操作" align="center" width="250"> + <el-table-column fixed="right" label="操作" align="center" width="300"> <template #default="scope"> <el-button link type="primary" size="small" :icon="View" @click="viewRecord(scope.row)">查看</el-button> <el-button link type="success" size="small" :icon="Finished" @click="viewStatus(scope.row)">进度</el-button> <el-button link type="warning" size="small" :icon="Delete" @click="deleteRecordBtn(scope.row)">取消</el-button> - <el-button link type="primary" size="small" :icon="Download" @click="downLoadBtn(scope.row)">导出</el-button> + <el-button :disabled="scope.row.status == 7 ? false : true" link type="primary" size="small" :icon="Download" @click="downLoadBtn(scope.row)">导出作业票</el-button> </template> </el-table-column> </el-table> @@ -87,13 +87,13 @@ <div class="stepCard"> <el-card class="box-card" shadow="always"> <div class="text"> - 审批结果:<span>{{ item.approvalResultDesc }}</span> + 审批结果:<span class="bold-text">{{ item.approvalResultDesc }}</span> </div> <div class="text"> - 审批类型:<span>{{ item.typeDesc }}</span> + 审批类型:<span class="bold-text">{{ item.typeDesc }}</span> </div> <div class="text" v-if="item.auditTypeDesc"> - 审批类型:<span>{{ item.auditTypeDesc }}</span> + 审批类型:<span class="bold-text">{{ item.auditTypeDesc }}</span> </div> <div class="text" v-show="item.startApprovalTime != null"> 开始时间:<span>{{ item.startApprovalTime }}</span> @@ -132,7 +132,7 @@ </div> </div> </div> - <div class="text" v-show="item.expFinishApprovalTime != null"> + <div class="text" v-show="item.expFinishApprovalTime && item.expFinishApprovalTime != null"> 期望结束时间:<span>{{ item.expFinishApprovalTime }}</span> </div> <div class="text" v-show="item.finishApprovalTime != null"> @@ -320,7 +320,7 @@ // 填写表单 const toApply = () => { router.push({ - path: 'workApply' + path: 'apply' }); }; @@ -352,12 +352,13 @@ } }; - // 分页获取工作时间组列表 + // 分页获取 const getListByPage = async () => { const data = { pageSize: state.pageSize1, pageIndex: state.pageIndex1, searchParams: { workType: state.searchWord } }; let res = await workApplyApi().getApplyListPage(data); if (res.data.code === '200') { state.applyData = JSON.parse(JSON.stringify(res.data.data)); + console.log(state.applyData,'applyData') state.applyData = state.applyData.map((item) => { if (item.operators == null || item.operators == []) { item.operators = []; @@ -693,10 +694,13 @@ padding-left: 10px; span { - font-weight: bolder; color: #409eff; } + .bold-text{ + font-weight: bolder; + } + &:last-of-type { margin-bottom: 0; } -- Gitblit v1.9.2