From cc1c0a396698648256c350f6f0fe2cb2f0b02c7e Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Wed, 27 Mar 2024 15:44:10 +0800
Subject: [PATCH] 许可按钮放出,备案审批按钮放出

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

diff --git a/src/views/permit/permit.vue b/src/views/permit/permit.vue
index cabe1cc..c0a63ae 100644
--- a/src/views/permit/permit.vue
+++ b/src/views/permit/permit.vue
@@ -55,7 +55,7 @@
             :size="size"
             :type="type"
             @click.stop="viewLicense(row)"
-            v-if="row.type != '2'"
+            v-if="row.type == '0'"
             >打印许可证
           </el-button>
         </template>
@@ -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: "成立日期",
+            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",
@@ -284,7 +331,7 @@
             rules: [
               {
                 required: true,
-                message: "请输入成立日期",
+                message: "请输入注册时间",
                 trigger: "blur",
               },
             ],
@@ -359,13 +406,13 @@
             ],
           },
           {
-            label: "所属地区",
+            label: "所属辖区",
             hide: true,
             prop: "region",
             rules: [
               {
                 required: true,
-                message: "请输入所属地区",
+                message: "请输入所属辖区",
                 trigger: "blur",
               },
             ],
@@ -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);
     },
 
@@ -566,7 +616,7 @@
       this.licenceData.chiden["注册资本"] = row.registeredcapital;
       this.licenceData.chiden["批准文号"] = row.registrationnumber;
 
-      console.log(this.licenceData);
+      // console.log(this.licenceData);
       this.dialogVisible = true;
     },
     closePrint() {
@@ -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