diff --git a/project/pingchang/apps/AppHomeReport/components/Detail.vue b/project/pingchang/apps/AppHomeReport/components/Detail.vue index ba60b08e..dcadf20c 100644 --- a/project/pingchang/apps/AppHomeReport/components/Detail.vue +++ b/project/pingchang/apps/AppHomeReport/components/Detail.vue @@ -8,6 +8,9 @@
+
+ + + + + + + @@ -139,6 +154,9 @@ currIndex: 0, isLoading: false, tableData: [], + form: { + idNumber: '' + }, colConfigs: [ {prop: 'remarks', label: '异常记录', align: 'center' }, {prop: 'createTime', label: '创建时间', align: 'center'}, @@ -174,6 +192,24 @@ }) }, + onConfirm () { + this.$refs.form.validate((valid) => { + if (valid) { + this.instance.post(`/app/appepidemicpreventionregisterinfo/updateForAdmin`, { + ...this.info, + ...this.form, + id: this.params.id + }).then(res => { + if (res.code == 0) { + this.isShow = false + this.getInfo(this.params.id) + this.$message.success('编辑成功') + } + }) + } + }) + }, + cancel () { this.$emit('change', { type: 'List', diff --git a/project/pingchang/AppVillageAuxiliarPolice/AppVillageAuxiliarPolice.vue b/project/pingchang/apps/AppVillageAuxiliarPolice/AppVillageAuxiliarPolice.vue similarity index 100% rename from project/pingchang/AppVillageAuxiliarPolice/AppVillageAuxiliarPolice.vue rename to project/pingchang/apps/AppVillageAuxiliarPolice/AppVillageAuxiliarPolice.vue diff --git a/project/pingchang/AppVillageAuxiliarPolice/components/Add.vue b/project/pingchang/apps/AppVillageAuxiliarPolice/components/Add.vue similarity index 100% rename from project/pingchang/AppVillageAuxiliarPolice/components/Add.vue rename to project/pingchang/apps/AppVillageAuxiliarPolice/components/Add.vue diff --git a/project/pingchang/AppVillageAuxiliarPolice/components/List.vue b/project/pingchang/apps/AppVillageAuxiliarPolice/components/List.vue similarity index 100% rename from project/pingchang/AppVillageAuxiliarPolice/components/List.vue rename to project/pingchang/apps/AppVillageAuxiliarPolice/components/List.vue