Commit c5757270 authored by xinzhedeai's avatar xinzhedeai

add: 获取列表,no-page区分

parent 74f3bccd
...@@ -168,12 +168,10 @@ window.addEventListener('load', function () { ...@@ -168,12 +168,10 @@ window.addEventListener('load', function () {
}, },
getDict4changhsuoType(param) { getDict4changhsuoType(param) {
http2.post({ http2.post({
serviceId: API_KEY_MAP["page"]['id'], serviceId: API_KEY_MAP["no-page"]['id'],
interfacePublicKey: API_KEY_MAP["page"]["publicKey"], interfacePublicKey: API_KEY_MAP["no-page"]["publicKey"],
interfacePrivateKey: API_KEY_MAP["page"]["privateKey"], interfacePrivateKey: API_KEY_MAP["no-page"]["privateKey"],
reqParams: { reqParams: {
page: 1,
size: 9999,
sign: 21, // 场所类型=>行业类别 sign: 21, // 场所类型=>行业类别
...param ...param
} }
...@@ -210,12 +208,10 @@ window.addEventListener('load', function () { ...@@ -210,12 +208,10 @@ window.addEventListener('load', function () {
// }, // },
getDict4industryType() { getDict4industryType() {
http2.post({ http2.post({
serviceId: API_KEY_MAP["page"]['id'], serviceId: API_KEY_MAP["no-page"]['id'],
interfacePublicKey: API_KEY_MAP["page"]["publicKey"], interfacePublicKey: API_KEY_MAP["no-page"]["publicKey"],
interfacePrivateKey: API_KEY_MAP["page"]["privateKey"], interfacePrivateKey: API_KEY_MAP["no-page"]["privateKey"],
reqParams: { reqParams: {
page: 1,
size: 9999,
sign: 20, // 行业类型列表 sign: 20, // 行业类型列表
} }
}, (res) => { }, (res) => {
...@@ -241,20 +237,17 @@ window.addEventListener('load', function () { ...@@ -241,20 +237,17 @@ window.addEventListener('load', function () {
}, },
getDict4community() { getDict4community() {
http2.post({ http2.post({
serviceId: API_KEY_MAP["page"]['id'], serviceId: API_KEY_MAP["no-page"]['id'],
interfacePublicKey: API_KEY_MAP["page"]["publicKey"], interfacePublicKey: API_KEY_MAP["no-page"]["publicKey"],
interfacePrivateKey: API_KEY_MAP["page"]["privateKey"], interfacePrivateKey: API_KEY_MAP["no-page"]["privateKey"],
reqParams: { reqParams: {
page: 1,
size: 9999,
sign: 22, sign: 22,
"merId": gemhoUtil.getParameter('merId'),
} }
}, (res) => { }, (res) => {
if (!res) { // 中台返回为undefined 重新请求 if (!res) { // 中台返回为undefined 重新请求
vant.Toast.clear() vant.Toast.clear()
setTimeout(() => { setTimeout(() => {
this.getDict4community() // this.getDict4community()
}, 0); }, 0);
return return
} }
......
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