Commit b262e3e7 by swl

gx

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