Commit a440f269 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 aaae5bf2 412b14f6
...@@ -23,4 +23,12 @@ const API_KEY_MAP = { ...@@ -23,4 +23,12 @@ const API_KEY_MAP = {
privateKey: privateKey:
'5e46fef0286f55aef6bb13f12373150023a4146edcd170be770b8823b24cb319', '5e46fef0286f55aef6bb13f12373150023a4146edcd170be770b8823b24cb319',
}, },
'submit': {
// no-page
id: 'gqyjglptsafecheckpost',
publicKey:
'044943bf8a73d1e59eaf60b40ee7cafa2e47fa6c31fb87aa896697c3663e6b7e2479766063e61b221914674ace5661961b36e52e88710a97a754ae5b7c4cce5ebf',
privateKey:
'00cea945d93181bb687b2dbcfe8d69ebfa9b88554cdc4dcb3f630d06c13e32a5b6',
},
} }
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
/* padding: 12px; */ /* padding: 12px; */
background: #fff; background: #fff;
overflow: hidden; overflow: hidden;
padding-bottom: 1rem; padding-bottom: 2rem;
} }
/* 检查项 */ /* 检查项 */
......
...@@ -145,17 +145,17 @@ ...@@ -145,17 +145,17 @@
<van-field label="检查人员" v-model="checkPeopleName" readonly /> <van-field label="检查人员" v-model="checkPeopleName" readonly />
</van-cell> </van-cell>
<van-cell> <van-cell>
<van-field label="检查日期" v-model="checkDate" /> <van-field label="检查日期" v-model="checkDate" readonly />
</van-cell> </van-cell>
<van-cell v-if="flag!='ADD'&&flag!='JC_XQ'"> <van-cell v-if="flag!='ADD'&&flag!='JC_XQ'">
<van-field label="整改截止日期" v-model="rectificationDeadline" /> <van-field label="整改截止日期" v-model="rectificationDeadline" readonly />
</van-cell> </van-cell>
<div v-if="flag=='0' || flag=='1' || flag=='3'"> <div v-if="flag=='0' || flag=='1' || flag=='3'">
<van-cell> <van-cell>
<van-field label="审核日期" v-model="reviewDate" /> <van-field label="审核日期" v-model="reviewDate" readonly />
</van-cell> </van-cell>
<van-cell> <van-cell>
<van-field label="审核记录" v-model="reviewRecord" /> <van-field label="审核记录" v-model="reviewRecord" readonly />
</van-cell> </van-cell>
</div> </div>
......
...@@ -66,7 +66,7 @@ window.onload = function() { ...@@ -66,7 +66,7 @@ window.onload = function() {
totalItems: 0, totalItems: 0,
notNullCount: 0, notNullCount: 0,
// 外层表单信息 // 外层表单信息
checkDate: gemhoUtil.getTargetDateYMD(), // 检查日期 checkDate: '', // 检查日期
checkPeopleName: '', // 检查人员 checkPeopleName: '', // 检查人员
rectificationDeadline: '', // 整改截止日期 rectificationDeadline: '', // 整改截止日期
reviewDate: '', // 隐患审核日期 reviewDate: '', // 隐患审核日期
...@@ -301,7 +301,7 @@ window.onload = function() { ...@@ -301,7 +301,7 @@ window.onload = function() {
// }) // })
// }, 0); // }, 0);
var result = JSON.parse(res) var result = JSON.parse(res)
this.checkDate = result.data.checkTime // 检查日期 this.checkDate = result.data.checkDate // 检查日期
this.checkPeopleName = result.data.checkPeopleName // 检查人员 this.checkPeopleName = result.data.checkPeopleName // 检查人员
this.checkData = result.data.gqCheckTypeList this.checkData = result.data.gqCheckTypeList
this.noCount = result.data.hiddenCount this.noCount = result.data.hiddenCount
...@@ -332,9 +332,9 @@ window.onload = function() { ...@@ -332,9 +332,9 @@ window.onload = function() {
loadingType: 'spinner', loadingType: 'spinner',
}); });
http2.post({ http2.post({
serviceId: API_KEY_MAP["no-page"]['id'], serviceId: API_KEY_MAP["submit"]['id'],
interfacePublicKey: API_KEY_MAP["no-page"]["publicKey"], interfacePublicKey: API_KEY_MAP["submit"]["publicKey"],
interfacePrivateKey: API_KEY_MAP["no-page"]["privateKey"], interfacePrivateKey: API_KEY_MAP["submit"]["privateKey"],
reqParams: { reqParams: {
sign: 7, sign: 7,
"hdId": this.id, "hdId": this.id,
...@@ -365,9 +365,9 @@ window.onload = function() { ...@@ -365,9 +365,9 @@ window.onload = function() {
loadingType: 'spinner', loadingType: 'spinner',
}); });
http2.post({ http2.post({
serviceId: API_KEY_MAP["no-page"]['id'], serviceId: API_KEY_MAP["submit"]['id'],
interfacePublicKey: API_KEY_MAP["no-page"]["publicKey"], interfacePublicKey: API_KEY_MAP["submit"]["publicKey"],
interfacePrivateKey: API_KEY_MAP["no-page"]["privateKey"], interfacePrivateKey: API_KEY_MAP["submit"]["privateKey"],
reqParams: { reqParams: {
sign: 8, sign: 8,
"hdId": this.id, "hdId": this.id,
......
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