From 43cf39c8e20a423537015d8ff459f5db32ac4fcb Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 25 Nov 2021 18:41:46 +0800
Subject: [PATCH] 逐级审批
---
src/views/licenseApproval/securityGuard.vue | 45 +++++++++++++++++++++++++++------------------
1 files changed, 27 insertions(+), 18 deletions(-)
diff --git a/src/views/licenseApproval/securityGuard.vue b/src/views/licenseApproval/securityGuard.vue
index 7469efd..84b5cc8 100644
--- a/src/views/licenseApproval/securityGuard.vue
+++ b/src/views/licenseApproval/securityGuard.vue
@@ -2,7 +2,7 @@
* @Author: liu
* @Date: 2021-08-26 16:57:58
* @Last Modified by: liu
- * @Last Modified time: 2021-11-25 15:51:45
+ * @Last Modified time: 2021-11-25 17:38:08
*/
@@ -62,7 +62,7 @@
@click.stop="rowDel(row)"
>备案审批
</el-button>
- <!-- <el-button
+ <el-button
icon="el-icon-edit"
:size="size"
:type="type"
@@ -76,7 +76,7 @@
"
@click.stop="rowSee(row)"
>审批查询
- </el-button> -->
+ </el-button>
<el-button
icon="el-icon-brush"
:size="size"
@@ -107,12 +107,9 @@
? "不通过"
: "待审核"
}}
- <i class="gz" v-if="row.type == '2'"></i>
- <!-- 黄色 -->
- <i class="yj" v-if="row.type == '1'"></i>
- <!-- 红色 -->
- <i class="zc" v-if="row.type == '0'"></i>
- <!-- 绿色 -->
+ <i class="gz" v-if="row.stateOur == '0'"></i>
+ <i class="yj" v-if="row.stateOur == '2'"></i>
+ <i class="zc" v-if="row.stateOur == '1'"></i>
</el-tag>
</template>
</avue-crud>
@@ -188,7 +185,9 @@
<h3>回执单</h3>
<p>
南昌市公安局已收到
- <span>{{ rowData == null ? "" : rowData.enterprisename }}</span>
+ <span>{{
+ licenceData == null ? "" : licenceData.row.enterprisename
+ }}</span>
的相关备案申请!
</p>
@@ -197,7 +196,9 @@
<li>审批单位:<span>南昌市公安局</span></li>
<li>
日期:<span>{{
- rowData == null ? "" : rowData.examinetime
+ licenceData.row.permitime == null
+ ? ""
+ : licenceData.row.permitime
}}</span>
</li>
</ul>
@@ -439,6 +440,10 @@
this.xukezData.stime = date;
this.xukezData.sapprove = state;
this.xukezData.sopinion = this.textareaShenpi;
+ this.xukezData.permitime = new Date(+new Date() + 8 * 3600 * 1000)
+ .toJSON()
+ .substr(0, 19)
+ .replace("T", " ");
this.xukezData.type = type == "0" ? "0" : "1"; // 为了保持审核系统识别
}
// console.log(this.xukezData);
@@ -453,13 +458,14 @@
this.textareaShenpi = "";
});
},
- viewLicensehuizhi() {
+ viewLicensehuizhi(row) {
this.dialogVisiblehuizhi = true;
+ this.viewLicense(row, 1);
},
closePrinthuizhi() {
this.dialogVisiblehuizhi = false;
},
- viewLicense(row) {
+ viewLicense(row, val) {
//查看许可证
console.log(row, 34);
this.licenceData.row = row;
@@ -474,7 +480,9 @@
// this.licenceData.chiden["批准文号"] = row.registrationnumber;
console.log(this.licenceData);
- this.dialogVisible = true;
+ if (val != 1) {
+ this.dialogVisible = true;
+ }
},
closePrint() {
this.dialogVisible = false;
@@ -576,18 +584,19 @@
console.log(this.userInfo);
if (this.userInfo.role_name == "公安管理员") {
let test = /派出所$/g;
- if (test.test(this.userInfo.role_name)) {
+ if (test.test(this.userInfo.list.name)) {
gonganj = "派出所管理员";
}
test = /分局|公安局$/g;
- if (test.test(this.userInfo.role_name)) {
+ if (test.test(this.userInfo.list.name)) {
gonganj = "县局管理员";
}
test = /市公安局$/g;
- if (test.test(this.userInfo.role_name)) {
+ if (test.test(this.userInfo.list.name)) {
gonganj = "市局管理员";
}
}
+ // console.log(gonganj);
this.userData =
gonganj == "派出所管理员" ? "2" : gonganj == "县局管理员" ? "1" : "0";
params = {
@@ -597,7 +606,7 @@
console.log(params, "params");
params["jurisdiction"] = this.userInfo.jurisdiction;
// params["usetype"] = this.userData;
- this.option.column[this.option.column.length - 2].prop = "opinionOur";
+ // this.option.column[this.option.column.length - 2].prop = "opinionOur";
// return;
getList(
page.currentPage,
--
Gitblit v1.9.3