diff --git a/api/supplier.js b/api/supplier.js index e835521..19f44ab 100644 --- a/api/supplier.js +++ b/api/supplier.js @@ -38,7 +38,9 @@ export const aboutUsApi = (data) => { export const applysApi = (data) => { - return request.post('shop/index/apply', data); + return request.post('shop/index/apply', data, { + tokenName: 1 + }); } export const merchatTypeApi = (data) => { @@ -48,8 +50,23 @@ export const merchatTypeApi = (data) => { } export const getSTokenApi = (data) => { - uni.setStorageSync('LOGIN_STATUS_STOKEN', 'asdfdsfsdfsdfds') return request.get('shop/index/get_token', data, { tokenName: 1 }); +} + +export const getapplyRecordApi = (data) => { + return request.get('shop/index/record', data, { + tokenName: 1 + }); +} + +export const reSubmitApi = (data) => { + return request.get('shop/index/apply_detail', data, { + tokenName: 1 + }); +} + +export const UserWithdrawListsdate_listsApi = (data) => { + return request.get('operation/OpurchaseGoodsOffer/date_lists', data); } \ No newline at end of file diff --git a/config/app.js b/config/app.js index 13ede59..6afed7c 100644 --- a/config/app.js +++ b/config/app.js @@ -15,9 +15,9 @@ let openPlantGrass = '-openPlantGrass-' let httpSix, httpApi, httpTwo; -// const env = 'dev'; // 开发 +const env = 'dev'; // 开发 // const env = 'prod'; // 生产 -const env = 'prew'; // 预上线 +// const env = 'prew'; // 预上线 switch (env) { case 'prod': @@ -29,15 +29,13 @@ switch (env) { case 'prew': httpApi = 'https://test.shop.lihaink.cn' //预发布环境 httpSix = 'https://ceshi-new-wokr.lihaink.cn' - httpTwo = 'http://192.168.1.22:8546' + httpTwo = 'https://erp.lihaink.cn' wsApi = 'wss://test.shop.lihaink.cn' break; default: httpApi = "https://crmeb-test.shop.lihaink.cn" // 测试 httpSix = 'https://ceshi-new-wokr.lihaink.cn' - // httpTwo = 'https://erp.lihaink.cn' - httpTwo = 'http://192.168.1.22:8546' - // wsApi = 'ws://192.168.1.22:8324' + httpTwo = 'https://erp.lihaink.cn' wsApi = 'wss://crmeb-test.shop.lihaink.cn' } diff --git a/manifest.json b/manifest.json index 7a44b01..3b415f3 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name": "惠农生活", "appid": "__UNI__3A527D1", "description": "", - "versionName": "2.0.55", - "versionCode": 2055, + "versionName": "2.0.56", + "versionCode": 2056, "transformPx": false, /* 5+App特有相关 */ "app-plus": { diff --git a/pages.json b/pages.json index d13df5d..017482a 100644 --- a/pages.json +++ b/pages.json @@ -61,8 +61,7 @@ "path": "pages/quote/list", "style": { "enablePullDownRefresh": false, - "navigationBarTitleText": "报价", - "navigationStyle": "custom" + "navigationBarTitleText": "报价" } }, { @@ -96,10 +95,17 @@ { "path": "pages/bindSupplier/index", "style": { - "enablePullDownRefresh": false, + "enablePullDownRefresh": true, "navigationBarTitleText": "供应商入驻" } }, + { + "path": "pages/bindSupplier/record", + "style": { + "enablePullDownRefresh": false, + "navigationBarTitleText": "申请记录" + } + }, { "path": "pages/gather/gather", "style": { @@ -1657,13 +1663,6 @@ "selectedIconPath": "static/tabbar_icon/b-a.png", "text": "批发" }, - - // { - // "pagePath": "pages/plant_grass/index", - // "iconPath": "static/tabbar_icon/b.png", - // "selectedIconPath": "static/tabbar_icon/b-a.png", - // "text": "逛逛" - // }, { "pagePath": "pages/gather/gather", "iconPath": "static/tabbar_icon/c.png", @@ -1678,8 +1677,8 @@ }, { "pagePath": "pages/quote/list", - "iconPath": "static/tabbar_icon/d.png", - "selectedIconPath": "static/tabbar_icon/d-a.png", + "iconPath": "static/tabbar_icon/bjd.png", + "selectedIconPath": "static/tabbar_icon/bjdact.png", "text": "报价" }, diff --git a/pages/bindSupplier/index.vue b/pages/bindSupplier/index.vue index 0d3cd8a..56a46b0 100644 --- a/pages/bindSupplier/index.vue +++ b/pages/bindSupplier/index.vue @@ -1,6 +1,6 @@ @@ -621,7 +523,6 @@ background-color: #fff; padding: 40rpx; box-sizing: border-box; - font-family: PF; padding-bottom: 200rpx; .heder-tips { diff --git a/pages/bindSupplier/record.vue b/pages/bindSupplier/record.vue new file mode 100644 index 0000000..709b945 --- /dev/null +++ b/pages/bindSupplier/record.vue @@ -0,0 +1,228 @@ + + + + + \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index c812a2c..249b776 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -629,8 +629,6 @@ this.activeRouter = '/' + curRoute }, onLoad(options) { - - let that = this this._options = options; this.diyId = options.diyId || 0; @@ -650,10 +648,14 @@ }, onShow() { - getSTokenApi().then(res => { - if (res.token) { - uni.setStorageSync('LOGIN_STATUS_STOKEN', 'asdfdsfsdfsdfds') + getSTokenApi({ + jg_register_id: uni.getStorageSync('jg_id') || '' + }).then(res => { + if (res.data?.token) { + uni.setStorageSync('LOGIN_STATUS_STOKEN', (res.data?.token || '')) } + }).catch(err => { + console.log("获取报错", err) }) if (uni.getStorageSync('newStore')) this.openDiver(); let that = this; diff --git a/pages/quote/bindAccout.vue b/pages/quote/bindAccout.vue index 931f3c1..6840791 100644 --- a/pages/quote/bindAccout.vue +++ b/pages/quote/bindAccout.vue @@ -11,6 +11,7 @@ 账户绑定 + {{form}} @@ -74,7 +75,9 @@ diff --git a/pages/quote/index.vue b/pages/quote/index.vue index 9f91be8..d676dbe 100644 --- a/pages/quote/index.vue +++ b/pages/quote/index.vue @@ -1,5 +1,5 @@