Hwt 3 lat temu
rodzic
commit
c2ada7a920

+ 1 - 1
operationSupport/src/views/ownerManagement/landlordManagement/stepPage/add.vue

@@ -83,7 +83,7 @@
                 ref="uploaduserlogo"
                 class="mini-upload"
                 limit="1"
-                action="/sc-community/upload/uploadFile"
+                action="/czc-community/upload/uploadFile"
                 :on-success="uploadsuccess"
                 :before-upload="beforeAvatarUpload"
                 :auto-upload="true"

+ 20 - 7
operationSupport/src/views/ownerManagement/landlordReview/examine.vue

@@ -39,12 +39,10 @@
             placeholder="请选择计费规则"
           >
             <el-option
-              label="房东"
-              value="1"
-            ></el-option>
-            <el-option
-              label="二房东"
-              value="2"
+              v-for="(item,index) in billing"
+              :key="index"
+              :label="item.name"
+              :value="item.label"
             ></el-option>
           </el-select>
         </el-form-item>
@@ -80,6 +78,8 @@ export default {
         desc: ''
       },
       id: '',
+      communityId: '',
+      billing: [],
       rules: {
         radio: [
           { required: true, message: '请选择审核方式', trigger: 'change' }
@@ -134,12 +134,25 @@ export default {
         this.formData.measureArea = this.params.row.area;
         this.formData.Rule = '';
       }
+    },
+    communityRules () {
+      this.$http.get('/czc-charge/scChargeStrategy/list', { communityId: this.communityId }).then(({ status, data, msg }) => {
+        if (status == 0) {
+          data.map((item, index) => {
+            this.billing.push({
+              name: item.chargeName,
+              label: item.id
+            })
+          })
+        }
+      })
     }
   },
   created () {
-    console.log('444', this.params)
+    this.communityId = this.params.communityId;
     this.id = this.params.row.id;
     this.formData.measureArea = this.params.row.area;
+    this.communityRules();
   }
 
 }

+ 2 - 0
operationSupport/src/views/ownerManagement/landlordReview/index.vue

@@ -135,6 +135,7 @@ export default {
       });
     },
     deleteOne (row) {
+      debugger;
       new Promise((resolve) => {
         this.$store.dispatch('addPopup', {
           url: '/ownerManagement/landlordReview/examine.vue',
@@ -142,6 +143,7 @@ export default {
           height: '400px',
           props: {
             // id: row.id,
+            communityId: row.communityId,
             row,
             callback: resolve,
           },