Commit 2030336e by swl

gx

parent 88b44066
No preview for this file type
......@@ -158,9 +158,10 @@
</div>
<!-- 表格end -->
<!-- 拒绝对话框 -->
<!-- 审核对话框 -->
<el-dialog
title="审核"
v-loading="dialogLoading"
:visible.sync="auditDialog"
width="30%"
class="auditDialog"
......@@ -258,7 +259,9 @@
</div>
<div class="cell">
<p class="label">户籍地址</p>
<p class="value">{{ viewDetail.domicile }}</p>
<p class="value">
{{ dealDom(viewDetail.domicile || "") }}
</p>
</div>
<div class="cell">
<p class="label">现居地址</p>
......@@ -572,7 +575,7 @@ export default {
data() {
return {
auditDialog: false,
dialogLoading: false,
refuseCode: "",
// 居住地址
......@@ -721,6 +724,10 @@ export default {
return "扬中市";
}
},
dealDom(val) {
console.log(val);
return val.replace(/镇江市外\//g, "");
},
init() {
this.tableData = [];
this.loading = true;
......@@ -838,7 +845,6 @@ export default {
this.auditData.familyCode = row.familyCode;
this.auditDialog = true;
},
// 拒绝对话框
deny(talentCode) {
this.flag = 0;
......@@ -859,6 +865,7 @@ export default {
confirmBtn() {
this.$refs.auditForm.validate((valid) => {
if (valid) {
this.dialogLoading = true;
if (this.flag == 0) {
// 通过
this.passOptions.forEach((el) => {
......@@ -870,6 +877,7 @@ export default {
this.auditData.user = localStorage.getItem("userName");
if (this.auditData.stateCode) {
familyAudit(this.auditData).then((res) => {
this.dialogLoading = false;
if (res.code == 200) {
this.$message.success(res.msg || "审核成功");
this.auditDialog = false;
......@@ -888,7 +896,8 @@ export default {
familyAudit(this.auditData).then((res) => {
if (res.code == 200) {
console.log(res, 111);
this.dialogLoading = false;
this.$message.success(res.msg || "审核成功");
this.auditDialog = false;
this.init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment