diff --git a/src/api/smart/workpermit.js b/src/api/smart/workpermit.js index 50c8f90..3a69a6f 100644 --- a/src/api/smart/workpermit.js +++ b/src/api/smart/workpermit.js @@ -42,7 +42,7 @@ export const add = (row) => { export const update = (row) => { return request({ - url: '/api/smart/workpermit/submit', + url: '/api/smart/workpermit/update', method: 'post', data: row }) diff --git a/src/views/leger/equipmentledgerDetail.vue b/src/views/leger/equipmentledgerDetail.vue index 8e92c3a..b9a305d 100644 --- a/src/views/leger/equipmentledgerDetail.vue +++ b/src/views/leger/equipmentledgerDetail.vue @@ -370,7 +370,6 @@ format: 'yyyy/MM/dd', valueFormat: "yyyyMMdd", span: 6, - maxlength: 20, }, { label: "供应商", @@ -1061,4 +1060,8 @@ justify-content: flex-end; /* 将子元素推到容器的末端 */ } + .head-style{ + background-color: #3366cc !important; + color: #FFFFFF !important; + } diff --git a/src/views/release/productioninformation.vue b/src/views/release/productioninformation.vue index 6890535..9a3fe2d 100644 --- a/src/views/release/productioninformation.vue +++ b/src/views/release/productioninformation.vue @@ -508,7 +508,7 @@ diff --git a/src/views/smart/operationticket.vue b/src/views/smart/operationticket.vue index 6e4bc31..81702d7 100644 --- a/src/views/smart/operationticket.vue +++ b/src/views/smart/operationticket.vue @@ -651,7 +651,6 @@ import {getList, getDetail, add, update, remove, closeticket} from "@/api/smart/ frameMode:"search", id: row.id, operationTicketNo:row.operationTicketNo, - reviewStatus: row.reviewStatus }, }); }, diff --git a/src/views/smart/operationticketDetail.vue b/src/views/smart/operationticketDetail.vue index 54e5a47..bce13e3 100644 --- a/src/views/smart/operationticketDetail.vue +++ b/src/views/smart/operationticketDetail.vue @@ -634,19 +634,6 @@ export default { this.frame_class = 'frame_class1'; this.SearchDetail(); } - switch (this.$route.query.reviewStatus){ - case 1: - this.form = "审核中"; - break; - case 2: - this.form = "已审核"; - break; - case 3: - this.form = "未通过"; - break; - default: - this.form =" "; - } // if(this.$route.query.reviewStatus ===1){ // this.form = "审核中"; // }else if(this.$route.query.reviewStatus ===2){ @@ -842,6 +829,19 @@ export default { getDetail(this.$route.query.id).then(res => { console.log(res); this.tab1_form = res.data.data; + switch (this.tab1_form.reviewStatus){ + case 1: + this.form = "审核中"; + break; + case 2: + this.form = "已审核"; + break; + case 3: + this.form = "未通过"; + break; + default: + this.form =" "; + } }); }, auditing() { @@ -922,7 +922,7 @@ export default {