Merge remote-tracking branch 'origin/main'

main
yangzhicheng 11 months ago
commit a537dbecb1
  1. 2
      src/api/smart/workpermit.js
  2. 5
      src/views/leger/equipmentledgerDetail.vue
  3. 2
      src/views/release/productioninformation.vue
  4. 1
      src/views/smart/operationticket.vue
  5. 28
      src/views/smart/operationticketDetail.vue
  6. 1
      src/views/smart/workpermit.vue
  7. 29
      src/views/smart/workpermitDetail.vue

@ -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
})

@ -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;
}
</style>

@ -508,7 +508,7 @@
<style>
.head-style{
background-color: #1e9fff !important;
background-color: #3366cc !important;
color: #FFFFFF !important;
}
</style>

@ -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
},
});
},

@ -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 {
</script>
<style>
.head-style{
background-color: #1e9fff !important;
background-color: #3366cc !important;
color: #FFFFFF !important;
}
.frame_class1 input.el-input__inner {

@ -435,7 +435,6 @@
query: {
frameMode:"search",
id: row.id,
checkstatus: row.checkStatus,
ticketCode:row.ticketCode
},
});

@ -547,20 +547,6 @@
create_date.display = false;
const ticketCode = this.findObject(this.optionParam.column, "ticketCode");
ticketCode.display = false;
switch (this.$route.query.checkstatus){
case 1:
this.form = "审核中";
break;
case 2:
this.form = "已审核";
break;
case 3:
this.form = "未通过";
break;
default:
this.form =" ";
}
},
methods: {
handleFormSubmit() {
@ -714,6 +700,19 @@
getDetail(this.$route.query.id).then(res => {
console.log(res);
this.tab1_form = res.data.data;
switch (this.tab1_form.checkStatus){
case 1:
this.form = "审核中";
break;
case 2:
this.form = "已审核";
break;
case 3:
this.form = "未通过";
break;
default:
this.form =" ";
}
});
},
closeTicket() {
@ -801,7 +800,7 @@
</script>
<style>
.head-style{
background-color: #1e9fff !important;
background-color: #3366cc !important;
color: #FFFFFF !important;
}

Loading…
Cancel
Save