From faeb9f24a853bda762e4cce47ec7c86a69ba268b Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 25 Nov 2021 18:55:49 +0800
Subject: [PATCH] +

---
 src/views/licenseApproval/securityPermit.vue |   51 +++++++++++++++++++++++++++++++++------------------
 1 files changed, 33 insertions(+), 18 deletions(-)

diff --git a/src/views/licenseApproval/securityPermit.vue b/src/views/licenseApproval/securityPermit.vue
index 1b5d5f9..adfa6a2 100644
--- a/src/views/licenseApproval/securityPermit.vue
+++ b/src/views/licenseApproval/securityPermit.vue
@@ -3,7 +3,7 @@
  * @Author: liu
  * @Date: 2021-08-26 16:22:20 
  * @Last Modified by: liu
- * @Last Modified time: 2021-11-25 18:39:39
+ * @Last Modified time: 2021-11-25 18:49:29
  */
 
 <template>
@@ -57,6 +57,21 @@
             @click.stop="rowDel(row)"
             v-if="row.stateOur == '0'"
             >许可审批
+          </el-button>
+          <el-button
+            icon="el-icon-edit"
+            :size="size"
+            :type="type"
+            v-if="
+              row.stateOur != '0' &&
+              !(
+                row.papprove == '1' &&
+                row.xapprove == '1' &&
+                row.sapprove == '1'
+              )
+            "
+            @click.stop="rowSee(row)"
+            >审批查询
           </el-button>
           <el-button
             icon="el-icon-edit"
@@ -391,7 +406,7 @@
         .toJSON()
         .substr(0, 19)
         .replace("T", " ");
-      // console.log(date);
+      console.log(this.user_name);
       // return;
       this.dialogVisiblecc = false;
       if (this.user_name == "派") {
@@ -417,7 +432,7 @@
           .replace("T", " ");
         this.xukezData.type = type == "0" ? "0" : "1"; // 为了保持审核系统识别
       }
-      // console.log(this.xukezData);
+      console.log(this.xukezData);
       // return;
       update(this.xukezData).then((res) => {
         console.log(res);
@@ -433,21 +448,21 @@
       this.dialogVisiblecc = true;
       this.xukezData = row;
     },
-    closecc() {
-      this.xukezData.type = "0";
-      this.dialogVisiblecc = false;
-      this.xukezData["approve"] = this.textareaShenpi;
-      console.log(this.xukezData);
-      update(this.xukezData);
-      this.textareaShenpi = "";
-    },
-    subcc() {
-      this.xukezData.type = "1";
-      this.dialogVisiblecc = false;
-      this.xukezData["approve"] = this.textareaShenpi;
-      update(this.xukezData);
-      this.textareaShenpi = "";
-    },
+    // closecc() {
+    //   this.xukezData.type = "0";
+    //   this.dialogVisiblecc = false;
+    //   this.xukezData["approve"] = this.textareaShenpi;
+    //   console.log(this.xukezData);
+    //   update(this.xukezData);
+    //   this.textareaShenpi = "";
+    // },
+    // subcc() {
+    //   this.xukezData.type = "1";
+    //   this.dialogVisiblecc = false;
+    //   this.xukezData["approve"] = this.textareaShenpi;
+    //   update(this.xukezData);
+    //   this.textareaShenpi = "";
+    // },
 
     viewLicense(row) {
       //查看许可证

--
Gitblit v1.9.3