From a792def87d82faa9db5d8595b91719cca113284b Mon Sep 17 00:00:00 2001 From: lancer <1905818361@qq.com> Date: Thu, 2 Sep 2021 15:58:50 +0800 Subject: [PATCH] init --- public/index.html | 86 +++++++++++------ src/api/modules/api.js | 9 ++ src/page/check/chose.vue | 197 ++++++++++++++++++++++++++++++++++++--- src/page/check/index.vue | 49 +++++----- src/page/login/index.vue | 10 +- vue.config.js | 4 +- 6 files changed, 281 insertions(+), 74 deletions(-) diff --git a/public/index.html b/public/index.html index 13cabc9..b3dbd04 100644 --- a/public/index.html +++ b/public/index.html @@ -9,47 +9,75 @@ - - + + 智控管家 + - -
-
-
- loading -
- 正在加载资源 + +
+
+
+ loading +
+ 正在加载资源 +
+
+ 初次加载资源可能需要较多时间 请耐心等待 +
-
- 初次加载资源可能需要较多时间 请耐心等待 +
-
-
- - - + + + diff --git a/src/api/modules/api.js b/src/api/modules/api.js index 293ca66..5030099 100644 --- a/src/api/modules/api.js +++ b/src/api/modules/api.js @@ -176,3 +176,12 @@ export function deptDelOrg(data) { data }) } + +// 获取代理商列表 +export function zkagentPage(query) { + return request({ + url: '/autoSR/zkagent/page', + method: 'get', + params: query + }) +} diff --git a/src/page/check/chose.vue b/src/page/check/chose.vue index 4cb5bda..b7a5e2a 100644 --- a/src/page/check/chose.vue +++ b/src/page/check/chose.vue @@ -4,52 +4,219 @@
质控管家管理系统
返回
-
选择后台
- 这是楼盘 - +
+ 选择后台|{{ + flag == 1 ? "选择代理商" : flag == 2 ? "选择公司" : "选择楼盘" + }} +
+
+ +
+
+
{{ item.agentName }}
+
+ 服务状态: + {{ item.residueTime > 0 ? "服务中" : "已过期" }} +
+
{{ item.address }}
+
+
+
+ +
这是公司
+
这是楼盘
+ +
diff --git a/src/page/check/index.vue b/src/page/check/index.vue index 3306768..2204917 100644 --- a/src/page/check/index.vue +++ b/src/page/check/index.vue @@ -45,6 +45,7 @@ export default { mounted() { // console.log(123); this.getTab(); + }, methods: { // 获取可选权限对 @@ -84,18 +85,19 @@ export default { localStorage.setItem('orgType',idx) if (idx == 0) { // 质控管家后台 + this.$router.push({ path: "/wel" }); } if (idx == 1) { // 代理商 - this.$router.push({ path: "/chose" }); + this.$router.push({ path: "/chose",query:{flag:1}}); } if (idx == 2) { // 公司后台 - this.$router.push({ path: "/chose" }); + this.$router.push({ path: "/chose",query:{flag:2}}); } if (idx == 3) { // 楼盘后台 - this.$router.push({ path: "/chose" }); + this.$router.push({ path: "/chose",query:{flag:3}}); } // this.$router.push({ path: "/chose" }); @@ -106,51 +108,52 @@ export default {