Commit ca2c46fd authored by 耿迪迪's avatar 耿迪迪

作业单详情 gengdidi

parent 40119f34
......@@ -117,6 +117,16 @@
:workPermitId = "item.workPermitId"
:licenceNum = "item.licenceNum"
applyStatus="4"/>
<HeightWork v-if="item.specialWorkType == 'heightWork'"
:ref="item.specialWorkType"
:workPermitId = "item.workPermitId"
:licenceNum = "item.licenceNum"
applyStatus="4"/>
<BreakGround v-if="item.specialWorkType == 'breakGround'"
:ref="item.specialWorkType"
:workPermitId = "item.workPermitId"
:licenceNum = "item.licenceNum"
applyStatus="4"/>
</div>
</div>
......@@ -129,13 +139,17 @@
import NewEsign from "@/components/SaftyWork/NewEsign";
import FlareUp from "@/components/NewSaftyWork/FlareUp";
import BlindPlate from "@/components/NewSaftyWork/BlindPlate";
import HeightWork from "@/components/NewSaftyWork/HeightWork";
import BreakGround from "@/components/NewSaftyWork/BreakGround";
import { getSpecialWorkPermitByWorkPermitId } from "@/api/workPermit/specialPermit";
import { listSign } from "@/api/workPermit/workPermitSign";
export default {
components: {
NewEsign,
FlareUp,
BlindPlate
BlindPlate,
HeightWork,
BreakGround
},
name: "new-work-permit-detail",
props:{
......@@ -252,6 +266,7 @@
specialWorkPermit(){
getSpecialWorkPermitByWorkPermitId({workPermitId:this.certificateData.workPermitId}).then(res =>{
this.specialWorkPermits = res.data.specialWorkPermits;
console.log("fffffff---",this.specialWorkPermits)
for(let key in this.specialWorkPermits ){
this.$nextTick(() => {
listSign({ pageNum: 1,pageSize: 99999,permitId:this.specialWorkPermits[key].specialWorkPermitId}).then(res =>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment