jinx 4 роки тому
батько
коміт
63e31c068d

+ 2 - 1
index.html

@@ -8,7 +8,8 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
     <link rel="apple-touch-icon" sizes="180x180" href="static/img/favicon.ico">
     <link rel="icon" type="image/png" href="static/img/favicon.ico" sizes="192x192">
-    <title>指房宝后台管理系统</title>
+    <!-- <title>指房宝后台管理系统</title> -->
+    <title>四维指房宝</title>
   </head>
   <body>
     <div id="app"></div>

BIN
src/assets/images/4d_zfb_logo.png


+ 14 - 0
src/pages/home/index.vue

@@ -1015,6 +1015,8 @@ export default {
         url: "/company/selectUserList",
         headers: {
           token: window.localStorage.getItem("zfb_token"),
+          pageNum:1,
+          pageSize:99999999
         },
       }).then((res) => {
         if (res.code === 200) {
@@ -1091,6 +1093,18 @@ export default {
     //保存子账号修改
     saveZichange() {
       let i;
+      let data =  this.ShowChildUser.filter((res) => {
+        if (res.phone == this.changeZi.phone &&this.changeZi.id !=res.id) {
+          this.$notify.error({
+            title: "添加失败",
+            message: "子账号已被该企业绑定",
+          });
+          return res;
+        }
+      });
+      if (data.length>=1) {
+           return false;
+      }
       for (i = 0; i < this.ShowChildUser.length; i++) {
         if (this.ShowChildUser[i].id == this.changeZi.id) {
           this.ShowChildUser[i].memoName = this.changeZi.memoName;

+ 1 - 1
src/pages/layout/header/index.vue

@@ -3,7 +3,7 @@
 <div class='con'>
   <div class="logo">
     <vcenter>
-      <img :src="require('@/assets/images/index_logo@2x.png')" alt="">
+      <img :src="require('@/assets/images/4d_zfb_logo.png')" alt="">
     </vcenter>
   </div>
   <div class="setting">

+ 3 - 1
src/pages/layout/header/style.scss

@@ -10,7 +10,9 @@
     height: 100%;
     display: inline-block;
     img{
-      width: 100px;
+      // width: 100px;
+      width: 64px;
+      height: 64px;
     }
   }
   .setting{

+ 4 - 4
src/pages/login/index.vue

@@ -1,7 +1,7 @@
 <template>
 <div class="l-con">
   <div class="l-top">
-    <h1>指房宝后台管理系统</h1>
+    <h1>四维指房宝</h1>
   </div>
   <div class="l_center">
     <vcenter>
@@ -74,7 +74,7 @@ export default {
       serverName,
       fullscreenLoading: false,
       checked: true,
-      logoImg: require('@/assets/images/index_logo@2x.png'),
+      logoImg: require('@/assets/images/4d_zfb_logo.png'),
       ruleForm2: {
         username: '',
         pass: ''
@@ -157,13 +157,13 @@ export default {
       display: inline-block;
       color: #fff;
       img{
-        width: 150px;
+        width: 120px;
       }
 
       .text_01{
         font-size: 60px;
         font-weight: bold;
-        margin-top: 70px;
+        margin-top: 20px;
       }
       .text_02{
         font-size: 40px;