- {{ item.tagName }}
+ {{ item.tagName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -851,6 +862,7 @@ import { listAddress } from "@/api/szxc/address";
import { listJmtag, addAllJmtag } from "@/api/szxc/jmtag";
import { listTag } from "@/api/szxc/tag";
import { listBankinfo, editDefault, addBankinfo, updateBankinfo, delBankinfo } from "@/api/szxc/bankinfo";
+import { addOffrecard } from "@/api/szxc/offrecard";
import { deptTreeSelect } from "@/api/system/user";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -1059,6 +1071,18 @@ export default {
],
},
},
+ // 注销登记
+ zxInfo: {
+ visible: false,
+ // 表单参数
+ form: {},
+ // 校验
+ rules: {
+ reason: [
+ { required: true, message: "注销原因不能为空", trigger: "blur" }
+ ],
+ }
+ }
};
},
created() {
@@ -1196,16 +1220,6 @@ export default {
}
});
},
- /** 删除按钮操作 */
- handleDelete(row) {
- const ids = row.id || this.ids;
- this.$modal.confirm('是否确认删除居民信息编号为"' + ids + '"的数据项?').then(function() {
- return delJminfo(ids);
- }).then(() => {
- this.getList();
- this.$modal.msgSuccess("删除成功");
- }).catch(() => {});
- },
/** 导出按钮操作 */
handleExport() {
this.download('szxc/jminfo/export', {
@@ -1390,6 +1404,20 @@ export default {
}
}
});
+ },
+ // 点击注销
+ handleZx(row){
+ this.zxInfo.form = row;
+ this.zxInfo.form.jmId = row.id;
+ this.zxInfo.visible = true;
+ },
+ // 注销提交
+ zxInfoSubmit(){
+ addOffrecard(this.zxInfo.form).then(response => {
+ this.$modal.msgSuccess("注销成功");
+ this.zxInfo.visible = false;
+ this.getList();
+ });
}
}
};
diff --git a/ruoyi-ui/src/views/szxc/offrecard/index.vue b/ruoyi-ui/src/views/szxc/offrecard/index.vue
index 72c295e..8d77b0c 100644
--- a/ruoyi-ui/src/views/szxc/offrecard/index.vue
+++ b/ruoyi-ui/src/views/szxc/offrecard/index.vue
@@ -1,14 +1,14 @@
-
+
-
+
+
搜索
重置
@@ -48,7 +48,7 @@
-
+
修改
-
+
+
-
+
-
-
+
+
-
+
修改
- 删除
+ >删除-->
-
+
-
+
-
+
-
+
-
+
-
+
-
+