diff --git a/src/common/dictHlj.js b/src/common/dictHlj.js index b593c72a..b5a3b6e7 100644 --- a/src/common/dictHlj.js +++ b/src/common/dictHlj.js @@ -19,7 +19,6 @@ const $dictHlj = { return this.instance && this.instance.get(url, { withoutToken: true, }).then((res) => { - console.log(res) if (res && res.data) { let dicts=[] for (var i in res.data) { @@ -33,8 +32,6 @@ const $dictHlj = { uni.setStorageSync('dicts', dicts); } - }).catch((err) => { - console.log(err) }) }, getDict(key) { diff --git a/src/project/hljjm/AppChildrenInfo/AppChildrenDetail.vue b/src/project/hljjm/AppChildrenInfo/AppChildrenDetail.vue index 603ce90b..3eee10b5 100644 --- a/src/project/hljjm/AppChildrenInfo/AppChildrenDetail.vue +++ b/src/project/hljjm/AppChildrenInfo/AppChildrenDetail.vue @@ -116,19 +116,15 @@ export default { } }, onLoad(option) { - uni.setNavigationBarColor({ - frontColor: '#ffffff', - backgroundColor: '#2183FF' - }) - uni.setNavigationBarTitle({ - title: '儿童信息详情' - }) this.childType = option.childType this.synId = option.synId this.$dictHlj.load(['CHILD_CATEGORY_CODE', 'GENDER_CODE']).then(() => { this.getDetail() }) }, + onShow() { + document.title = '儿童信息详情' + }, methods: { view(type) { if(!type) { diff --git a/src/project/hljjm/AppChildrenInfo/AppChildrenDetailView.vue b/src/project/hljjm/AppChildrenInfo/AppChildrenDetailView.vue index 4d94731a..4677a7d4 100644 --- a/src/project/hljjm/AppChildrenInfo/AppChildrenDetailView.vue +++ b/src/project/hljjm/AppChildrenInfo/AppChildrenDetailView.vue @@ -39,14 +39,8 @@ export default { ] } }, - onLoad() { - uni.setNavigationBarColor({ - frontColor: '#ffffff', - backgroundColor: '#2183FF' - }) - uni.setNavigationBarTitle({ - title: '儿童详细信息' - }) + onShow() { + document.title = '儿童详细信息' }, methods: { view(index) { diff --git a/src/project/hljjm/AppChildrenInfo/AppChildrenInfo.vue b/src/project/hljjm/AppChildrenInfo/AppChildrenInfo.vue index d123b97a..530f97f2 100644 --- a/src/project/hljjm/AppChildrenInfo/AppChildrenInfo.vue +++ b/src/project/hljjm/AppChildrenInfo/AppChildrenInfo.vue @@ -49,15 +49,11 @@ export default { } }, onLoad() { - uni.setNavigationBarColor({ - frontColor: '#ffffff', - backgroundColor: '#2183FF' - }) - uni.setNavigationBarTitle({ - title: '各类儿童信息查询' - }) this.$dictHlj.load(['CHILD_CATEGORY_CODE']) }, + onShow() { + document.title = '各类儿童信息查询' + }, methods: { typeChange(e) { this.childType = e[0].value diff --git a/src/project/hljjm/AppChildrenInfo/AppChildrenList.vue b/src/project/hljjm/AppChildrenInfo/AppChildrenList.vue index 533e1823..32c19730 100644 --- a/src/project/hljjm/AppChildrenInfo/AppChildrenList.vue +++ b/src/project/hljjm/AppChildrenInfo/AppChildrenList.vue @@ -33,19 +33,15 @@ export default { } }, onLoad(option) { - uni.setNavigationBarColor({ - frontColor: '#ffffff', - backgroundColor: '#2183FF' - }) - uni.setNavigationBarTitle({ - title: '各类儿童信息查询' - }) this.childType = option.childType this.childName = option.childName this.$dictHlj.load(['CHILD_CATEGORY_CODE', 'GENDER_CODE']).then(() => { this.getList() }) }, + onShow() { + document.title = '各类儿童信息查询' + }, methods: { toDetail(row) { uni.navigateTo({url: `./AppChildrenDetail?synId=${row.synId}&childType=${row.childType}`}) diff --git a/src/project/hljjm/AppHome/AppHome.vue b/src/project/hljjm/AppHome/AppHome.vue index b0685637..520529ff 100644 --- a/src/project/hljjm/AppHome/AppHome.vue +++ b/src/project/hljjm/AppHome/AppHome.vue @@ -32,13 +32,16 @@ export default { } }, onLoad() { - uni.setNavigationBarColor({ - frontColor: '#ffffff', - backgroundColor: '#2183FF' - }) - uni.setNavigationBarTitle({ - title: '黑龙江儿童福利系统' - }) + // uni.setNavigationBarColor({ + // frontColor: '#ffffff', + // backgroundColor: '#2183FF' + // }) + // uni.setNavigationBarTitle({ + // title: '黑龙江儿童福利系统' + // }) + }, + onShow() { + document.title = '黑龙江儿童福利系统' }, methods: { linkTo(url) { diff --git a/src/project/hljjm/AppRecognize/AppRecognize.vue b/src/project/hljjm/AppRecognize/AppRecognize.vue index f63e8f08..e2e16878 100644 --- a/src/project/hljjm/AppRecognize/AppRecognize.vue +++ b/src/project/hljjm/AppRecognize/AppRecognize.vue @@ -1,16 +1,18 @@ @@ -65,6 +71,9 @@ export default { this.getListInit() }) }, + onShow() { + document.title = '认亲助养' + }, methods: { linkTo(url) { this.showAdd = false @@ -133,7 +142,7 @@ uni-page-body { background-color: #fff; box-shadow: 6px 6px 12px 0px #999; width: 256px; - position: absolute; + position: fixed; top: 104px; right: 32px; z-index: 999; @@ -160,8 +169,14 @@ uni-page-body { z-index: 999; } } + .top-fixed { + position: fixed; + top: 0; + left: 0; + width: 100%; + } .user-list { - padding: 24px 32px 0 32px; + padding: 144px 32px 300px 32px; box-sizing: border-box; .item { width: 100%; @@ -198,5 +213,31 @@ uni-page-body { } } } + .footer-btn { + width: 100%; + position: fixed; + bottom: 0; + left: 0; + padding: 16px 32px 52px 16px; + box-sizing: border-box; + background-color: #fff; + .btn { + width: 100%; + text-align: center; + height: 96px; + line-height: 94px; + border: 1px solid #2183FF; + border-radius: 8px; + font-family: PingFangSC-Medium; + font-weight: 500; + font-size: 32px; + color: #2183FF; + margin-bottom: 16px; + } + .primary { + background-color: #2183FF; + color: #fff; + } + } } diff --git a/src/project/hljjm/AppRecognize/AppRecognizeAdd.vue b/src/project/hljjm/AppRecognize/AppRecognizeAdd.vue index 6176d060..6c354299 100644 --- a/src/project/hljjm/AppRecognize/AppRecognizeAdd.vue +++ b/src/project/hljjm/AppRecognize/AppRecognizeAdd.vue @@ -169,11 +169,12 @@ export default { stepIndex: 0, files: [], form: { - assistanceName: '李四', + assistanceName: '', relationshipWithChild: '', assistanceMethod: '', - details: '111', - assistanceIdNumber: '110102190001010731', + details: '', + assistanceIdNumber: '', + // 110102190001010731 handlingDate: '', assistanceInformationFile: [], agentId: '', @@ -202,15 +203,7 @@ export default { ...mapState(['user']), }, onLoad(option) { - uni.setNavigationBarColor({ - frontColor: '#ffffff', - backgroundColor: '#2183FF' - }) - uni.setNavigationBarTitle({ - title: '认亲助养' - }) this.$dictHlj.load(['handling_Date', 'relationship_children', 'CHILD_CATEGORY_CODE']) - this.$http.get(`/system/config/configKey/upload.file.path`, { withoutToken: true @@ -221,9 +214,11 @@ export default { }) this.form.agentId = this.user.name this.form.agentPhone = this.user.phone - // this.form.agency = this.user.divisionCode this.form.assistanceMethod = option.assistanceMethod }, + onShow() { + document.title = '认亲助养' + }, methods: { shipChange(e) { this.form.relationshipWithChild = e[0].value diff --git a/src/project/hljjm/AppRecognize/AppRecognizeDetail.vue b/src/project/hljjm/AppRecognize/AppRecognizeDetail.vue index ece78e73..e7938e0d 100644 --- a/src/project/hljjm/AppRecognize/AppRecognizeDetail.vue +++ b/src/project/hljjm/AppRecognize/AppRecognizeDetail.vue @@ -1,7 +1,9 @@