许可证添加流程进度

This commit is contained in:
shijing 2023-06-09 13:13:49 +08:00
parent 49e8368eaf
commit b6fd672062
1 changed files with 16 additions and 12 deletions

View File

@ -49,6 +49,10 @@
</el-descriptions-item>
</el-descriptions>
</el-card>
<p class="tables-title">进度流程</p>
<el-card shadow="hover">
<work-step v-if="ticketDetail.state" ref="workStep" :ticket="ticketDetail"></work-step>
</el-card>
<p class="tables-title">许可证信息</p>
<el-card shadow="hover">
<el-descriptions column=2 id="opl__opre">
@ -109,7 +113,7 @@
<el-image
v-for = "item in form.create_imgs_"
:key = "item.id"
style="margin-right: 8px;height: 146px;height:146px;"
style="margin-right: 8px;height: 120px;"
:src="item.path"
:preview-src-list="[item.path]"
fit="cover"
@ -127,10 +131,6 @@
</el-descriptions-item>
</el-descriptions>
</el-card>
<!-- <p class="tables-title" v-if="ticketDetailState">进度流程</p>
<el-card shadow="hover" v-if="ticketDetailState">
<work-step v-if="ticketDetail.state" ref="workStep" :ticket="ticketDetail"></work-step>
</el-card> -->
<p class="tables-title">作业人员</p>
<table class="tables" cellspacing="0">
<tr class="tableTh tableThS">
@ -241,7 +241,6 @@
cate: "",
risks_checked: [],
},
ticketDetailState:false,
oplcateCode: 'fire',
operationId: "",
oplId: "",
@ -310,12 +309,7 @@
exportDiv.style.width = "100%"
},
// handleExport(){
// let bdHtml = window.document.body.innerHTML;
// document.body.innerHTML = document.getElementById('exportDiv').innerHTML;
// window.print();
// location.reload();
// },
//oplId
getOplData() {
let that = this;
@ -326,6 +320,10 @@
that.oplcateCode = res.cate_code;
that.ticketId = res.ticket;
that.operationId = res.operation; //zuoyeID
that.$API.wf.ticket.ticketItem.req(that.ticketId).then((ress) => {
that.ticketDetail = ress;
that.ticketDetailState = true;
}).catch(e=>{});
that.getOperation();
res.create_imgs_.forEach(item=>{
console.log(item)
@ -379,9 +377,15 @@
</script>
<style scoped>
.el-drawer__header {
margin-bottom: 0px;
}
.el-step__title {
font-size: 14px;
line-height: 20px;
}
.btnState{
font-size: 12px;
padding: 0 9px;