From 5eb023311f42edd1a8c2a239c6b1f12a416760e6 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 11 Nov 2022 11:43:32 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=85=9A=E7=BB=84?= =?UTF-8?q?=E7=BB=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pingchang/AppPartyAuth/partyAuthApply.vue | 12 +- .../pingchang/AppPartyAuth/selectPartyOrg.vue | 235 ++++++++++++++++++ 2 files changed, 245 insertions(+), 2 deletions(-) create mode 100644 src/project/pingchang/AppPartyAuth/selectPartyOrg.vue diff --git a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue index 9bf81f9..9e54f47 100644 --- a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue +++ b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue @@ -42,7 +42,10 @@

党组织

- + + +
@@ -70,7 +73,7 @@

党员类型

- +
@@ -122,6 +125,11 @@ export default { this.form.nucleicAcidDate = `${e.year}-${e.month}-${e.day}` }, + handleSelectParty(v) { + console.log(v); + }, + + submit() { if (!this.form.temperature) { diff --git a/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue b/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue new file mode 100644 index 0000000..7e77bbd --- /dev/null +++ b/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue @@ -0,0 +1,235 @@ + + + + + From 991362dfd50ee9caa079ef0d8cb2651f189c832f Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 11 Nov 2022 14:04:26 +0800 Subject: [PATCH 02/10] =?UTF-8?q?=E9=80=82=E9=85=8D=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/utils/PageBase.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/utils/PageBase.js b/src/components/utils/PageBase.js index 87ef107..ad7c600 100644 --- a/src/components/utils/PageBase.js +++ b/src/components/utils/PageBase.js @@ -33,8 +33,8 @@ class PageBase { } } - setName(name) { - this.name = name + setLabel(name) { + this.label = name } } From 91c4b5006649f92dd054029e9a69d884899e8d80 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 11 Nov 2022 15:08:54 +0800 Subject: [PATCH 03/10] =?UTF-8?q?=E5=85=9A=E5=91=98=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pingchang/AppPartyAuth/AppPartyAuth.vue | 4 +- .../pingchang/AppPartyAuth/partyAuthApply.vue | 75 ++++++++----------- .../AppPartyAuth/partyAuthSuccess.vue | 2 +- .../pingchang/AppPartyAuth/selectPartyOrg.vue | 45 +++++------ 4 files changed, 56 insertions(+), 70 deletions(-) diff --git a/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue b/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue index cc1a03d..033c2bf 100644 --- a/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue +++ b/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue @@ -67,14 +67,14 @@ export default { if(!this.isChecked) { return this.$u.toast('请勾选用户服务及隐私协议') } - this.$instance.post(`/app/appwechatuser/idNumberAttestation`, { + this.$instance.post(`/app/appwechatuser/partyIdentification`, { idNumber, name }).then(res => { if (res.code == 0) { if (res.data == 2 || res.data == 0) { this.$store.dispatch('getUserInfo') uni.redirectTo({ - url: `./partyAuthSuccess?status=${res.data}`, success: () => { + url: `./partyAuthApply?status=${res.data}`, success: () => { if (res.data == 0) { uni.setStorageSync("authForm", {idNumber, name}) } diff --git a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue index 9e54f47..677245a 100644 --- a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue +++ b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue @@ -31,7 +31,7 @@

手机号码

- +
@@ -42,9 +42,8 @@

党组织

- - + +
@@ -58,7 +57,7 @@
- {{ form.nucleicAcidDate }} + {{ form.joinPartyTime }} 请选择
@@ -73,7 +72,7 @@

党员类型

- +
@@ -103,6 +102,12 @@ export default { form: { name: '', idNumber: '', + phone: '', + partyOrgId: '', + partyOrgName: '', + joinPartyTime: '', + partyType: '', + partyStatus: '0', } } }, @@ -113,76 +118,62 @@ export default { }, onLoad(query) { - this.$dict.load(['epidemicTouchInFourteen','EP_healthType','EP_nucleicAcidResult','EP_jkmType','EP_vaccinationCount']).then(()=> { + this.$dict.load(['partyType']).then(()=> { this.form.reportUserId = query.id this.form.name = query.name this.form.idNumber = query.idNumber }) + uni.setNavigationBarTitle({ + title: '申请党员' + }); }, methods: { onDateChange(e) { - this.form.nucleicAcidDate = `${e.year}-${e.month}-${e.day}` + this.form.joinPartyTime = `${e.year}-${e.month}-${e.day}` }, handleSelectParty(v) { - console.log(v); + this.form.partyOrgId = v.id + this.form.partyOrgName = v.name }, - submit() { - if (!this.form.temperature) { - return this.$toast('请输入当前体温') + if (!this.form.name) { + return this.$toast('请输入党员姓名') } - if (!this.form.contactPatients) { - return this.$toast('请选择14天内是否接触新冠确诊或疑似患者') + if (!this.form.idNumber) { + return this.$toast('身份证号') } - if (!this.form.healthList.length) { - return this.$toast('请选择当前健康状况') - } else { - this.form.health = this.form.healthList.toString() + if (!this.form.phone.length) { + return this.$toast('请输入手机号') } - if(!this.form.nucleicAcidDate) { - return this.$toast('请选择核酸检测日期') + if(!this.form.partyOrgId) { + return this.$toast('请选择党组织') } - if (!this.form.nucleicAcidResult) { - return this.$toast('请选择核酸检测结果') + if(!this.form.joinPartyTime) { + return this.$toast('请选择入党时间') } - if (!this.form.jkmType) { - return this.$toast('请选择健康码类型') + if(!this.form.partyType) { + return this.$toast('请选择党员类型') } - if (!this.form.vaccinationCount) { - return this.$toast('请选择已接种疫苗次数') - } - - if (!this.form.jkmUrlArr.length) { - return this.$toast('请上传健康码截图') - } - - if (!this.form.nucleicAcidUrlArr.length) { - return this.$toast('请上核酸检测结果截图') - } - - this.$loading() - this.$instance.post(`/app/appepidemicpreventionhealthreportinfo/addReportInfo`, { + this.$instance.post(`/app/appparty/addOrUpdateForWX`, { ...this.form, - jkmUrl: this.form.jkmUrlArr[0].url, - nucleicAcidUrl: this.form.nucleicAcidUrlArr[0].url, - nucleicAcidDate: this.form.nucleicAcidDate + ' 00:00:00' }).then(res => { if (res.code == 0) { uni.$emit('update') this.$toast('提交成功') setTimeout(() => { - uni.navigateBack() + this.$store.dispatch('getUserInfo') + uni.redirectTo({url: "./partyAuthSuccess"}) }, 400) } this.$hideLoading() diff --git a/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue b/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue index 8b7bdc1..cdd24db 100644 --- a/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue +++ b/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue @@ -39,7 +39,7 @@ export default { return this.user.partyStatusForWX == 3 }, isReview() { - return this.user.partyStatusForWX == 0 + return this.user.partyStatusForWX == 1 }, }, onShow() { diff --git a/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue b/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue index 7e77bbd..5612e99 100644 --- a/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue +++ b/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue @@ -40,20 +40,16 @@ slectList: [], userList: [], parentId: '', - isFormMap: 0, //1为网格地图 一级不允许选中 } }, - onLoad(option) { - if (option.isFormMap) { - this.isFormMap = option.isFormMap - } + onLoad() { this.getPartyOrg() + this.SelectParty = uni.getStorageSync("lastSelectedParty") || {} }, methods: { getPartyOrg() { this.$instance.post(`/app/partyOrganization/queryPartyOrganizationServiceList`).then((res) => { if (res?.data) { - console.log(res); let parents = res.data.map(e => e.parentId) this.allData = res.data.map(e => ({...e, hasChildren: parents.includes(e.id)})) this.treeInit() @@ -61,23 +57,22 @@ }) }, treeInit() { - // let last = uni.getStorageSync("lastSelectedParty") - // if (last) { - // this.$instance.post("/app/appgirdinfo/listFatherGirdInfo", null, { - // params: {id: last} - // }).then(res => { - // if (res?.data) { - // this.slectList = [{name: '可选范围', id: ''}, res.data].flat() - // this.getPartyAndParent({id: last}) - // } - // }) - // this.getPartyAndParent({id: last}) - // } else { - this.treeList = this.allData.filter(e => !e.parentId) - this.treeList.map((item) => item.isChecked = false) - let obj = {name: '可选范围', id: ''} - this.slectList.push(obj) - // } + let last = uni.getStorageSync("lastSelectedParty") + if (last) { + console.log(last); + this.allData.map((item) => { + if(item.id == last.id) { + item.isChecked = true + } else { + item.isChecked = false + } + }) + } else { + this.allData.map((item) => item.isChecked = false) + } + this.treeList = this.allData.filter(e => !e.parentId) + let obj = {name: '可选范围', id: ''} + this.slectList.push(obj) }, itemClick(row) { if (row.hasChildren) { @@ -125,8 +120,8 @@ }, submit() { console.log(this.SelectParty); - if (this.SelectParty.id != null) { - uni.setStorageSync("lastSelectedParty", this.SelectParty.parentId) + if (this.SelectParty.id) { + uni.setStorageSync("lastSelectedParty", this.SelectParty) uni.navigateBack({ success: () => { uni.$emit("pagePicker:custom", this.SelectParty) From f02a10b7a9895033bf866a6aa34ebb52014e6ad7 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Mon, 14 Nov 2022 10:40:13 +0800 Subject: [PATCH 04/10] =?UTF-8?q?=E5=85=9A=E5=91=98=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pingchang/AppPartyAuth/AppPartyAuth.vue | 14 ++-- .../pingchang/AppPartyAuth/partyAuthApply.vue | 23 +++++-- .../pingchang/AppPartyAuth/partyAuthInfo.vue | 67 +++++++++---------- .../AppPartyAuth/partyAuthSuccess.vue | 21 ------ 4 files changed, 54 insertions(+), 71 deletions(-) diff --git a/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue b/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue index 033c2bf..2ea9ea5 100644 --- a/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue +++ b/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue @@ -11,7 +11,6 @@ :custom-style="{height:'72px'}" v-model="idNumber" maxlength="18"/>
提交
-
阅读并同意 @@ -35,15 +34,15 @@ export default { isChecked: false, }; }, - onLoad() { - // 0未认证 1认证中 2已认证 3认证失败 - let {partyStatusForWX} = this.user - if (partyStatusForWX == 2) { - uni.redirectTo({url: "./partyAuthInfo"}) - } else if (partyStatusForWX == 0) { + onShow() { + // 0未认证 1认证中 2已认证 3认证失败 + let { partyStatusForWX } = this.user + if (partyStatusForWX == 0) { // 停留此页 } else if(partyStatusForWX == 1) { uni.redirectTo({url: "./partyAuthSuccess"}) + } else if (partyStatusForWX == 2) { + uni.redirectTo({url: "./partyAuthInfo"}) } else if(partyStatusForWX == 3) { uni.redirectTo({url: "./partyAuthSuccess"}) } @@ -60,7 +59,6 @@ export default { if (!idNumber) { return this.$u.toast('请填写身份证号码') } - if (!this.$idCardNoUtil.checkIdCardNo(idNumber)) { return this.$u.toast('请输入正确的身份证号码') } diff --git a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue index 677245a..96ce34f 100644 --- a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue +++ b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue @@ -117,12 +117,15 @@ export default { ...mapState(['user']) }, - onLoad(query) { - this.$dict.load(['partyType']).then(()=> { - this.form.reportUserId = query.id - this.form.name = query.name - this.form.idNumber = query.idNumber - }) + onShow(query) { + // this.$dict.load(['partyType']).then(()=> { + // this.form.reportUserId = query.id + // this.form.name = query.name + // this.form.idNumber = query.idNumber + // }) + if(this.user.partyId) { + this.getDetail() + } uni.setNavigationBarTitle({ title: '申请党员' }); @@ -138,6 +141,14 @@ export default { this.form.partyOrgName = v.name }, + getDetail() { + this.$instance.post(`/app/appparty/detail?id=${this.user.partyId}`).then(res=> { + if(res?.data) { + this.form = res.data + } + }) + }, + submit() { if (!this.form.name) { diff --git a/src/project/pingchang/AppPartyAuth/partyAuthInfo.vue b/src/project/pingchang/AppPartyAuth/partyAuthInfo.vue index 41237c2..545af4c 100644 --- a/src/project/pingchang/AppPartyAuth/partyAuthInfo.vue +++ b/src/project/pingchang/AppPartyAuth/partyAuthInfo.vue @@ -7,9 +7,9 @@
-
+
{{ $dict.getLabel('sex', detail.sex) }} {{detail.age}}
-
户主
+
@@ -20,18 +20,18 @@
-
+ + @@ -44,45 +44,41 @@ export default { return { detail: {}, baseInfo: [ + // {label: "年龄", prop: "age"}, {label: "身份证号", prop: "idNumber"}, - {label: "籍贯", prop: "birthplaceAreaName"}, - {label: "民族", prop: "nation", dict: "nation"}, - {label: "文化程度", prop: "education", dict: "education"}, - {label: "政治面貌", prop: "politicsStatus", dict: "politicsStatus"}, - {label: "兵役状况", prop: "militaryStatus", dict: "militaryStatus"}, - {label: "宗教信仰", prop: "faithType", dict: "faithType"}, - {label: "职业", prop: "job", dict: "job"}, - ], - contract: [ {label: "联系方式", prop: "phone"}, - {label: "现住址", prop: "currentAreaName"}, - {label: "详细住址", prop: "currentAddress", topLabel: true}, - {label: "户籍地址", prop: "householdAreaName"}, - {label: "详细地址", prop: "householdAddress", topLabel: true}, - ] + {label: "党组织", prop: "partyOrgName"}, + {label: "入党时间", prop: "joinPartyTime"}, + {label: "党员类型", prop: "partyType", dict: "partyType"}, + ], + // contract: [ + // {label: "联系方式", prop: "phone"}, + // {label: "现住址", prop: "currentAreaName"}, + // {label: "详细住址", prop: "currentAddress", topLabel: true}, + // {label: "户籍地址", prop: "householdAreaName"}, + // {label: "详细地址", prop: "householdAddress", topLabel: true}, + // ] } }, computed: { ...mapState(['user']), - sexAge() { - let {idNumber, gender} = this.$idCardNoUtil.getIdCardInfo(this.user.idNumber), age = this.$calcAge(idNumber) - return `${this.$dict.getLabel("sex", gender) || ""} ${age ? age + "岁" : ""}` - }, - isOwner() { - return this.detail.householdName == 1 - } + // sexAge() { + // let {idNumber, gender} = this.$idCardNoUtil.getIdCardInfo(this.user.idNumber), age = this.$calcAge(idNumber) + // return `${this.$dict.getLabel("sex", gender) || ""} ${age ? age + "岁" : ""}` + // }, + // isOwner() { + // return this.detail.householdName == 1 + // } }, onLoad() { - this.$dict.load("sex", "nation", "education", "politicsStatus", "militaryStatus", "faithType", "job") - this.getResident() + this.$dict.load('partyType','sex') + this.getDetail() }, methods: { - getResident() { - this.$instance.post("/app/appresident/detailForWx", null, { - params: {id: this.user.residentId} - }).then(res => { - if (res?.data) { - this.detail = res.data.resident + getDetail() { + this.$instance.post(`/app/appparty/detail?id=${this.user.partyId}`).then(res=> { + if(res?.data) { + this.detail = res.data } }) }, @@ -97,7 +93,6 @@ export default { .partyAuthInfo { background: #F3F6F9; min-height: 100vh; - padding-bottom: 280px; .avatar { display: inline-block; diff --git a/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue b/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue index cdd24db..7f0456a 100644 --- a/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue +++ b/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue @@ -43,31 +43,10 @@ export default { }, }, onShow() { - // let titles = '' - // if(this.user.partyStatusForWX == 1){ - // titles = '认证中' - // } else if(this.user.partyStatusForWX == 2) { - // titles = '认证成功' - // } else if(this.user.partyStatusForWX == 3) { - // titles = '认证失败' - // } uni.setNavigationBarTitle({ title: '党员认证' }); }, - onLoad() { - let title = '' - if(this.user.partyStatusForWX == 1){ - title = '认证中' - } else if(this.user.partyStatusForWX == 2) { - title = '认证成功' - } else if(this.user.partyStatusForWX == 3) { - title = '认证失败' - } - uni.setNavigationBarTitle({ - title: title - }); - }, methods: { rewrite() { uni.redirectTo({url: "./partyAuthApply"}) From 045ef0fe5b1ddba083cadd2f2b3499bf989596b4 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Mon, 14 Nov 2022 14:59:36 +0800 Subject: [PATCH 05/10] =?UTF-8?q?=E5=85=9A=E5=91=98=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pingchang/AppPartyAuth/AppPartyAuth.vue | 10 ++------ .../pingchang/AppPartyAuth/partyAuthApply.vue | 20 +++++++--------- .../AppPartyAuth/partyAuthSuccess.vue | 23 +++++++++++-------- 3 files changed, 23 insertions(+), 30 deletions(-) diff --git a/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue b/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue index 2ea9ea5..f8bd76a 100644 --- a/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue +++ b/src/project/pingchang/AppPartyAuth/AppPartyAuth.vue @@ -69,15 +69,9 @@ export default { idNumber, name }).then(res => { if (res.code == 0) { + this.$store.dispatch('getUserInfo') if (res.data == 2 || res.data == 0) { - this.$store.dispatch('getUserInfo') - uni.redirectTo({ - url: `./partyAuthApply?status=${res.data}`, success: () => { - if (res.data == 0) { - uni.setStorageSync("authForm", {idNumber, name}) - } - } - }) + uni.redirectTo({url: `./partyAuthApply`}) } else { uni.redirectTo({url: "./partyAuthSuccess"}) } diff --git a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue index 96ce34f..1a15b47 100644 --- a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue +++ b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue @@ -117,18 +117,13 @@ export default { ...mapState(['user']) }, - onShow(query) { - // this.$dict.load(['partyType']).then(()=> { - // this.form.reportUserId = query.id - // this.form.name = query.name - // this.form.idNumber = query.idNumber - // }) - if(this.user.partyId) { - this.getDetail() - } + onLoad() { uni.setNavigationBarTitle({ title: '申请党员' }); + if(this.user.partyId.length > 0) { + this.getDetail() + } }, methods: { @@ -144,7 +139,7 @@ export default { getDetail() { this.$instance.post(`/app/appparty/detail?id=${this.user.partyId}`).then(res=> { if(res?.data) { - this.form = res.data + this.form = {...res.data} } }) }, @@ -182,10 +177,11 @@ export default { if (res.code == 0) { uni.$emit('update') this.$toast('提交成功') + this.$store.dispatch('getUserInfo') + uni.clearStorageSync('lastSelectedParty'); setTimeout(() => { - this.$store.dispatch('getUserInfo') uni.redirectTo({url: "./partyAuthSuccess"}) - }, 400) + }, 500) } this.$hideLoading() }) diff --git a/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue b/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue index 7f0456a..fceb35f 100644 --- a/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue +++ b/src/project/pingchang/AppPartyAuth/partyAuthSuccess.vue @@ -9,7 +9,7 @@

重新提交
@@ -26,7 +26,7 @@ import {mapState} from "vuex"; export default { data() { return { - info: {} + details: {} } }, computed: { @@ -46,6 +46,9 @@ export default { uni.setNavigationBarTitle({ title: '党员认证' }); + if(this.user.partyStatusForWX == 3) { + this.getDetail() + } }, methods: { rewrite() { @@ -54,15 +57,13 @@ export default { goBack() { uni.navigateBack({}) }, - getAuthResult() { - this.$instance.post(`/app/appresident/detailForWx`, null, { - params: {id: this.user.residentId} - }).then(res => { - if (res?.data) { - this.info = res.data + getDetail() { + this.$instance.post(`/app/appparty/detail?id=${this.user.partyId}`).then(res=> { + if(res?.data) { + this.details = res.data } }) - } + }, } } @@ -92,8 +93,10 @@ export default { .feedback { width: 80vw; - margin-left: 10vw; + margin: 0 auto; min-height: 192px; + max-height: 600px; + overflow-y: scroll; background: #EFF5FA; border-radius: 0 8px 8px 0; text-align: left; From 0df80b87fb61b1b881e44941b7a98265487a37ef Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Mon, 14 Nov 2022 16:45:22 +0800 Subject: [PATCH 06/10] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=85=9A=E7=BB=84?= =?UTF-8?q?=E7=BB=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/pingchang/AppPartyAuth/partyAuthApply.vue | 2 +- src/project/pingchang/AppPartyAuth/selectPartyOrg.vue | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue index 1a15b47..8a2154f 100644 --- a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue +++ b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue @@ -42,7 +42,7 @@

党组织

- +
diff --git a/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue b/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue index 5612e99..295865e 100644 --- a/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue +++ b/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue @@ -42,9 +42,13 @@ parentId: '', } }, - onLoad() { + onLoad(o) { this.getPartyOrg() - this.SelectParty = uni.getStorageSync("lastSelectedParty") || {} + if (o.id) { + this.SelectParty.id = o.id + } else { + this.SelectParty = uni.getStorageSync("lastSelectedParty") || {} + } }, methods: { getPartyOrg() { From 668c51494bef0341408094db74cd7e6730c90aab Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Tue, 15 Nov 2022 10:43:47 +0800 Subject: [PATCH 07/10] =?UTF-8?q?=E5=B9=B3=E6=98=8C=E5=8D=A1=E6=89=A3?= =?UTF-8?q?=E7=99=BB=E8=AE=B0=E5=92=8C=E8=BF=94=E4=B9=A1=E7=99=BB=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppGetewayRegister/getewayAdd.vue | 20 +++++++++---------- .../AppGetewayRegister/getewayDetail.vue | 8 ++++---- .../pingchang/AppReturnHomeRegister/Add.vue | 20 +++++++++---------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue index 76ac5f8..a31bca7 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue @@ -49,7 +49,7 @@
-
+
@@ -322,8 +322,8 @@ export default { phone: '', name: '', idNumber: '', - type: '', // 人员类别 - highRiskIndustries: '', + // type: '', // 人员类别 + // highRiskIndustries: '', startTime: '', startAreaId: '', startAreaName: '', @@ -549,13 +549,13 @@ export default { return this.$toast('请输入姓名') } - if (!this.form.highRiskIndustries) { - return this.$toast('请选择高危行业') - } + // if (!this.form.highRiskIndustries) { + // return this.$toast('请选择高危行业') + // } - if (!this.form.type) { - return this.$toast('请选择人员类别') - } + // if (!this.form.type) { + // return this.$toast('请选择人员类别') + // } if (!this.form.startTime) { return this.$toast('请选择出发时间') diff --git a/src/project/pingchang/AppGetewayRegister/getewayDetail.vue b/src/project/pingchang/AppGetewayRegister/getewayDetail.vue index 8e165f9..8824476 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayDetail.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayDetail.vue @@ -48,22 +48,22 @@ {{ info.phone }} -
+ +

行程信息

diff --git a/src/project/pingchang/AppReturnHomeRegister/Add.vue b/src/project/pingchang/AppReturnHomeRegister/Add.vue index 5b837b9..72d6e49 100644 --- a/src/project/pingchang/AppReturnHomeRegister/Add.vue +++ b/src/project/pingchang/AppReturnHomeRegister/Add.vue @@ -37,7 +37,7 @@
-
+
行程信息
@@ -307,8 +307,8 @@ export default { idNumber: '', name: '', phone: '', - type: '', - highRiskIndustries: '', // 高危行业 + // type: '', + // highRiskIndustries: '', // 高危行业 startTime: '', startAreaId: '', startAreaName: '', @@ -466,13 +466,13 @@ export default { return this.$toast('请输入手机号码') } - if (!this.form.type) { - return this.$toast('请选择人员类别') - } + // if (!this.form.type) { + // return this.$toast('请选择人员类别') + // } - if (!this.form.highRiskIndustries) { - return this.$toast('请选择高危行业') - } + // if (!this.form.highRiskIndustries) { + // return this.$toast('请选择高危行业') + // } if (!this.form.startTime) { return this.$toast('请选择出发时间') From 710c17567ff72ea413c3f64979e74a95b3b9b7f1 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Tue, 15 Nov 2022 11:32:17 +0800 Subject: [PATCH 08/10] =?UTF-8?q?=E5=8D=A1=E5=8F=A3=E7=99=BB=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppGetewayRegister/getewayAdd.vue | 37 +++++++++++-------- .../AppReturnHomeRegister/Detail.vue | 5 +-- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue index a31bca7..6c560c8 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue @@ -311,6 +311,7 @@ + + diff --git a/src/project/pingchang/AppPhotoReport/PhotoDetail.vue b/src/project/pingchang/AppPhotoReport/PhotoDetail.vue new file mode 100644 index 0000000..b1ae503 --- /dev/null +++ b/src/project/pingchang/AppPhotoReport/PhotoDetail.vue @@ -0,0 +1,167 @@ + + + + + diff --git a/src/project/pingchang/AppPhotoReport/PhotoForm.vue b/src/project/pingchang/AppPhotoReport/PhotoForm.vue new file mode 100644 index 0000000..30dc6ca --- /dev/null +++ b/src/project/pingchang/AppPhotoReport/PhotoForm.vue @@ -0,0 +1,331 @@ + + + + + diff --git a/src/project/pingchang/AppPhotoReport/PhotoResult.vue b/src/project/pingchang/AppPhotoReport/PhotoResult.vue new file mode 100644 index 0000000..ddcca7f --- /dev/null +++ b/src/project/pingchang/AppPhotoReport/PhotoResult.vue @@ -0,0 +1,64 @@ + + + + +