| | |
| | | }; |
| | | }, |
| | | mounted() { |
| | | this.getnetworkCardList(); |
| | | this.buttonClick(this.active) |
| | | }, |
| | | watch: {}, |
| | | methods: { |
| | |
| | | <span class="title-item" |
| | | >工单编号: |
| | | <span class="color_4efefa">{{ |
| | | taskData.Order.workOrderId || "" |
| | | taskData.Order.workOrderId || "--" |
| | | }}</span> |
| | | </span> |
| | | <span class="title-item" |
| | | >当前工序: |
| | | <span class="color_4efefa">{{ |
| | | taskData.Procedure.procedure.procedureName || "" |
| | | taskData.Procedure.procedure.procedureName || "--" |
| | | }}</span> |
| | | </span> |
| | | <span class="title-item" |
| | |
| | | </span> |
| | | </span> --> |
| | | </div> |
| | | <div class="gongx" v-if="taskData.AllProcedures"> |
| | | <el-steps :active="taskData.CurrentProcedureIndex?taskData.CurrentProcedureIndex:0" finish-status="success" class="steps"> |
| | | <div class="gongx"> |
| | | <el-steps v-if="taskData.AllProcedures" :active="taskData.CurrentProcedureIndex?taskData.CurrentProcedureIndex:0" finish-status="success" class="steps"> |
| | | <el-step icon="" :title="item" v-for="(item,index) in taskData.AllProcedures" :key="index"></el-step> |
| | | </el-steps> |
| | | </div> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | activeName: 2, |
| | | activeName: 1, |
| | | progress: 70, //进度 |
| | | passrate: 30, //合格率 |
| | | production: 25, //生产中 |
| | |
| | | }, |
| | | inputMaterials: [], |
| | | outputMaterials: [], |
| | | procedureList: [], |
| | | procedureList: [ |
| | | // { |
| | | // number: 11111, |
| | | // name: "工艺", |
| | | // } |
| | | ], |
| | | }; |
| | | this.Tasks = []; |
| | | getTaskInfo({ page: 1, pageSize: this.activeName }).then((res) => { |
| | |
| | | }, 60000); |
| | | } |
| | | } |
| | | debugger |
| | | if(this.activeName==2){ |
| | | this.Tasks[1]=null |
| | | } |
| | | }); |
| | | |
| | | // this.Tasks.push(object) |
| | | // this.Tasks.push(object) |
| | | }, |
| | | getStartArr(){ |
| | | for (let i in this.Tasks) { |
| | |
| | | .el-carousel__container{ |
| | | overflow-y:auto; |
| | | } |
| | | // .el-carousel__item{ |
| | | // min-height:116px; |
| | | // } |
| | | .el-carousel__item{ |
| | | // height:auto; |
| | | min-height:160px; |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | align-content: center; |
| | | justify-content: space-around; |
| | | align-items: center; |
| | | overflow:hidden; |
| | | .title-item { |
| | | width: calc(33.333% - 50px); |
| | | width: calc((100% - 50px)/3); |
| | | float: left; |
| | | margin-right: 10px; |
| | | padding: 15px 20px; |
| | | padding: 10px 5px; |
| | | text-align: center; |
| | | border-radius: 4px; |
| | | display: inline-block; |
| | |
| | | // border: 1px solid #ccc; |
| | | background: #6b83ff; |
| | | border-radius: 5px; |
| | | margin-top: 20px; |
| | | margin-top: 10px; |
| | | color: #333; |
| | | position: relative; |
| | | .card_top-2, |