diff --git a/src/components/AiCheckbox.vue b/src/components/AiCheckbox.vue new file mode 100644 index 00000000..40660999 --- /dev/null +++ b/src/components/AiCheckbox.vue @@ -0,0 +1,97 @@ + + + + + diff --git a/src/components/AiRadio.vue b/src/components/AiRadio.vue new file mode 100644 index 00000000..d9128ad8 --- /dev/null +++ b/src/components/AiRadio.vue @@ -0,0 +1,120 @@ + + + + + diff --git a/src/sass/AppBackUserList/Add.vue b/src/sass/AppBackUserList/Add.vue new file mode 100644 index 00000000..d7c99751 --- /dev/null +++ b/src/sass/AppBackUserList/Add.vue @@ -0,0 +1,773 @@ + + + + + diff --git a/src/sass/AppBackUserList/AppBackUserList.vue b/src/sass/AppBackUserList/AppBackUserList.vue index 5541716a..50e52787 100644 --- a/src/sass/AppBackUserList/AppBackUserList.vue +++ b/src/sass/AppBackUserList/AppBackUserList.vue @@ -2,10 +2,10 @@
-
+
- {{params.girdName}} + {{girdName}}
@@ -48,9 +48,32 @@
+ +
+
+
+ +

转发

+
+
+ +

分享到微信

+
+
+ +

获取链接

+
+
+ +

保存二维码

+
+
+
取消
+
+
@@ -61,33 +84,36 @@ export default { appName: '返乡登记', data() { return { - areaId: '', - areaName: '', tabIndex: 0, current: 1, list: [], name: '', totalInfo: {}, - params: {}, - isAdmin: true + isAdmin: true, + show: false, + girdList: [], + girdName: '', + girdId: '', + showSelect: false } }, computed: { ...mapState(['user']) }, onShow() { - this.areaId = this.user.areaId - this.areaName = this.user.areaName document.title = '返乡登记' - this.getList() - this.getTotal() - uni.$on('updateList', () => { - this.getListInit() - }) this.isGirdUser() - uni.$on('goback', (res) => { - this.params = res - }) }, methods: { + confirmSelect(e) { + console.log(e) + this.girdId = e[0].value + this.girdList.map((item) => { + if(item.id == this.girdId) { + this.girdName = item.girdName + } + }) + this.getListInit() + this.getTotal() + }, tabClick(index) { this.tabIndex = index this.getListInit() @@ -102,7 +128,7 @@ export default { if(this.tabIndex == 1) { status = 0 } - this.$http.post(`/app/appepidemicbackhomerecord/list?current=${this.current}&size=10&status=${status}&name=${this.name}&arriveAreaId=${this.areaId}`) + this.$http.post(`/app/appepidemicbackhomerecord/list?current=${this.current}&size=10&status=${status}&name=${this.name}&arriveGirdId=${this.girdId}`) .then((res) => { if (res.code == 0) { res.data.records.map((item) => { @@ -113,7 +139,7 @@ export default { }) }, getTotal() { - this.$http.post(`/app/appepidemicbackhomerecord/statistic?areaId=${this.areaId}`).then((res) => { + this.$http.post(`/app/appepidemicbackhomerecord/statistic?arriveGirdId=${this.girdId}`).then((res) => { if (res.code == 0) { this.totalInfo = res.data } @@ -132,10 +158,29 @@ export default { if (res.data.checkType != '0') { this.isAdmin = true this.params = res.data.appGirdInfo + this.getGirdList() } } }) }, + getGirdList() { + this.$http.post('/app/appgirdmemberinfo/queryMyGirdListByLevel2AndUser').then((res) => { + if (res.code == 0) { + this.girdList = res.data + this.girdId = res.data[0].id + this.girdName = res.data[0].girdName + this.getList() + this.getTotal() + } + }) + }, + close() { + this.show = false + }, + open() { + console.log(123) + this.show = true + } }, onReachBottom() { this.current ++ @@ -354,5 +399,48 @@ export default { background-color: #3975C6; } } + .line-bg{ + width: 110px; + height: 8px; + background: #DCDDDE; + border-radius: 4px; + margin: 32px auto 82px; + } + .flex{ + width: 100%; + display: flex; + padding-bottom: 70px; + .item{ + flex: 1; + text-align: center; + img{ + width: 100px; + height: 100px; + border-radius: 16px; + background-color: #fff; + margin-bottom: 16px; + } + p{ + font-size: 26px; + font-family: PingFangSC-Regular, PingFang SC; + color: #666; + line-height: 36px; + } + } + } + .btn{ + width: 100%; + height: 96px; + line-height: 96px; + text-align: center; + background: #FFF; + font-size: 30px; + font-family: PingFangSC-Medium, PingFang SC; + font-weight: 500; + color: #333; + } + ::v-deep .uni-scroll-view{ + background-color:#f7f7f7; + } } diff --git a/src/sass/AppBackUserList/Qrcode.vue b/src/sass/AppBackUserList/Qrcode.vue new file mode 100644 index 00000000..07d4ecd0 --- /dev/null +++ b/src/sass/AppBackUserList/Qrcode.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/src/sass/AppBackUserList/components/img/ewm.png b/src/sass/AppBackUserList/components/img/ewm.png new file mode 100644 index 00000000..8bc8be27 Binary files /dev/null and b/src/sass/AppBackUserList/components/img/ewm.png differ diff --git a/src/sass/AppBackUserList/components/img/lj.png b/src/sass/AppBackUserList/components/img/lj.png new file mode 100644 index 00000000..011cfb3e Binary files /dev/null and b/src/sass/AppBackUserList/components/img/lj.png differ diff --git a/src/sass/AppBackUserList/components/img/qrcode-header.png b/src/sass/AppBackUserList/components/img/qrcode-header.png new file mode 100644 index 00000000..ebc0e571 Binary files /dev/null and b/src/sass/AppBackUserList/components/img/qrcode-header.png differ diff --git a/src/sass/AppBackUserList/components/img/wx.png b/src/sass/AppBackUserList/components/img/wx.png new file mode 100644 index 00000000..be4b3573 Binary files /dev/null and b/src/sass/AppBackUserList/components/img/wx.png differ diff --git a/src/sass/AppBackUserList/components/img/zf.png b/src/sass/AppBackUserList/components/img/zf.png new file mode 100644 index 00000000..78c4d9bc Binary files /dev/null and b/src/sass/AppBackUserList/components/img/zf.png differ diff --git a/src/sass/AppSpecialPeople/add.vue b/src/sass/AppSpecialPeople/add.vue index 693d5497..fd72a0e2 100644 --- a/src/sass/AppSpecialPeople/add.vue +++ b/src/sass/AppSpecialPeople/add.vue @@ -403,42 +403,9 @@ export default { } }).then((res) => { if (res.code == 0) { + this.form = res.data this.form.userType = this.index - this.form.name = res.data.name - this.form.idNumber = res.data.idNumber - this.form.gender=res.data.gender, - this.form.birth=res.data.birth, - this.form.phone=res.data.phone, - this.form.areaName=res.data.areaName, - this.form.address=res.data.address, - this.form.girdName=res.data.girdName, - this.form.areaId=res.data.areaId, - this.form.income=res.data.income, - this.form.marriage = res.data.marriage, - this.form.health = res.data.health - this.form.type = res.data.type - this.form.level= res.data.level - this.form.sickTime= res.data.sickTime - this.form.helpName= res.data.helpName - this.form.helpPhone= res.data.helpPhone - this.form.crime= res.data.crime - this.form.startTime= res.data.startTime - this.form.endTime= res.data.endTime - this.form.isCreateGroup= res.data.isCreateGroup - this.form.isRelease= res.data.isRelease - this.form.firstTime= res.data.firstTime - this.form.status= res.data.status - this.form.debug= res.data.debug - this.form.control= res.data.control - this.form.controlName= res.data.controlName - this.form.controlPhone= res.data.controlPhone - this.form.isSecond= res.data.isSecond - this.form.place= res.data.place - this.form.denger= res.data.denger - this.form.placement= res.data.placement - this.form.situation= res.data.situation - this.form.situationTime= res.data.situationTime - this.form.isRepeat= res.data.isRepeat + this.$forceUpdate() } }) },