Commit 2f5834b8 authored by lei's avatar lei

Merge branch 'gaoqucodecheck' of...

Merge branch 'gaoqucodecheck' of http://h.gemho.cn:7099/zhaojunbao/gaoquyingjih5-asd into gaoqucodecheck
parents d88c92d1 10937163
......@@ -140,7 +140,7 @@
</div>
</div>
</div>
<van-form>
<van-form v-if="checkPageIndex == (checkData?.length-1)">
<van-cell>
<van-field label="检查人员" v-model="checkPeopleName" readonly />
</van-cell>
......
......@@ -113,8 +113,11 @@ window.onload = function() {
}
},
methods: {
validRequired(){
if(this.flag == 'JC_XQ'){ // 检查详情,不参与下一页校验
this.checkPageIndex++;
return true
}
const currentPageData = this.checkData[this.checkPageIndex];
const errorRows = currentPageData.gqCheckItemList.filter((item)=>{
console.log(item)
......@@ -235,7 +238,7 @@ window.onload = function() {
interfacePrivateKey: API_KEY_MAP["no-page"]["privateKey"],
reqParams: {
sign: 4, // 隐患详情
"hdId": "1",
"hdId": this.id,
}
}, (res) => {
if (!res) { // 中台返回为undefined 重新请求
......@@ -280,7 +283,7 @@ window.onload = function() {
interfacePrivateKey: API_KEY_MAP['no-page']['privateKey'],
reqParams: {
sign: 2,
"recordId": this.id || "22",
"recordId": this.id,
},
},
(res) => {
......@@ -399,7 +402,7 @@ window.onload = function() {
vant.Toast({
message: '操作成功',
})
// gemhoUtil.navigatePage(this.pageName + '.html', '操作完成,跳转中...')
gemhoUtil.navigatePage(this.pageName + '.html', '操作完成,跳转中...')
})
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment