Commit b262e3e7 by swl

gx

parent 2030336e
No preview for this file type
......@@ -22,7 +22,7 @@
>
</el-input>
</el-form-item>
<el-form-item label="居住地址">
<el-form-item label="居住地址" v-if="!$route.query.areaCode">
<el-select
v-model="searchForm.areaCode"
clearable
......@@ -95,10 +95,18 @@
size="mini"
round
@click="getRecord(scope.row)"
v-if="
!this.$route.query.areaCode &&
this.$route.query.areaCode == '321199'
"
>记录</el-button
>
<el-button
v-if="scope.row.stateCode == '0'"
v-if="
scope.row.stateCode == '0' &&
!this.$route.query.areaCode &&
this.$route.query.areaCode == '321199'
"
type="success"
size="mini"
round
......@@ -109,7 +117,11 @@
type="danger"
size="mini"
round
v-if="scope.row.stateCode == '0'"
v-if="
scope.row.stateCode == '0' &&
!this.$route.query.areaCode &&
this.$route.query.areaCode == '321199'
"
@click="auditHandle(scope.row, '1')"
>拒绝</el-button
>
......@@ -582,7 +594,7 @@ export default {
options: [],
// 状态吗
reviewStateOptions: [],
branchCode: "", // 管理后台给的code
areaCode: "", // 管理后台给的code
code: "",
userName: "",
searchForm: {
......@@ -690,40 +702,35 @@ export default {
},
watch: {
$route() {
// if (this.$route) {
// this.userName = localStorage.getItem('userName');
// this.branchCode = this.$route.query.branchCode
// ? this.$route.query.branchCode
// : '';
// this.code = this.$route.query.code ? this.$route.query.code : '';
// this.searchForm.name = '';
// this.searchForm.phone = '';
// this.searchForm.typeCode = '';
// this.searchForm.state = '';
// this.searchForm.recordName = '';
// this.searchForm.unitName = '';
// this.init();
// this.initType();
// if (!this.branchCode) {
// this.initBranch();
// }
// }
// },
if (this.$route) {
this.userName = localStorage.getItem("userName");
this.areaCode = this.$route.query.areaCode
? this.$route.query.areaCode
: "";
console.log(this.areaCode, "11345");
this.code = this.$route.query.code ? this.$route.query.code : "";
this.searchForm.name = "";
this.searchForm.phone = "";
this.searchForm.areaCode = this.areaCode;
this.searchForm.stateCode = "";
this.auditData = {
state: "",
stateCode: "",
record: "", //评语
departName: "卫健委",
familyCode: "",
user: "",
};
this.init();
this.initType();
// if (!this.branchCode) {
// this.initBranch();
// }
}
},
},
// },
methods: {
switechBranch(branchCode) {
switch (branchCode) {
case "5":
return "镇江市区";
case "17":
return "丹阳市";
case "18":
return "句容市";
case "19":
return "扬中市";
}
},
dealDom(val) {
console.log(val);
return val.replace(/镇江市外\//g, "");
......@@ -818,14 +825,6 @@ export default {
this.viewDetail.partnerVO.partnerPictureList.filter(
(item) => item.pictureType == 1
);
// this.viewDetail.partnerVO.marriagePicture =
// this.viewDetail.partnerVO.partnerPictureList.filter(
// (item) => item.pictureType == 2
// );
// this.viewDetail.partnerVO.birthCertificate =
// this.viewDetail.partnerVO.partnerPictureList.filter(
// (item) => item.pictureType == 3
// );
}
});
},
......@@ -915,9 +914,10 @@ export default {
mounted() {},
created() {
this.userName = localStorage.getItem("userName");
this.branchCode = this.$route.query.branchCode
? this.$route.query.branchCode
this.areaCode = this.$route.query.areaCode
? this.$route.query.areaCode
: "";
console.log(this.$route.query.areaCode, 111);
this.code = this.$route.query.code ? this.$route.query.code : "";
this.init();
this.initType();
......
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