From 2d50c51214f0ced8c992a415c72ea33b519fff59 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 03 Sep 2021 15:53:05 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/zhba_regulatory

---
 src/views/permit/permit.vue |   80 +++++++++++++++++++++++++++++++++++++---
 1 files changed, 74 insertions(+), 6 deletions(-)

diff --git a/src/views/permit/permit.vue b/src/views/permit/permit.vue
index cfa78da..f20ae9c 100644
--- a/src/views/permit/permit.vue
+++ b/src/views/permit/permit.vue
@@ -182,11 +182,21 @@
       width="30%"
       :modal-append-to-body="false"
     >
-      <span>是否通过审核?</span>
-      <span slot="footer" class="dialog-footer">
-        <el-button @click="closecc">通过</el-button>
-        <el-button type="primary" @click="subcc">不通过</el-button>
-      </span>
+      <div class="flots">
+        <span class="f_title">是否通过审核?</span>
+        <span class="f_body">请输入修改意见:</span>
+        <textarea
+          name="reworkmes"
+          cols="40"
+          rows="4"
+          style="overflow: hidden"
+          v-model="textareaShenpi"
+        ></textarea>
+        <div class="but">
+          <el-button @click="closecc">通过</el-button>
+          <el-button type="primary" @click="subcc">不通过</el-button>
+        </div>
+      </div>
     </el-dialog>
   </div>
 </template>
@@ -208,6 +218,7 @@
         row: {},
         chiden: {},
       },
+      textareaShenpi: "",
 
       form: {},
       query: {},
@@ -276,7 +287,43 @@
             ],
           },
           {
+            label: "法定代表人电话",
+            width: 150,
+            prop: "representativecell",
+            rules: [
+              {
+                required: true,
+                message: "请输入法定代表人电话",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "联系人",
+            prop: "contacts",
+            rules: [
+              {
+                required: true,
+                message: "请输入联系人",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "联系人电话",
+            width: 150,
+            prop: "contactscell",
+            rules: [
+              {
+                required: true,
+                message: "请输入联系人电话",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
             label: "注册时间",
+            hide: true,
             prop: "establishtime",
             type: "date",
             format: "yyyy-MM-dd",
@@ -547,11 +594,14 @@
     closecc() {
       this.xukezData.type = "0";
       this.dialogVisiblecc = false;
+      this.xukezData["approve"] = this.textareaShenpi;
+      console.log(this.xukezData);
       return update(this.xukezData);
     },
     subcc() {
       this.xukezData.type = "1";
       this.dialogVisiblecc = false;
+      this.xukezData["approve"] = this.textareaShenpi;
       return update(this.xukezData);
     },
 
@@ -660,7 +710,7 @@
 };
 </script>
 
-<style scoped>
+<style scoped lang="scss">
 .dtype {
   width: 80px;
 }
@@ -793,4 +843,22 @@
 .PrintBut {
   margin-top: 15px;
 }
+
+.flots {
+  display: flex;
+  justify-content: space-between;
+  flex-direction: column;
+  .f_title {
+    position: absolute;
+    top: 15px;
+    font-size: 18px;
+  }
+}
+.but {
+  margin-top: 20px;
+  width: 100%;
+  display: flex;
+  align-content: center;
+  justify-content: center;
+}
 </style>

--
Gitblit v1.9.3