diff --git a/api/person.js b/api/person.js index bf6db5f..d1b0271 100644 --- a/api/person.js +++ b/api/person.js @@ -2,6 +2,13 @@ let personInfo = {// 用户信息模块 merchantManagement_todayData: "/yishoudan/statistics/agency/teamWithGroup",// 获取今日数据 person_feedback: "/daotian/feedback/add",// 反馈与建议 person_feedbackList: "/daotian/feedback/list",// 反馈与建议 + + person_getMargeRecord: "/yishoudan/agency/merge/get",// 获取合并记录 + person_getGroup:'/yishoudan/agency/getAgencyByAdminTel',// 根据管理员手机号查团队 + person_addApply:'/yishoudan/agency/merge/add',// 申请合并 + person_applyTrue:'/yishoudan/agency/merge/agree',// 通过 + person_applyFalse:'/yishoudan/agency/reject',// 驳回 + person_applyNum:'/yishoudan/agency/merge/countApply',// 查询待处理数量 } export default personInfo; \ No newline at end of file diff --git a/pages.json b/pages.json index a89dde2..3cfe834 100644 --- a/pages.json +++ b/pages.json @@ -97,6 +97,15 @@ { // 个人中心二级页面 "root": "root/person", "pages": [ + { + "path": "marge", + "style": { + "navigationBarTitleText": "合并团队", + "backgroundColor": "#ededed", + "backgroundColorTop": "#ededed", + "backgroundColorBottom": "#ededed" + } + }, { "path": "todayData", "style": { diff --git a/root/person/marge.vue b/root/person/marge.vue new file mode 100644 index 0000000..14227c9 --- /dev/null +++ b/root/person/marge.vue @@ -0,0 +1,356 @@ + + + + + diff --git a/root/person/orderEdit.vue b/root/person/orderEdit.vue index 13c0451..e3f4465 100644 --- a/root/person/orderEdit.vue +++ b/root/person/orderEdit.vue @@ -17,6 +17,21 @@ @clickItem="teamSet" /> + +
+ +
@@ -114,6 +129,7 @@ export default { }, data() { return { + readed:false, isAdmin: uni.getStorageSync("apply-userinfo").admin, userInfo: uni.getStorageSync("apply-userinfo"), teamSetShow: false, @@ -131,6 +147,7 @@ export default { }, onShow() { console.log("企业资料 show"); + this.getNum() }, created() { var that = this; @@ -160,6 +177,12 @@ export default { // } }, methods: { + getNum(){ + let that = this; + that.G.Get(that.api.person_applyNum,{},(res)=>{ + that.readed = res; + }) + }, save() { let that = this; let subObj = { @@ -205,6 +228,7 @@ export default { }); } that.resetInfo(); + that.getNum() }); }, resetInfo() { @@ -341,7 +365,11 @@ export default { // }); // } }, - + goMarge(){ + uni.navigateTo({ + url:'/root/person/marge' + }) + }, teamSet() { this.teamSetShow = true; },