slowslo 4 лет назад
Родитель
Сommit
3fa4e61a17

+ 28 - 1
src/views/businessmng/estatemng/parkrepair.vue

@@ -243,11 +243,13 @@
             {
               label: "所属社区",
               prop: "agencyId",
+              searchSpan: 4,
               search: true,
               type: "select",
               width: 120,
               hide: true,
               viewDisplay: false,
+              cascaderItem: ['residentialId'],
               dicUrl: "/api/cyzh-community/agency/list?size=100",
               dicFormatter:(res)=>{
                 return res.data.records;//返回字典的层级结构
@@ -262,13 +264,38 @@
                 trigger: "blur"
               }]
             },
+            {
+              label: "所属小区",
+              prop: "residentialId",
+              searchSpan: 4,
+              type: "select",
+              search: true,
+              searchFilterable: true,
+              viewDisplay: false,
+              width: 120,
+              hide:true,
+              dicUrl: "/api/cyzh-community/residential/list?size=100&agencyId={{key}}",
+              dicFormatter: (res) => {
+                return res.data.records; //返回字典的层级结构
+              },
+              dateType: "string",
+              props: {
+                label: "name",
+                value: "id"
+              },
+              rules: [{
+                required: true,
+                message: "请选择所属小区",
+                trigger: "change"
+              }],
+            },
             {
               label: "事件描述",
               prop: "reportDetail",
               type: "textarea",
               hide: true,
               rules: [{
-                required: true,
+                required: false,
                 message: "请输入事件描述",
                 trigger: "blur"
               }]

+ 6 - 3
src/views/estate/guestmng/option/guestOption-sq.js

@@ -18,7 +18,8 @@ export default {
   selection: true,
   dialogClickModal: false,
   addTitle: "访客录入",
-  column: [{
+  column: [
+    {
       label: "访客人脸",
       prop: "imageUri",
       type: "upload",
@@ -97,10 +98,12 @@ export default {
     },
 
   ],
-  group: [{
+  group: [
+    {
     label: '拜访信息',
     prop: 'group2',
-    column: [{
+    column: [
+      {
         label: "预约开始时间",
         prop: "beginTime",
         type: "datetime",

+ 1 - 1
src/views/smartaccess/comps/face-card.vue

@@ -677,7 +677,7 @@
         this.pageCount = data.pages
         this.loading = false
       },
-      //获取常人员数据列表
+      //获取常人员数据列表
       async getUserList(params) {
         let data = {}
         let index = this.statusObj.index

+ 2 - 2
src/views/smartaccess/form/authlog.vue

@@ -10,8 +10,8 @@
         @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange">
         <template slot="authStatus" scope="{row}">
           <el-tag v-if="row.authStatus===1">待处理</el-tag>
-          <el-tag v-if="row.authStatus===2" type="danger">失败</el-tag>
-          <el-tag v-if="row.authStatus===3" type="success">成功</el-tag>
+          <el-tag v-if="row.authStatus===2" type="success">成功</el-tag>
+          <el-tag v-if="row.authStatus===3" type="danger">失败</el-tag>
         </template>
 
       </avue-crud>

+ 5 - 5
src/views/smartaccess/form/houseuser.vue

@@ -736,13 +736,13 @@
           this.option = this.editForm;
         }
         this.option.detail = detail
-        this.dialogShow = true
+        this.dialogShow = true;
       },
       showAddForm() {
-        this.isAdd = true
-        this.dialogShow = true
-        this.option = this.editForm
-        this.option.detail = false
+        this.isAdd = true;
+        this.dialogShow = true;
+        this.option = this.editForm;
+        this.option.detail = false;
         this.$refs.avueForm.resetForm()
         this.model = {}
       },

+ 4 - 4
src/views/videoapply/comp/videomanage.vue

@@ -116,7 +116,7 @@
           bindOption: {
             column: [
               {
-                label: "所属区",
+                label: "所属区",
                 prop: "residentialId",
                 type: "select",
                 remote: true,
@@ -133,7 +133,7 @@
                 },
                 rules: [{
                   required: true,
-                  message: "请选择所属区",
+                  message: "请选择所属区",
                   trigger: "blur"
                 }]
               },
@@ -282,11 +282,11 @@
                 slot: true
               },
               {
-                label: "所属区",
+                label: "所属区",
                 prop: "agencyName",
               },
               {
-                label: "所属区",
+                label: "所属区",
                 prop: "agencyId",
                 hide: true,
                 search: true,