LAPTOP-FO2T5SIU\35838 6 months ago
parent
commit
34dbaa2be0
2 changed files with 7 additions and 5 deletions
  1. 6 4
      src/views/saleManage/checkIn/checkIn.vue
  2. 1 1
      src/views/singleLogin/ssoLogin.vue

+ 6 - 4
src/views/saleManage/checkIn/checkIn.vue

@@ -64,7 +64,7 @@
               </el-tooltip>
             </template>
           </el-table-column>
-          <el-table-column label="入驻日期" prop="operateTime" width="150" />
+          <el-table-column label="入住日期" prop="inDate" width="150" />
           <el-table-column label="经办人" prop="operater" width="100" />
 
           <!--          <el-table-column label="实测建筑面积(㎡)" prop="actualBuildArea" width="110" />-->
@@ -210,7 +210,7 @@
       </el-form>
       <div slot="footer">
         <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button v-if="dialogTitle!='查看'" type="primary" @click="confirmSubmit()">确 定</el-button>
+        <el-button v-if="dialogTitle!='查看'" type="primary" :loading="loadingFlag" @click="confirmSubmit()">确 定</el-button>
       </div>
     </el-dialog>
   </div>
@@ -238,7 +238,8 @@ export default {
             form: {},
             dialogTitle: '新增',
             dialogVisible2: false,
-            dialogTitle2: '查看'
+            dialogTitle2: '查看',
+            loadingFlag: false
         }
     },
     mounted() {
@@ -324,6 +325,7 @@ export default {
             this.form = Object.assign({}, val)
             this.dialogVisible = true
             this.dialogTitle = '状态登记'
+            this.loadingFlag = false
         },
         handleView(val) {
             this.dialogVisible = true
@@ -332,7 +334,7 @@ export default {
         },
         confirmSubmit: function() {
             const _this = this
-
+            _this.loadingFlag = true
             this.$refs.form.validate(valid => {
                 if (valid) {
                     let soaUrl = 'edit'

+ 1 - 1
src/views/singleLogin/ssoLogin.vue

@@ -28,7 +28,7 @@ export default {
             // 获取地址栏中的token
             var token = this.$route.query
             // alert('token: ' + token)
-            // console.log('token===', token)
+            console.log('token===', token)
             // console.log('loginid===', token.loginid)
             // 调用登录的接口
             if (token == '' || token == undefined || token == null) {