Shannon_mu il y a 3 ans
Parent
commit
d6e99cf4af

+ 0 - 38
login/src/views/Login/index.vue

@@ -38,34 +38,6 @@
                                 >
                                 </el-input>
                             </div>
-                            <div class="form-item">
-                                <el-input
-                                    type="text"
-                                    placeholder="请输入手机验证码"
-                                    v-model="accountNumberData.smsCode"
-                                    @focus="smsCodefocus = true"
-                                    @blur="onsmsCodefocus"
-                                >
-                                </el-input>
-                                <el-button
-                                    type="text"
-                                    v-if="accountNumberData.time"
-                                    class="el-fl-right codeImg sms-code sms-code-istime"
-                                    :disabled="!!accountNumberData.time"
-                                    @click="getCode"
-                                >
-                                    {{ `${accountNumberData.time}s后重新获取` }}</el-button
-                                >
-                                <el-button
-                                    type="text"
-                                    v-else
-                                    class="el-fl-right codeImg sms-code sms-code-notime"
-                                    :disabled="!!accountNumberData.time"
-                                    @click="getCode"
-                                >
-                                    4位校验码</el-button
-                                >
-                            </div>
                             <div class="remember">
                                 <el-checkbox v-model="rememberName">记住账号</el-checkbox>
                             </div>
@@ -170,9 +142,6 @@ export default {
             accountNumberData: {
                 mobile: '',
                 password: '',
-                smsCode: '2020', //手机校验码
-                time: 0,
-                random: '', //用于重新获取数字校验码的随机数
                 errMsg: ''
             },
             rememberName: false,
@@ -346,13 +315,6 @@ export default {
         accountNumberSubmit() {
             let errorMsg = '';
             const params = { ...this.accountNumberData };
-            if (!codeRegExp.test(params.smsCode)) {
-                errorMsg = '· 您输入的手机验证码有误,请重新输入';
-            }
-            if (!params.smsCode) {
-                errorMsg = '· 请输入手机检验码';
-            }
-
             if (!params.password) {
                 errorMsg = '· 请输入密码';
             }

+ 0 - 17
operationSupport/public/index.html

@@ -37,23 +37,6 @@
   <script src="<%= BASE_URL %>loctionJs/vue-router@3.4.3.js"></script>
   <script src="<%= BASE_URL %>loctionJs/vuex@3.5.1.js"></script>
   <script src="<%= BASE_URL %>loctionJs/axios@0.20.0.js"></script>
-
-
-
-  <!-- <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.min.js"></script>
-  <script src="https://cdn.bootcdn.net/ajax/libs/vue-router/3.4.3/vue-router.min.js"></script>
-  <script src="https://cdn.bootcdn.net/ajax/libs/vuex/3.5.1/vuex.min.js"></script>
-  <script src="https://cdn.bootcdn.net/ajax/libs/element-ui/2.13.2/index.js"></script>
-  <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.20.0/axios.min.js"></script> -->
-  <!-- promise-polyfill -->
-  <script src="https://cdn.bootcdn.net/ajax/libs/promise-polyfill/8.1.3/polyfill.min.js"></script>
-  <!-- JavaScript 实用工具库 -->
-  <script src="https://cdn.bootcdn.net/ajax/libs/lodash.js/4.17.11/lodash.min.js"></script>
-  <!-- 日期格式化插件dayjs -->
-  <script src="https://cdn.bootcdn.net/ajax/libs/dayjs/1.8.36/dayjs.min.js"></script>
-  <!-- 百度图表echarts -->
-  <script src="https://cdn.bootcdn.net/ajax/libs/echarts/4.8.0/echarts.min.js"></script>
-  <!-- built files will be auto injected -->
 </body>
 
 </html>

+ 20 - 14
operationSupport/src/components/common/Tags.vue

@@ -77,8 +77,26 @@ export default {
         },
         // 设置标签
         setTags(route) {
-            const isExist = this.tagsList.some((item) => {
-                return item.path.indexOf(route.path) > -1;
+            let tagArr = {
+                title: route.title || route.meta.title,
+                path: route.fullPath
+            };
+            if (!!route.name) {
+                tagArr = {
+                    title: route.title || route.meta.title,
+                    path: route.fullPath,
+                    name: route.name
+                };
+            }
+
+            const isExist = this.tagsList.some((item, index) => {
+                let thisBi = item.path.indexOf(route.path) > -1;
+                if (thisBi) {
+                    this.tagsList.splice(index, 1, tagArr);
+    
+                    this.$store.dispatch('tags', this.tagsList);
+                }
+                return thisBi;
             });
             if (!isExist) {
                 if (route.path === '/') {
@@ -87,18 +105,6 @@ export default {
                 if (this.tagsList.length >= 8) {
                     this.tagsList.shift();
                 }
-                let tagArr = {
-                    title: route.title || route.meta.title,
-                    path: route.fullPath
-                };
-                if (!!route.name) {
-                    tagArr = {
-                        title: route.title || route.meta.title,
-                        path: route.fullPath,
-                        name: route.name
-                    };
-                }
-
                 this.tagsList.push(tagArr);
                 this.$store.dispatch('tags', this.tagsList);
             }

+ 1 - 1
operationSupport/src/views/assetManagement/housingManagement/details.vue

@@ -1,7 +1,7 @@
 <template>
     <div class="main">
         <div class="top-title">
-            <h1>房屋号:{{ detailsData.roomNumber }}<span class="titleType">住</span></h1>
+            <h1>房屋号:{{ detailsData.roomNumber }}<span class="titleType">住</span></h1>
             <el-button class="right" type="primary" @click="close()">返回</el-button>
             <div class="text">
                 <span>所属社区:{{ detailsData.communityId }}</span> <span>楼栋:{{ detailsData.communityName }}</span>