7c6a5bdf by 任超

style:证书管理

1 parent b4e2efcc
...@@ -136,7 +136,8 @@ export default { ...@@ -136,7 +136,8 @@ export default {
136 removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => { 136 removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => {
137 if (res.code == 200) { 137 if (res.code == 200) {
138 this.$message.success("删除成功") 138 this.$message.success("删除成功")
139 this.fetchData(); 139 this.handleDel()
140 this.fetchData()
140 } else { 141 } else {
141 this.$message.error(res.message) 142 this.$message.error(res.message)
142 } 143 }
......
...@@ -44,7 +44,7 @@ import viewDialog from "../components/viewDialog.vue"; ...@@ -44,7 +44,7 @@ import viewDialog from "../components/viewDialog.vue";
44 import { getZsglrkList, removeZsgl, verifyZsrk } from "@/api/zsgl.js"; 44 import { getZsglrkList, removeZsgl, verifyZsrk } from "@/api/zsgl.js";
45 export default { 45 export default {
46 name: "zsrk", 46 name: "zsrk",
47 components: { addDialog,viewDialog }, 47 components: { addDialog, viewDialog },
48 mixins: [table], 48 mixins: [table],
49 mounted () { 49 mounted () {
50 sendThis(this); 50 sendThis(this);
...@@ -89,6 +89,7 @@ export default { ...@@ -89,6 +89,7 @@ export default {
89 //修改筛选时间 89 //修改筛选时间
90 timeChange (val) { 90 timeChange (val) {
91 if (this.ruleForm.rksj != null) { 91 if (this.ruleForm.rksj != null) {
92
92 this.ruleForm.rkkssj = this.ruleForm.rksj[0]; 93 this.ruleForm.rkkssj = this.ruleForm.rksj[0];
93 this.ruleForm.rkjssj = this.ruleForm.rksj[1]; 94 this.ruleForm.rkjssj = this.ruleForm.rksj[1];
94 } else { 95 } else {
...@@ -106,7 +107,8 @@ export default { ...@@ -106,7 +107,8 @@ export default {
106 removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => { 107 removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => {
107 if (res.code == 200) { 108 if (res.code == 200) {
108 this.$message.success("删除成功") 109 this.$message.success("删除成功")
109 this.fetchData(); 110 this.handleDel()
111 this.fetchData()
110 } else { 112 } else {
111 this.$message.error(res.message) 113 this.$message.error(res.message)
112 } 114 }
......