From c430bbf4673479666417ae97838d5a999e770ac3 Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 25 Apr 2022 10:30:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BF=E7=AD=96=E7=94=B3=E5=8A=9E=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jianping/AppPublicizeInformation/Add.vue | 5 +- .../jianping/AppPublicizeInformation/List.vue | 7 +- .../apps/AppPolicyBid/AppPolicyBid.vue | 123 ++++++++++++++++++ 3 files changed, 126 insertions(+), 9 deletions(-) create mode 100644 project/xiushan/apps/AppPolicyBid/AppPolicyBid.vue diff --git a/packages/jianping/AppPublicizeInformation/Add.vue b/packages/jianping/AppPublicizeInformation/Add.vue index 837550a0..b381632e 100644 --- a/packages/jianping/AppPublicizeInformation/Add.vue +++ b/packages/jianping/AppPublicizeInformation/Add.vue @@ -152,10 +152,7 @@ export default { submit() { this.$refs.ruleForm.validate(v => { if (v) { - if (this.form.isHousehold == 1) { - this.form.householdIdNumber = this.form.idNumber - } - this.instance.post(`/app/apppreventionreturntopoverty/addOrUpdate`, this.form).then(res => { + this.instance.post(`/app/apppublicityinfo/addOrUpdate`, this.form).then(res => { if (res.code == 0) { this.$message.success('提交成功!'); this.back() diff --git a/packages/jianping/AppPublicizeInformation/List.vue b/packages/jianping/AppPublicizeInformation/List.vue index 81153b43..0e9e4a85 100644 --- a/packages/jianping/AppPublicizeInformation/List.vue +++ b/packages/jianping/AppPublicizeInformation/List.vue @@ -37,7 +37,7 @@ @@ -142,10 +142,7 @@ export default { }) }, showEdit(id) { - this.$router.push({query: {id}, hash: "#add"}) - }, - showDetail(id) { - this.$router.push({query: {id}}) + this.$router.push({query: {id: id, parentId: this.typeList[this.typeIndex].id}, hash: "#add"}) }, handleDelete(ids) { this.$confirm("是否要删除监测对象").then(() => { diff --git a/project/xiushan/apps/AppPolicyBid/AppPolicyBid.vue b/project/xiushan/apps/AppPolicyBid/AppPolicyBid.vue new file mode 100644 index 00000000..c99932a1 --- /dev/null +++ b/project/xiushan/apps/AppPolicyBid/AppPolicyBid.vue @@ -0,0 +1,123 @@ + + + + + \ No newline at end of file