diff --git a/App.vue b/App.vue
index 3cc61b1..77ceb18 100644
--- a/App.vue
+++ b/App.vue
@@ -1,64 +1,85 @@
\ No newline at end of file
diff --git a/api/oaUser.js b/api/oaUser.js
index c03392b..d685271 100644
--- a/api/oaUser.js
+++ b/api/oaUser.js
@@ -60,3 +60,8 @@ export const userPostsms = (data) => oahttp.post('/user/postsms', data)
* 注销账号
*/
export const destroyAccount = (data) => oahttp.post('/user/destroy_account', data)
+
+/**
+ * 商城登录
+ */
+export const loginShopAccount = (data) => oahttp.post('/login/shop_account', data)
diff --git a/pages/oaHome/oaHome.vue b/pages/oaHome/oaHome.vue
index e96124f..1ca1f39 100644
--- a/pages/oaHome/oaHome.vue
+++ b/pages/oaHome/oaHome.vue
@@ -1,9 +1,9 @@
-
-
+ -->
-
-
-
+
+
+
+
+
+
diff --git a/pages/oaLogin/oaLogin.vue b/pages/oaLogin/oaLogin.vue
index c8059dc..ede481f 100644
--- a/pages/oaLogin/oaLogin.vue
+++ b/pages/oaLogin/oaLogin.vue
@@ -60,6 +60,7 @@
data: '',
},
uniMP: false,
+ APP_token: '',
tabList: [{
name: '账号登录'
},
@@ -72,7 +73,8 @@
code: '',
terminal: 6, //6是APP端
scene: 1,
- register_id: ""
+ register_id: "",
+ shop_token: ""
},
tips: '获取验证码',
// refCode: null,
@@ -80,6 +82,7 @@
};
},
onLoad() {
+ this.APP_token = uni.getStorageSync('APP_token');
this.options.data = bj;
// this.$refs.lottie.call('play');
this.initTerminal();
@@ -115,6 +118,7 @@
if (!this.formData.account) return Toast('账号不能为空');
if (this.formData.scene == 1 && !this.formData.password) return Toast('密码不能为空');
if (this.formData.scene == 2 && !this.formData.code) return Toast('验证码不能为空');
+ this.formData.shop_token = uni.getStorageSync('APP_token');
let that = this;
uni.showLoading({
title: '正在登录中'
diff --git a/pages/oaMy/oaMy.vue b/pages/oaMy/oaMy.vue
index a11522e..48c0adf 100644
--- a/pages/oaMy/oaMy.vue
+++ b/pages/oaMy/oaMy.vue
@@ -5,14 +5,17 @@
-
-
+ -->
-
-
+
+
+
+
+
-
+
diff --git a/static/tabs-icon/Task-a.png b/static/tabs-icon/Task-a.png
index d53e708..51af40f 100644
Binary files a/static/tabs-icon/Task-a.png and b/static/tabs-icon/Task-a.png differ
diff --git a/static/tabs-icon/Task.png b/static/tabs-icon/Task.png
index cc734f5..0317dd0 100644
Binary files a/static/tabs-icon/Task.png and b/static/tabs-icon/Task.png differ
diff --git a/static/tabs-icon/approval-a.png b/static/tabs-icon/approval-a.png
index 7dcdde4..40166ff 100644
Binary files a/static/tabs-icon/approval-a.png and b/static/tabs-icon/approval-a.png differ
diff --git a/static/tabs-icon/approval.png b/static/tabs-icon/approval.png
index 3a701f0..757d0b9 100644
Binary files a/static/tabs-icon/approval.png and b/static/tabs-icon/approval.png differ
diff --git a/static/tabs-icon/home-a.png b/static/tabs-icon/home-a.png
index da58205..3c4e256 100644
Binary files a/static/tabs-icon/home-a.png and b/static/tabs-icon/home-a.png differ
diff --git a/static/tabs-icon/home.png b/static/tabs-icon/home.png
index df23792..c3aeff2 100644
Binary files a/static/tabs-icon/home.png and b/static/tabs-icon/home.png differ
diff --git a/static/tabs-icon/manager-a.png b/static/tabs-icon/manager-a.png
index f4caefb..b805033 100644
Binary files a/static/tabs-icon/manager-a.png and b/static/tabs-icon/manager-a.png differ
diff --git a/static/tabs-icon/manager.png b/static/tabs-icon/manager.png
index 5a7ceba..4553a34 100644
Binary files a/static/tabs-icon/manager.png and b/static/tabs-icon/manager.png differ
diff --git a/static/tabs-icon/my-a.png b/static/tabs-icon/my-a.png
index 2c2c033..e70365d 100644
Binary files a/static/tabs-icon/my-a.png and b/static/tabs-icon/my-a.png differ
diff --git a/static/tabs-icon/my.png b/static/tabs-icon/my.png
index 2effa74..a22aaf3 100644
Binary files a/static/tabs-icon/my.png and b/static/tabs-icon/my.png differ
diff --git a/static/tabs-icon/on-3.png b/static/tabs-icon/on-3.png
deleted file mode 100644
index 86601cd..0000000
Binary files a/static/tabs-icon/on-3.png and /dev/null differ
diff --git a/subpkg/newPersonnel/newPersonnel.vue b/subpkg/newPersonnel/newPersonnel.vue
index c0a6117..b254703 100644
--- a/subpkg/newPersonnel/newPersonnel.vue
+++ b/subpkg/newPersonnel/newPersonnel.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/subpkg/shareCapital/shareCapital.vue b/subpkg/shareCapital/shareCapital.vue
index 27657d1..ad4fb9e 100644
--- a/subpkg/shareCapital/shareCapital.vue
+++ b/subpkg/shareCapital/shareCapital.vue
@@ -4,7 +4,7 @@
账户入股金额
{{shareholder.shareholder_money}}元
- 暂无直属上级公司
+ 暂无直属上级公司
diff --git a/subpkg/updateArchives/updateArchives.vue b/subpkg/updateArchives/updateArchives.vue
index 2c89515..8ae0506 100644
--- a/subpkg/updateArchives/updateArchives.vue
+++ b/subpkg/updateArchives/updateArchives.vue
@@ -56,6 +56,8 @@
+
@@ -111,6 +113,8 @@
showDemandList: [], //更多需求展示列表
updateFlag: true,
task_id: 0,
+ modelShow: false, // 是否显示删除提示框
+ deleteIndex: -1, // 删除标记
formData: {
id_card: '',
sex: '',
@@ -210,22 +214,32 @@
}
},
// 确认添加需求
- changeDemand: throttle(function(e) {
+ changeDemand(e){
+ this.$u.throttle(()=>this.addDemand(e), 2000)
+ },
+ addDemand(e){
+ uni.showLoading({
+ title: '添加中',
+ mask: true
+ })
this.demandShow = false;
if (e.value[1]) {
this.showDemandList.push(e.value[1]);
} else {
this.showDemandList.push(e.value[0]);
}
- }, 3000),
+ this.$nextTick(()=>{
+ uni.hideLoading();
+ })
+ },
// 删除需求
removeShowDemand(index) {
- uni.showModal({
- title: '确定删除这一部分内容吗',
- success: (res) => {
- if (res.confirm) this.showDemandList.splice(index, 1);
- }
- })
+ this.modelShow = true;
+ this.deleteIndex = index;
+ },
+ deleteDemand(index){
+ this.showDemandList.splice(index, 1);
+ this.modelShow = false;
}
},
onPullDownRefresh() {
diff --git a/utils/request.js b/utils/request.js
index d5f7fa7..dc49f11 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -1,6 +1,7 @@
import { HTTP_REQUEST_URL, HEADER, TOKENNAME, } from '@/config/app';
// import { checkLogin } from '../libs/login';
import store from '../store';
+import props from '../uni_modules/uview-ui/libs/config/props';
function toLogin() {
@@ -19,6 +20,7 @@ function baseRequest(url, method, data, {
noAuth = false,
noVerify = false
}) {
+ console.log('当前环境', process.env.NODE_ENV);
let Url = HTTP_REQUEST_URL,
header = HEADER;