| | |
| | | <vol-box |
| | | v-model="showDetialBox" |
| | | :lazy="true" |
| | | width="1200px" |
| | | width="1400px" |
| | | :padding="15" |
| | | title="ä»»å¡è¯¦æ
" |
| | | > |
| | |
| | | <el-table-column type="index" width="50"> </el-table-column> |
| | | <el-table-column prop="taskNum" label="ä»»å¡å·" width="90"> |
| | | </el-table-column> |
| | | <el-table-column prop="taskState" label="ä»»å¡ç¶æ" width="90"> |
| | | <!-- <el-table-column prop="taskState" label="ä»»å¡ç¶æ" width="90"> |
| | | </el-table-column> --> |
| | | <el-table-column prop="taskStateremark" label="ä¸ä¸æ§è¡ç¶æ" width="90"> |
| | | </el-table-column> |
| | | <el-table-column prop="currentAddress" label="å½åä½ç½®" width="90"> |
| | | <el-table-column prop="rgvTaskTyperemark" label="RGVä¸ä¸æ§è¡ç¶æ" width="90"> |
| | | </el-table-column> |
| | | <el-table-column prop="nextAddress" label="ä¸ä¸ä½ç½®" width="90"> |
| | | <el-table-column prop="currentAddress" label="å½åæ§è¡ç¹" width="90"> |
| | | </el-table-column> |
| | | <el-table-column prop="nextAddress" label="ä¸ä¸æ§è¡ç¹" width="90"> |
| | | </el-table-column> |
| | | <el-table-column prop="isManual" label="æ¯å¦äººå·¥æä½" width="120"> |
| | | </el-table-column> |
| | | <el-table-column prop="isNormal" label="æ¯å¦æ£å¸¸" width="90"> |
| | | </el-table-column> |
| | | <el-table-column prop="description" label="æè¿°"> </el-table-column> |
| | | |
| | | <el-table-column prop="createDate" label="å建æ¶é´" width="180"> |
| | | </el-table-column> |
| | | <el-table-column prop="remark" label="夿³¨" width="180"> |
| | | </el-table-column> |
| | | <el-table-column prop="description" label="æè¿°"> </el-table-column> |
| | | <!-- <el-table-column prop="remark" label="夿³¨" width="180"> |
| | | </el-table-column> --> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import VolBox from "@/components/basic/VolBox.vue"; |
| | | |
| | | export default { |
| | | components: { VolBox }, |
| | | data() { |
| | |
| | | } else { |
| | | this.getDetailDatas(); |
| | | } |
| | | |
| | | |
| | | this.$emit("parentCall", ($vue) => { |
| | | var previousButton = $vue.buttons.find((x) => x.value == "Previous"); |
| | | this.previousShow = previousButton != null; |
| | |
| | | if (!x.status) return this.$message.error(x.message); |
| | | this.steps = x.data.list; |
| | | this.active = x.data.active; |
| | | |
| | | this.row.taskState=this.steps[this.active-1].title; |
| | | this.row.currentAddress=x.data.curradd; |
| | | this.row.nextAddress=x.data.nextadd; |
| | | }); |
| | | }, |
| | | getDetailDatas() { |
| | |
| | | .then((x) => { |
| | | if (!x.status) return this.$message.error(x.message); |
| | | this.tableData = x.data; |
| | | |
| | | }); |
| | | }, |
| | | previous() { |
| | |
| | | if (!x.status) return this.$message.error(x.message); |
| | | this.$message.success("æä½æå"); |
| | | this.getSteps(); |
| | | this.getDetailDatas(); |
| | | }); |
| | | }, |
| | | recovery(){ |
| | |
| | | if (!x.status) return this.$message.error(x.message); |
| | | this.$message.success("æä½æå"); |
| | | this.getSteps(); |
| | | this.getDetailDatas(); |
| | | }); |
| | | }, |
| | | next() { |
| | | this.http |
| | | .post( |
| | | "/api/Task/UpdateTaskStatusToNext?taskNum=" + this.row.taskNum, |
| | | "/api/Task/NextStepeXecuted?taskNum=" + this.row.taskNum, |
| | | {}, |
| | | true |
| | | ) |
| | |
| | | if (!x.status) return this.$message.error(x.message); |
| | | this.$message.success("æä½æå"); |
| | | this.getSteps(); |
| | | this.getDetailDatas(); |
| | | }); |
| | | }, |
| | | switchView() { |
| | |
| | | this.height = "200px"; |
| | | } |
| | | }, |
| | | getPageData(){ |
| | | this.http |
| | | .post( |
| | | "/api/Task/getPageData", |
| | | {}, |
| | | true |
| | | ) |
| | | .then((x) => { |
| | | console.log('è¿è¡å·æ°') |
| | | }); |
| | | }, |
| | | tableRowClassName({ row, rowIndex }) { |
| | | if (!row.isNormal) { |
| | | return "error-row"; |