从ticketdetail中打开查看作业详情

This commit is contained in:
caoqianming 2023-03-12 10:27:29 +08:00
parent 578f4a5e7c
commit 52476e76c1
3 changed files with 3 additions and 2 deletions

View File

@ -259,6 +259,7 @@
},
mounted() {
let that = this;
console.log(1, that.id, 2, that.wfId)
that.oplId = that.id; //ID
that.operationId = that.wfId; //zuoyeID
this.$nextTick(()=>{

View File

@ -196,7 +196,6 @@ export default {
getDept() {
this.$API.system.dept.list.req({ page: 0 , type__in: 'dept'}).then((res) => {
this.deptoptions = genTree(res);
});
},

View File

@ -211,7 +211,7 @@
</div>
</el-dialog>
<el-drawer :size="'50%'" v-model="showLimited" title="作业许可证详情" :close-on-click-modal="false">
<sc-fire :id="projectId"></sc-fire>
<sc-fire :id="projectId" :wfId="operationId"></sc-fire>
</el-drawer>
</template>
@ -381,6 +381,7 @@
this.$API.opm.opl.read.req(this.projectId).then((res) => {
debugger;
this.oplDetail = res;
this.operationId = res.operation;
});
},
showMoreInfo() {