|
|
|
@ -165,11 +165,12 @@
|
|
|
|
<el-form-item label="稽核车种:" :label-width="formLabelWidth">
|
|
|
|
<el-form-item label="稽核车种:" :label-width="formLabelWidth">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
style="margin-left: 0px; width: 180px"
|
|
|
|
style="margin-left: 0px; width: 180px"
|
|
|
|
v-model="form.kindText"
|
|
|
|
v-model="form.scheckking"
|
|
|
|
filterable
|
|
|
|
filterable
|
|
|
|
allow-create
|
|
|
|
allow-create
|
|
|
|
default-first-option
|
|
|
|
default-first-option
|
|
|
|
:reserve-keyword="false"
|
|
|
|
:reserve-keyword="false"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
placeholder=""
|
|
|
|
placeholder=""
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
@ -186,11 +187,12 @@
|
|
|
|
<el-form-item label="稽核车型:" :label-width="formLabelWidth">
|
|
|
|
<el-form-item label="稽核车型:" :label-width="formLabelWidth">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
style="margin-left: 0px; width: 180px"
|
|
|
|
style="margin-left: 0px; width: 180px"
|
|
|
|
v-model="form.scheckTypeText"
|
|
|
|
v-model="form.schecktype"
|
|
|
|
filterable
|
|
|
|
filterable
|
|
|
|
allow-create
|
|
|
|
allow-create
|
|
|
|
default-first-option
|
|
|
|
default-first-option
|
|
|
|
:reserve-keyword="false"
|
|
|
|
:reserve-keyword="false"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
placeholder=""
|
|
|
|
placeholder=""
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
@ -207,11 +209,13 @@
|
|
|
|
<el-form-item label="稽核信息:" :label-width="formLabelWidth">
|
|
|
|
<el-form-item label="稽核信息:" :label-width="formLabelWidth">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
style="margin-left: 0px; width: 180px"
|
|
|
|
style="margin-left: 0px; width: 180px"
|
|
|
|
v-model="form.scheckmemo"
|
|
|
|
v-model="form.scheckmemoSelected"
|
|
|
|
filterable
|
|
|
|
filterable
|
|
|
|
allow-create
|
|
|
|
allow-create
|
|
|
|
default-first-option
|
|
|
|
default-first-option
|
|
|
|
:reserve-keyword="false"
|
|
|
|
:reserve-keyword="false"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
v-on:change="formSelectedMemo"
|
|
|
|
placeholder=""
|
|
|
|
placeholder=""
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
@ -225,11 +229,9 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="5">
|
|
|
|
<el-col :span="5">
|
|
|
|
<el-input v-model="form.scheckmemoTwo" autocomplete="off" ></el-input>
|
|
|
|
<el-input v-model="form.scheckmemo" autocomplete="off" ></el-input>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-button type="primary" style="margin-left: 10px;width: 80px;height: 30px" @click="staCheck()">站级稽核</el-button>
|
|
|
|
<el-button type="primary" style="margin-left: 10px;width: 80px;height: 30px" @click="staCheck()">站级稽核</el-button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
@ -274,9 +276,16 @@ export default {
|
|
|
|
total: '',
|
|
|
|
total: '',
|
|
|
|
pageTotal: '',
|
|
|
|
pageTotal: '',
|
|
|
|
printTableData: [],
|
|
|
|
printTableData: [],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
checkFormFirst: {
|
|
|
|
|
|
|
|
// dt: '',
|
|
|
|
|
|
|
|
}, //弹窗中的数据
|
|
|
|
form: {
|
|
|
|
form: {
|
|
|
|
// dt: '',
|
|
|
|
// dt: '',
|
|
|
|
}, //弹窗中的数据
|
|
|
|
}, //弹窗中的数据
|
|
|
|
|
|
|
|
checkFormSecond: {
|
|
|
|
|
|
|
|
// dt: '',
|
|
|
|
|
|
|
|
}, //弹窗中的数据
|
|
|
|
// form: {}, //弹窗中的数据
|
|
|
|
// form: {}, //弹窗中的数据
|
|
|
|
formLabelWidth: '100px',
|
|
|
|
formLabelWidth: '100px',
|
|
|
|
listno: '',
|
|
|
|
listno: '',
|
|
|
|
@ -287,6 +296,7 @@ export default {
|
|
|
|
typeTypeForm: [], //车型类型列表
|
|
|
|
typeTypeForm: [], //车型类型列表
|
|
|
|
|
|
|
|
|
|
|
|
checkTextTypeForm: [], //稽核信息类型列表
|
|
|
|
checkTextTypeForm: [], //稽核信息类型列表
|
|
|
|
|
|
|
|
sign: '',
|
|
|
|
tableData: [],
|
|
|
|
tableData: [],
|
|
|
|
inPortSrc: '',
|
|
|
|
inPortSrc: '',
|
|
|
|
inPortPlateSrc: '',
|
|
|
|
inPortPlateSrc: '',
|
|
|
|
@ -329,6 +339,9 @@ export default {
|
|
|
|
next();
|
|
|
|
next();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
formSelectedMemo(){
|
|
|
|
|
|
|
|
this.form.scheckmemo = this.form.scheckmemoSelected
|
|
|
|
|
|
|
|
},
|
|
|
|
getDetail(pageNum){
|
|
|
|
getDetail(pageNum){
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
@ -341,16 +354,39 @@ export default {
|
|
|
|
return this.$route.params;
|
|
|
|
return this.$route.params;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
// init() {
|
|
|
|
|
|
|
|
// this.changeIndex = localStorage.getItem("changeIndex")
|
|
|
|
|
|
|
|
// this.pageNum = localStorage.getItem("pageNum")
|
|
|
|
|
|
|
|
// this.pageSize = localStorage.getItem("pageSize")
|
|
|
|
|
|
|
|
// this.tableData = JSON.parse(localStorage.getItem("tableData"))
|
|
|
|
|
|
|
|
// this.total = localStorage.getItem("total")
|
|
|
|
|
|
|
|
// this.pageTotal = Math.ceil(this.total / this.pageSize)
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// this.inPortDTO = JSON.parse(localStorage.getItem("inPortDTO"))
|
|
|
|
|
|
|
|
// this.getInPortjavaImage()
|
|
|
|
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
|
|
|
|
// },
|
|
|
|
init() {
|
|
|
|
init() {
|
|
|
|
this.pageNum = this.$route.query.pageNum
|
|
|
|
this.changeIndex = localStorage.getItem("changeIndexInPortS")
|
|
|
|
this.pageSize = this.$route.query.pageSize
|
|
|
|
this.pageNum = localStorage.getItem("pageNumInPortS")
|
|
|
|
this.changeIndex = this.$route.query.changeIndex
|
|
|
|
this.pageSize = localStorage.getItem("pageSizeInPortS")
|
|
|
|
this.total = this.$route.query.total
|
|
|
|
this.tableData = JSON.parse(localStorage.getItem("tableDataInPortS"))
|
|
|
|
this.tableData = JSON.parse(this.$route.query.tableData)
|
|
|
|
this.total = localStorage.getItem("totalInPortS")
|
|
|
|
this.pageTotal = Math.ceil(this.total / this.pageSize)
|
|
|
|
this.pageTotal = Math.ceil(this.total / this.pageSize)
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
this.inPortDTO = JSON.parse(localStorage.getItem("inPortDTOS"))
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.pageNum = this.$route.query.pageNum
|
|
|
|
|
|
|
|
// this.pageSize = this.$route.query.pageSize
|
|
|
|
|
|
|
|
// this.changeIndex = this.$route.query.changeIndex
|
|
|
|
|
|
|
|
// this.total = this.$route.query.total
|
|
|
|
|
|
|
|
// this.tableData = JSON.parse(this.$route.query.tableData)
|
|
|
|
|
|
|
|
// this.pageTotal = Math.ceil(this.total / this.pageSize)
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// this.getInPortjavaImage()
|
|
|
|
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
// this.javaImageTest()
|
|
|
|
// this.javaImageTest()
|
|
|
|
// this.pageNum = this.$route.params.pageNum
|
|
|
|
// this.pageNum = this.$route.params.pageNum
|
|
|
|
// this.pageSize = this.$route.params.pageSize
|
|
|
|
// this.pageSize = this.$route.params.pageSize
|
|
|
|
@ -371,6 +407,71 @@ export default {
|
|
|
|
this.tableData = []
|
|
|
|
this.tableData = []
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
network(){ //分页查询
|
|
|
|
|
|
|
|
this.$http.post("/inPort/page", this.inPortDTO).then(res=>{
|
|
|
|
|
|
|
|
if(res.statusCode == '200'){
|
|
|
|
|
|
|
|
this.total = res.data.total
|
|
|
|
|
|
|
|
this.pageTotal = Math.ceil(this.total / this.pageSize)
|
|
|
|
|
|
|
|
res.data.records.forEach((item)=> {
|
|
|
|
|
|
|
|
item.classdate = this.dateFormatter(item.classdate)
|
|
|
|
|
|
|
|
item.dt = this.dateTimeFormatter(item.dt)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
this.tableData = res.data.records
|
|
|
|
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
|
|
|
console.log('数据加载失败,请重新加载!')
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dateFormatter(classdate) {
|
|
|
|
|
|
|
|
if (classdate) {
|
|
|
|
|
|
|
|
const dateMat = new Date(classdate);
|
|
|
|
|
|
|
|
const Y = dateMat.getFullYear() + "-";
|
|
|
|
|
|
|
|
const M =
|
|
|
|
|
|
|
|
dateMat.getMonth() + 1 < 10
|
|
|
|
|
|
|
|
? "0" + (dateMat.getMonth() + 1) + "-"
|
|
|
|
|
|
|
|
: dateMat.getMonth() + 1 + "-";
|
|
|
|
|
|
|
|
const D =
|
|
|
|
|
|
|
|
dateMat.getDate() < 10
|
|
|
|
|
|
|
|
? "0" + dateMat.getDate()
|
|
|
|
|
|
|
|
: dateMat.getDate();
|
|
|
|
|
|
|
|
return Y + M + D;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dateTimeFormatter(dt) {
|
|
|
|
|
|
|
|
if (dt) {
|
|
|
|
|
|
|
|
const dateMat = new Date(dt);
|
|
|
|
|
|
|
|
const Y = dateMat.getFullYear() + "-";
|
|
|
|
|
|
|
|
const M =
|
|
|
|
|
|
|
|
dateMat.getMonth() + 1 < 10
|
|
|
|
|
|
|
|
? "0" + (dateMat.getMonth() + 1) + "-"
|
|
|
|
|
|
|
|
: dateMat.getMonth() + 1 + "-";
|
|
|
|
|
|
|
|
const D =
|
|
|
|
|
|
|
|
dateMat.getDate() < 10
|
|
|
|
|
|
|
|
? "0" + dateMat.getDate() + " "
|
|
|
|
|
|
|
|
: dateMat.getDate() + " ";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const H =
|
|
|
|
|
|
|
|
dateMat.getHours() < 10
|
|
|
|
|
|
|
|
? "0" + dateMat.getHours() + ":"
|
|
|
|
|
|
|
|
: dateMat.getHours() + ":";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const F =
|
|
|
|
|
|
|
|
dateMat.getMinutes() < 10
|
|
|
|
|
|
|
|
? "0" + dateMat.getMinutes() + ":"
|
|
|
|
|
|
|
|
: dateMat.getMinutes() + ":";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const S =
|
|
|
|
|
|
|
|
dateMat.getSeconds() < 10
|
|
|
|
|
|
|
|
? "0" + dateMat.getSeconds()
|
|
|
|
|
|
|
|
: dateMat.getSeconds();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return Y + M + D + H + F + S;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
getInPortjavaImage() { //入口图像获取
|
|
|
|
getInPortjavaImage() { //入口图像获取
|
|
|
|
let listno = this.tableData[this.changeIndex].listno
|
|
|
|
let listno = this.tableData[this.changeIndex].listno
|
|
|
|
let transferFlag = 0
|
|
|
|
let transferFlag = 0
|
|
|
|
@ -399,10 +500,28 @@ export default {
|
|
|
|
first() {
|
|
|
|
first() {
|
|
|
|
this.pageNum = 1
|
|
|
|
this.pageNum = 1
|
|
|
|
this.changeIndex = 0
|
|
|
|
this.changeIndex = 0
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
this.inPortDTO.pageNum = this.pageNum
|
|
|
|
|
|
|
|
this.network()
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
// this.listno = this.tableData[this.changeIndex].listno
|
|
|
|
// this.listno = this.tableData[this.changeIndex].listno
|
|
|
|
|
|
|
|
// this.inPortTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortSrc = ''
|
|
|
|
|
|
|
|
// this.inPortSrcList = []
|
|
|
|
|
|
|
|
// this.inPortPlateTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortPlateSrc = ''
|
|
|
|
|
|
|
|
// this.inPortPlateSrcList = []
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortPlateImage()
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
|
|
|
|
localStorage.setItem("pageNumInPortS",this.pageNum)
|
|
|
|
|
|
|
|
localStorage.setItem("changeIndexInPortS",this.changeIndex)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// // this.listno = this.tableData[this.changeIndex].listno
|
|
|
|
|
|
|
|
// this.getInPortjavaImage()
|
|
|
|
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
upRow() {
|
|
|
|
upRow() {
|
|
|
|
if (this.pageNum == 1 && this.changeIndex == 0) {
|
|
|
|
if (this.pageNum == 1 && this.changeIndex == 0) {
|
|
|
|
@ -411,17 +530,47 @@ export default {
|
|
|
|
} else if (this.pageNum > 1 && this.changeIndex == 0) {
|
|
|
|
} else if (this.pageNum > 1 && this.changeIndex == 0) {
|
|
|
|
this.pageNum = this.pageNum - 1
|
|
|
|
this.pageNum = this.pageNum - 1
|
|
|
|
this.changeIndex = this.pageSize - 1
|
|
|
|
this.changeIndex = this.pageSize - 1
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
|
|
|
|
this.inPortDTO.pageNum = this.pageNum
|
|
|
|
|
|
|
|
this.network()
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// this.listno = this.tableData[this.changeIndex].listno
|
|
|
|
|
|
|
|
// this.inPortTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortSrc = ''
|
|
|
|
|
|
|
|
// this.inPortSrcList = []
|
|
|
|
|
|
|
|
// this.inPortPlateTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortPlateSrc = ''
|
|
|
|
|
|
|
|
// this.inPortPlateSrcList = []
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortPlateImage()
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
// this.javaImageTest()
|
|
|
|
localStorage.setItem("pageNumInPortS",this.pageNum)
|
|
|
|
|
|
|
|
localStorage.setItem("changeIndexInPortS",this.changeIndex)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// this.getInPortjavaImage()
|
|
|
|
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
|
|
|
|
// // this.javaImageTest()
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.changeIndex = this.changeIndex - 1
|
|
|
|
this.changeIndex = this.changeIndex - 1
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.inPortDTO.pageNum = this.pageNum
|
|
|
|
|
|
|
|
// this.network()
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// this.listno = this.tableData[this.changeIndex].listno
|
|
|
|
|
|
|
|
// this.inPortTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortSrc = ''
|
|
|
|
|
|
|
|
// this.inPortSrcList = []
|
|
|
|
|
|
|
|
// this.inPortPlateTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortPlateSrc = ''
|
|
|
|
|
|
|
|
// this.inPortPlateSrcList = []
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortPlateImage()
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
// this.javaImageTest()
|
|
|
|
localStorage.setItem("changeIndexInPortS",this.changeIndex)
|
|
|
|
|
|
|
|
// this.getInPortjavaImage()
|
|
|
|
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
|
|
|
|
// // this.javaImageTest()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
downRow() {
|
|
|
|
downRow() {
|
|
|
|
@ -431,24 +580,72 @@ export default {
|
|
|
|
} else if (this.pageNum < this.pageTotal && this.changeIndex == (this.pageSize - 1)) {
|
|
|
|
} else if (this.pageNum < this.pageTotal && this.changeIndex == (this.pageSize - 1)) {
|
|
|
|
this.pageNum = this.pageNum - 1 + 2
|
|
|
|
this.pageNum = this.pageNum - 1 + 2
|
|
|
|
this.changeIndex = 0
|
|
|
|
this.changeIndex = 0
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
|
|
|
|
this.inPortDTO.pageNum = this.pageNum
|
|
|
|
|
|
|
|
this.network()
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// this.listno = this.tableData[this.changeIndex].listno
|
|
|
|
|
|
|
|
// this.inPortTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortSrc = ''
|
|
|
|
|
|
|
|
// this.inPortSrcList = []
|
|
|
|
|
|
|
|
// this.inPortPlateTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortPlateSrc = ''
|
|
|
|
|
|
|
|
// this.inPortPlateSrcList = []
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortPlateImage()
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
// this.javaImageTest45()
|
|
|
|
localStorage.setItem("pageNumInPortS",this.pageNum)
|
|
|
|
|
|
|
|
localStorage.setItem("changeIndexInPortS",this.changeIndex)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// this.getInPortjavaImage()
|
|
|
|
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
|
|
|
|
// // this.javaImageTest45()
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.changeIndex = this.changeIndex - 1 + 2
|
|
|
|
this.changeIndex = this.changeIndex - 1 + 2
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.inPortDTO.pageNum = this.pageNum
|
|
|
|
|
|
|
|
// this.network()
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// this.listno = this.tableData[this.changeIndex].listno
|
|
|
|
|
|
|
|
// this.inPortTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortSrc = ''
|
|
|
|
|
|
|
|
// this.inPortSrcList = []
|
|
|
|
|
|
|
|
// this.inPortPlateTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortPlateSrc = ''
|
|
|
|
|
|
|
|
// this.inPortPlateSrcList = []
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortPlateImage()
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
// this.javaImageTest45()
|
|
|
|
localStorage.setItem("changeIndexInPortS",this.changeIndex)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.getInPortjavaImage()
|
|
|
|
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
|
|
|
|
// // this.javaImageTest45()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
last() {
|
|
|
|
last() {
|
|
|
|
this.pageNum = this.pageTotal
|
|
|
|
this.pageNum = this.pageTotal
|
|
|
|
this.changeIndex = this.total - ((this.pageNum - 1) * this.pageSize) - 1
|
|
|
|
this.changeIndex = this.total - ((this.pageNum - 1) * this.pageSize) - 1
|
|
|
|
this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
|
|
|
|
this.inPortDTO.pageNum = this.pageNum
|
|
|
|
|
|
|
|
this.network()
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// this.listno = this.tableData[this.changeIndex].listno
|
|
|
|
|
|
|
|
// this.inPortTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortSrc = ''
|
|
|
|
|
|
|
|
// this.inPortSrcList = []
|
|
|
|
|
|
|
|
// this.inPortPlateTipMessageVisible = false
|
|
|
|
|
|
|
|
// this.inPortPlateSrc = ''
|
|
|
|
|
|
|
|
// this.inPortPlateSrcList = []
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortjavaImage()
|
|
|
|
this.getInPortPlateImage()
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
|
|
|
|
localStorage.setItem("pageNumInPortS",this.pageNum)
|
|
|
|
|
|
|
|
localStorage.setItem("changeIndexInPortS",this.changeIndex)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.form = this.tableData[this.changeIndex]
|
|
|
|
|
|
|
|
// this.getInPortjavaImage()
|
|
|
|
|
|
|
|
// this.getInPortPlateImage()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
startPlay() {
|
|
|
|
startPlay() {
|
|
|
|
this.timer = setInterval(() => {
|
|
|
|
this.timer = setInterval(() => {
|
|
|
|
@ -456,11 +653,69 @@ export default {
|
|
|
|
}, 1000)
|
|
|
|
}, 1000)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
staCheck() {
|
|
|
|
staCheck() {
|
|
|
|
|
|
|
|
let listno = this.tableData[this.changeIndex].listno
|
|
|
|
|
|
|
|
// let listno = '1F0C1E252B738D3BE5'
|
|
|
|
|
|
|
|
this.$http.get("/specCheckSta/getSignByListno", {
|
|
|
|
|
|
|
|
params: {
|
|
|
|
|
|
|
|
listno: listno
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
).then(res => {
|
|
|
|
|
|
|
|
this.sign = res.data
|
|
|
|
|
|
|
|
if(this.sign == null){
|
|
|
|
|
|
|
|
this.checkFormFirst.listno = this.tableData[this.changeIndex].listno
|
|
|
|
|
|
|
|
this.checkFormFirst.kind = this.form.scheckking
|
|
|
|
|
|
|
|
this.checkFormFirst.type = this.form.schecktype
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.checkFormFirst.memo = this.form.scheckmemo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.checkFormFirst.man = localStorage.getItem("man")
|
|
|
|
|
|
|
|
this.checkFormFirst.mannoString = localStorage.getItem("manno")
|
|
|
|
|
|
|
|
this.$http.post("/specCheckSta/save",this.checkFormFirst).then(res=>{
|
|
|
|
|
|
|
|
if(res.statusCode == '200'){
|
|
|
|
ElMessage({
|
|
|
|
ElMessage({
|
|
|
|
message: '稽核成功!',
|
|
|
|
message: '一次稽核成功!',
|
|
|
|
type: 'success',
|
|
|
|
type: 'success',
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
// this.addDialogFormVisible=false
|
|
|
|
|
|
|
|
// this.network()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
|
|
|
console.log('一次稽核失败!')
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if(this.sign == 1){
|
|
|
|
|
|
|
|
this.checkFormSecond.listno = this.tableData[this.changeIndex].listno
|
|
|
|
|
|
|
|
this.checkFormSecond.rkind = this.form.scheckking
|
|
|
|
|
|
|
|
this.checkFormSecond.rtype = this.form.schecktype
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.checkFormSecond.rmemo = this.form.scheckmemo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.checkFormSecond.rman = localStorage.getItem("man")
|
|
|
|
|
|
|
|
this.checkFormSecond.rMannoString = localStorage.getItem("manno")
|
|
|
|
|
|
|
|
this.$http.post("/specCheckSta/update",this.checkFormSecond).then(res=>{
|
|
|
|
|
|
|
|
if(res.statusCode == '200'){
|
|
|
|
|
|
|
|
ElMessage({
|
|
|
|
|
|
|
|
message: '二次稽核成功!',
|
|
|
|
|
|
|
|
type: 'success',
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
// this.modifyDialogFormVisible=false
|
|
|
|
|
|
|
|
// this.network()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
|
|
|
console.log('二次稽核失败!')
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if(this.sign == 2){
|
|
|
|
|
|
|
|
ElMessage({
|
|
|
|
|
|
|
|
message: '已经完成两次稽核!',
|
|
|
|
|
|
|
|
type: 'warning',
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
).catch(() => {
|
|
|
|
|
|
|
|
console.log('获取标记号失败!')
|
|
|
|
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
endPlay() {
|
|
|
|
endPlay() {
|
|
|
|
clearInterval(this.timer)
|
|
|
|
clearInterval(this.timer)
|
|
|
|
@ -544,8 +799,19 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
watch:{
|
|
|
|
watch:{
|
|
|
|
'$route'(to,from){
|
|
|
|
'$route'(to,from){
|
|
|
|
this.clearData();
|
|
|
|
if(this.changeIndex != localStorage.getItem("changeIndexInPortS") ||
|
|
|
|
|
|
|
|
this.pageNum != localStorage.getItem("pageNumInPortS") ||
|
|
|
|
|
|
|
|
this.pageSize != localStorage.getItem("pageSizeInPortS")){
|
|
|
|
|
|
|
|
// console.log(JSON.stringify(to))
|
|
|
|
|
|
|
|
// console.log("陈旭东JSON.parse(to):",JSON.parse(to))
|
|
|
|
|
|
|
|
// console.log("陈旭东to.name:" + to.name)
|
|
|
|
|
|
|
|
// console.log("陈旭东to.path:" + to.path)
|
|
|
|
this.init();
|
|
|
|
this.init();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// this.$forceUpdate();
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// this.clearData();
|
|
|
|
|
|
|
|
// this.init();
|
|
|
|
// this.$forceUpdate();
|
|
|
|
// this.$forceUpdate();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|