普通作业作业前照片测试
This commit is contained in:
parent
fda36d30aa
commit
f3bffa50ca
|
@ -1,6 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<!--基本信息!-->
|
<!--基本信息!-->
|
||||||
<el-main v-loading="mainLoading" style="margin-top: -60px;">
|
<el-main v-loading="mainLoading" style="margin-top: -10px;">
|
||||||
|
<div class="exportBtn" @click="handleExport">导出</div>
|
||||||
<div id="exportDiv" class="exportDiv">
|
<div id="exportDiv" class="exportDiv">
|
||||||
<p style="font-weight: 600px;font-size: 18px;text-align: center;margin-top: 40px;">{{form.cate_name}}作业许可证<span>({{ form.number }})</span></p>
|
<p style="font-weight: 600px;font-size: 18px;text-align: center;margin-top: 40px;">{{form.cate_name}}作业许可证<span>({{ form.number }})</span></p>
|
||||||
<p class="tables-title">作业信息</p>
|
<p class="tables-title">作业信息</p>
|
||||||
|
@ -96,6 +97,15 @@
|
||||||
<el-descriptions-item label="监控状态:" span=2 v-if="form.mtask_uid">
|
<el-descriptions-item label="监控状态:" span=2 v-if="form.mtask_uid">
|
||||||
<span>进行中</span>
|
<span>进行中</span>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="作业前照片:" span=2 v-if="form.create_imgs&&form.create_imgs.length>0">
|
||||||
|
<el-image
|
||||||
|
v-for="item in form.create_imgs_"
|
||||||
|
:key="item.id"
|
||||||
|
:src="item.path"
|
||||||
|
style="width: 100px;height: 80px;vertical-align: middle;"
|
||||||
|
></el-image>
|
||||||
|
</el-descriptions-item>
|
||||||
|
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</el-card>
|
</el-card>
|
||||||
<!-- <p class="tables-title" v-if="ticketDetailState">进度流程</p>
|
<!-- <p class="tables-title" v-if="ticketDetailState">进度流程</p>
|
||||||
|
@ -161,22 +171,25 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="logsData.length==0" class="noDataTr"> 无处理日志</tr>
|
<tr v-if="logsData.length==0" class="noDataTr"> 无处理日志</tr>
|
||||||
<tr class="tableTr" v-for="item in logsData" :key="item.id">
|
<tr class="tableTr" v-for="item in logsData" :key="item.id">
|
||||||
<td class="tableTd">{{ item.state_.name }}</td>
|
<td class="tableTd" v-if="item.participant_str==null">{{ item.state_.name }}</td>
|
||||||
<td class="tableTd attributeTd">{{ typeOptions[item.intervene_type] }}</td>
|
<td class="tableTd attributeTd" v-if="item.participant_str==null">{{ typeOptions[item.intervene_type] }}</td>
|
||||||
<td class="tableTd attributeTd">
|
<td class="tableTd attributeTd" v-if="item.participant_str==null">
|
||||||
<span v-if="item.transition_attribute == 1" class="successText">同意</span>
|
<span v-if="item.transition_attribute == 1" class="successText">同意</span>
|
||||||
<span v-else class="dangerText">拒绝</span>
|
<span v-else-if="item.transition_attribute == 2" class="successText">拒绝</span>
|
||||||
|
<span v-else class="dangerText"></span>
|
||||||
</td>
|
</td>
|
||||||
<td class="tableTd">{{ item.suggestion }}</td>
|
<td class="tableTd" v-if="item.participant_str==null">{{ item.suggestion }}</td>
|
||||||
<td class="tableTd">
|
<td class="tableTd" v-if="item.participant_str==null">
|
||||||
<span v-if="item.participant_">{{item.participant_.name}}</span>
|
<span v-if="item.participant_">{{item.participant_.name}}</span>
|
||||||
<span v-if="item.participant_str">{{item.participant_str}}</span>
|
<span v-if="item.participant_str">{{item.participant_str}}</span>
|
||||||
|
<!-- <el-image :src="item.signature" style="width: 60px"></el-image> -->
|
||||||
|
<!-- <img style="width:60px;vertical-align: bottom;" src="./../../../public/img/signature.jpg"> -->
|
||||||
</td>
|
</td>
|
||||||
<td class="tableTd">{{ item.update_time }}</td>
|
<td class="tableTd" v-if="item.participant_str==null">{{ item.update_time }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="exportBtn" @click="handleExport">导出</div>
|
|
||||||
</el-main>
|
</el-main>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -419,9 +432,9 @@ td{
|
||||||
border-bottom: 1px solid #e4e7ed;
|
border-bottom: 1px solid #e4e7ed;
|
||||||
border-right: 1px solid #e4e7ed;
|
border-right: 1px solid #e4e7ed;
|
||||||
}
|
}
|
||||||
/* .exportDiv{
|
.exportDiv{
|
||||||
padding-top: 20px;
|
margin-top: -30px;
|
||||||
} */
|
}
|
||||||
.exportBtn{
|
.exportBtn{
|
||||||
width: 120px;
|
width: 120px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
@ -431,7 +444,7 @@ td{
|
||||||
background: #438af4;
|
background: #438af4;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin-top: 10px;
|
cursor: pointer;
|
||||||
box-shadow: 0 0 9px 0px rgba(0,0,0,.2);
|
/* box-shadow: 0 0 9px 0px rgba(0,0,0,.2); */
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -332,7 +332,8 @@ body .tox-tinymce-aux {
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-drawer__header {
|
.el-drawer__header {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 0;
|
||||||
|
// margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-drawer .el-drawer__body {
|
.el-drawer .el-drawer__body {
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</scTable>
|
</scTable>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-drawer :size="'50%'" v-model="showLimited">
|
<el-drawer :size="'50%'" v-model="showLimited" class="scOplDrawer" :show-close="showClose" id="scOplDrawer">
|
||||||
<sc-fire :id="oplId" :wfId="operationId"></sc-fire>
|
<sc-fire :id="oplId" :wfId="operationId"></sc-fire>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
</el-main>
|
</el-main>
|
||||||
|
@ -103,6 +103,7 @@ export default {
|
||||||
save: false,
|
save: false,
|
||||||
permission: false,
|
permission: false,
|
||||||
},
|
},
|
||||||
|
showClose:false,
|
||||||
mainLoading: false,
|
mainLoading: false,
|
||||||
apiObj: [],
|
apiObj: [],
|
||||||
query: {},
|
query: {},
|
||||||
|
@ -280,3 +281,11 @@ export default {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.scOplDrawer{
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
#scOplDrawer{
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -309,6 +309,7 @@
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
debugger;
|
debugger;
|
||||||
|
this.submitLoading = false;
|
||||||
if (this.cateType === 'visit') {
|
if (this.cateType === 'visit') {
|
||||||
this.getVisit();
|
this.getVisit();
|
||||||
} else if (this.cateType === 'rpj') {
|
} else if (this.cateType === 'rpj') {
|
||||||
|
@ -445,10 +446,10 @@
|
||||||
params.ticket_data.close_dos = this.form.close_dos;
|
params.ticket_data.close_dos = this.form.close_dos;
|
||||||
}
|
}
|
||||||
this.$API.wf.ticket.ticketHandle.req(this.ticketId, params).then(res => {
|
this.$API.wf.ticket.ticketHandle.req(this.ticketId, params).then(res => {
|
||||||
this.submitLoading = false;
|
|
||||||
if (res.err_msg) {
|
if (res.err_msg) {
|
||||||
} else {
|
} else {
|
||||||
this.$router.push("dutywork");
|
this.$router.push("dutywork");
|
||||||
|
this.submitLoading = false;
|
||||||
}
|
}
|
||||||
}).catch(e=>{this.submitLoading=false;})
|
}).catch(e=>{this.submitLoading=false;})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue