From 4b520d36c3ad0b7bb477d737d7c4c10537238038 Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Tue, 12 Mar 2024 18:09:40 +0800
Subject: [PATCH] 更新

---
 src/views/place/components/baseAllInfo.vue |  175 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 168 insertions(+), 7 deletions(-)

diff --git a/src/views/place/components/baseAllInfo.vue b/src/views/place/components/baseAllInfo.vue
index 4db7957..a76ff77 100644
--- a/src/views/place/components/baseAllInfo.vue
+++ b/src/views/place/components/baseAllInfo.vue
@@ -6,6 +6,10 @@
         <avue-form v-if="baseShow" ref="baseForm" :option="option" v-model="form">
         </avue-form>
 
+
+        <box-title class="m10" :classVal="9" :title="'房东信息'"></box-title>
+        <avue-form v-if="restShow" ref="restForm" :option="houseOwnerOption" v-model="form"></avue-form>
+
         <box-title class="m10" :classVal="9" :title="'其他信息'"></box-title>
         <avue-form v-if="restShow" ref="restForm" :option="optionDetail" v-model="placeForm"></avue-form>
 
@@ -290,7 +294,6 @@
             label: "dictValue",
             value: "dictKey",
           },
-
         },
         {
           label: "场所照片",
@@ -328,8 +331,8 @@
         {
           width: 160,
           overHidden: true,
-          display:false,
-          hide:true,
+          display: false,
+          hide: true,
           label: "地址",
           prop: "addressName",
           span: 12
@@ -380,12 +383,13 @@
         submitBtn: false,
         emptyBtn: false,
         column: [{
+          labelWidth: 100,
           label: "法人信息",
           prop: "legalPerson",
         },
 
         {
-          width: 96,
+          labelWidth: 100,
           label: "法人电话",
           prop: "legalTel",
           search: true,
@@ -396,6 +400,69 @@
             validator: validatorPhone,
             trigger: "blur",
           },],
+        },
+        {
+          labelWidth: 100,
+          label: "法人微信号",
+          prop: "legalPerson",
+        },
+        {
+          labelWidth: 100,
+          label: "法人身份证号",
+          prop: "legalIdCard",
+        },
+        {
+          labelWidth: 100,
+          label: "法人性别",
+          prop: "legalGender",
+          type: "select",
+          dicData: [{
+            label: "男",
+            value: 1
+          },
+          {
+            label: "女",
+            value: 0
+          },
+          {
+            label: "未知",
+            value: "3"
+          }
+          ],
+        },
+        {
+          labelWidth: 100,
+          span: 12,
+          label: "法人民族",
+          prop: "ethnicity",
+          type: "select",
+          row: true,
+          dicUrl: "/api/blade-system/dict-biz/dictionary?code=nationType",
+          dataType: "number",
+          props: {
+            label: "dictValue",
+            value: "dictKey",
+          },
+        },
+        {
+          labelWidth: 100,
+          label: "工作单位",
+          prop: "employer",
+        },
+        {
+          labelWidth: 100,
+          label: "岗位性质",
+          prop: "legalJobNature",
+        },
+        {
+          labelWidth: 100,
+          label: "户籍地址",
+          prop: "legalRegisteredAddress",
+        },
+        {
+          labelWidth: 100,
+          label: "居住地址",
+          prop: "legalTempAddress",
         },
 
         {
@@ -483,6 +550,100 @@
         total: 0,
       },
       houseHoldForm: {},
+      houseOwnerOption: {
+        submitBtn: false,
+        emptyBtn: false,
+        column: [
+
+          {
+            width: 96,
+            label: "姓名",
+            prop: "landlordName",
+            search: true,
+            searchSpan: 4,
+            slot: true,
+            overHidden: true
+          },
+          {
+            width: 96,
+            label: "身份证号",
+            prop: "landlordIdCard",
+            search: true,
+            searchSpan: 4,
+            slot: true,
+            overHidden: true,
+            rules: [{
+              validator: validatorPhone,
+              trigger: "blur",
+            },],
+          },
+          {
+            width: 96,
+            label: "手机号",
+            prop: "landlordPhone",
+            search: true,
+            searchSpan: 4,
+            slot: true,
+            overHidden: true,
+            rules: [{
+              validator: validatorPhone,
+              trigger: "blur",
+            },],
+          },
+          {
+            width: 96,
+            label: "微信号",
+            prop: "legalTel",
+            search: true,
+            searchSpan: 4,
+            slot: true,
+            overHidden: true,
+            rules: [{
+              validator: validatorPhone,
+              trigger: "blur",
+            },],
+          },
+
+
+
+        ],
+      },
+      userOption: {
+        submitBtn: false,
+        emptyBtn: false,
+        column: [
+
+          {
+            width: 96,
+            label: "电话",
+            prop: "legalTel",
+            search: true,
+            searchSpan: 4,
+            slot: true,
+            overHidden: true,
+            rules: [{
+              validator: validatorPhone,
+              trigger: "blur",
+            },],
+          },
+          {
+            width: 96,
+            label: "微信号",
+            prop: "legalTel",
+            search: true,
+            searchSpan: 4,
+            slot: true,
+            overHidden: true,
+            rules: [{
+              validator: validatorPhone,
+              trigger: "blur",
+            },],
+          },
+
+
+
+        ],
+      },
     }
   },
 
@@ -494,9 +655,9 @@
 
   watch: {
 
-    'form.houseBindList':{
-      handler(newData){
-        console.log("=======>",newData)
+    'form.houseBindList': {
+      handler(newData) {
+        console.log("=======>", newData)
       }
     },
 

--
Gitblit v1.9.3