黑龙江
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -39,14 +39,8 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: '#ffffff',
|
||||
backgroundColor: '#2183FF'
|
||||
})
|
||||
uni.setNavigationBarTitle({
|
||||
title: '儿童详细信息'
|
||||
})
|
||||
onShow() {
|
||||
document.title = '儿童详细信息'
|
||||
},
|
||||
methods: {
|
||||
view(index) {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}`})
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
<template>
|
||||
<section class="AppRecognize">
|
||||
<u-navbar title="认亲助养" title-color="#fff" title-width="300" title-size="34"
|
||||
<!-- <u-navbar title="认亲助养" title-color="#fff" title-width="300" title-size="34"
|
||||
:title-bold="true" :background="backgroundNavbar" :height="44" back-icon-color="#fff">
|
||||
<div slot="right" class="btn-right" @click="showAdd=true">查询/新增</div>
|
||||
<div slot="right" class="btn-right" @click="showAdd=!showAdd">查询/新增</div>
|
||||
</u-navbar>
|
||||
<div class="select-content" v-if="showAdd">
|
||||
<span class="triangle-up"></span>
|
||||
<div class="item" @click="linkTo('./AppRecognizeSearchTab')">查询</div>
|
||||
<div class="item" @click="linkTo(`./AppRecognizeAdd?assistanceMethod=${tabList[tabIndex].val}`)">新增认亲助养</div>
|
||||
</div> -->
|
||||
<div class="top-fixed">
|
||||
<u-tabs u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" height="112" :bar-style="barStyle"
|
||||
bg-color="#fff" inactive-color="#666" active-color="#222" :active-item-style="activeStyle"></u-tabs>
|
||||
</div>
|
||||
<u-tabs u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" height="112" :bar-style="barStyle"
|
||||
bg-color="#fff" inactive-color="#666" active-color="#222" :active-item-style="activeStyle"></u-tabs>
|
||||
<div class="user-list">
|
||||
<div class="item" v-for="(item, index) in list" :key="index" @click="toDetail(item)">
|
||||
<div class="item-top">
|
||||
@@ -24,6 +26,10 @@
|
||||
</div>
|
||||
<AiEmpty v-if="!list.length"></AiEmpty>
|
||||
</div>
|
||||
<div class="footer-btn">
|
||||
<div class="btn primary" @click="linkTo('./AppRecognizeSearchTab')">查询</div>
|
||||
<div class="btn" @click="linkTo(`./AppRecognizeAdd?assistanceMethod=${tabList[tabIndex].val}`)">新增认亲助养</div>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<template>
|
||||
<section class="AppRecognizeDetail">
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" height="112" :bar-style="barStyle"
|
||||
bg-color="#fff" inactive-color="#666" active-color="#222" :active-item-style="activeStyle"></u-tabs>
|
||||
<div class="top-fixed">
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" height="112" :bar-style="barStyle"
|
||||
bg-color="#fff" inactive-color="#666" active-color="#222" :active-item-style="activeStyle"></u-tabs>
|
||||
</div>
|
||||
<div class="info-content" v-if="!tabIndex">
|
||||
<div class="item">
|
||||
<div class="label">助养人姓名</div>
|
||||
@@ -157,13 +159,6 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: '#ffffff',
|
||||
backgroundColor: '#2183FF'
|
||||
})
|
||||
uni.setNavigationBarTitle({
|
||||
title: '认亲助养'
|
||||
})
|
||||
this.id = option.id
|
||||
this.$http.get(`/system/config/configKey/upload.file.path`,
|
||||
{
|
||||
@@ -176,7 +171,9 @@ export default {
|
||||
this.$dictHlj.load(['handling_Date', 'relationship_children', 'child_type']).then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
|
||||
},
|
||||
onShow() {
|
||||
document.title = '认亲助养'
|
||||
},
|
||||
methods: {
|
||||
linkTo(url) {
|
||||
@@ -261,8 +258,14 @@ uni-page-body {
|
||||
::v-deep .u-tabs {
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
.top-fixed {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.info-content {
|
||||
margin-top: 24px;
|
||||
padding-top: 144px;
|
||||
.item {
|
||||
padding-left: 32px;
|
||||
background-color: #fff;
|
||||
|
||||
@@ -40,13 +40,9 @@ export default {
|
||||
},
|
||||
onLoad(option) {
|
||||
this.navName = option.name
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: '#ffffff',
|
||||
backgroundColor: '#2183FF'
|
||||
})
|
||||
uni.setNavigationBarTitle({
|
||||
title: option.name == '个人助养' ? '查询个人助养' : '查询集体助养'
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = this.navName == '个人助养' ? '查询个人助养' : '查询集体助养'
|
||||
},
|
||||
methods: {
|
||||
toList() {
|
||||
|
||||
@@ -35,18 +35,14 @@ export default {
|
||||
...mapState(['user']),
|
||||
},
|
||||
onLoad(option) {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: '#ffffff',
|
||||
backgroundColor: '#2183FF'
|
||||
})
|
||||
uni.setNavigationBarTitle({
|
||||
title: '查询认亲助养'
|
||||
})
|
||||
this.assistanceName = option.assistanceName
|
||||
// this.assistanceIdNumber = option.assistanceIdNumber
|
||||
this.assistanceMethod = option.assistanceMethod
|
||||
this.getList()
|
||||
},
|
||||
onShow() {
|
||||
document.title = '查询认亲助养'
|
||||
},
|
||||
methods: {
|
||||
toDetail(row) {
|
||||
uni.navigateTo({url: `./AppRecognizeDetail?id=${row.id}`})
|
||||
|
||||
@@ -18,14 +18,8 @@ export default {
|
||||
list: ['个人助养', '集体助养']
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: '#ffffff',
|
||||
backgroundColor: '#2183FF'
|
||||
})
|
||||
uni.setNavigationBarTitle({
|
||||
title: '查询认清助养'
|
||||
})
|
||||
onShow() {
|
||||
document.title = '查询认亲助养'
|
||||
},
|
||||
methods: {
|
||||
toSearch(name) {
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
<template>
|
||||
<section class="AppSecurityObject">
|
||||
<div class="tab-content">
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" height="112" :bar-style="barStyle"
|
||||
bg-color="#fff" inactive-color="#666" active-color="#222" :active-item-style="activeStyle"></u-tabs>
|
||||
</div>
|
||||
<div class="select-type" @click="isShowType=true">
|
||||
{{$dictHlj.getLabel('CHILD_CATEGORY_CODE', childTypeCode) || '儿童类别'}}<u-icon name="arrow-down" color="#999" size="28"></u-icon>
|
||||
<div class="top-fixed">
|
||||
<div class="tab-content">
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" height="112" :bar-style="barStyle"
|
||||
bg-color="#fff" inactive-color="#666" active-color="#222" :active-item-style="activeStyle"></u-tabs>
|
||||
</div>
|
||||
<div class="select-type" @click="isShowType=true">
|
||||
{{$dictHlj.getLabel('CHILD_CATEGORY_CODE', childTypeCode) || '儿童类别'}}<u-icon name="arrow-down" color="#999" size="28"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="user-list">
|
||||
<div class="item" v-for="(item, index) in list" :key="index" @click="toDetail(item)">
|
||||
@@ -53,19 +55,15 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: '#ffffff',
|
||||
backgroundColor: '#2183FF'
|
||||
})
|
||||
uni.setNavigationBarTitle({
|
||||
title: '保障对象管理'
|
||||
})
|
||||
this.$dictHlj.load(['item_Type', 'CHILD_CATEGORY_CODE']).then(() => {
|
||||
this.typeList = this.$dictHlj.getDict('CHILD_CATEGORY_CODE')
|
||||
this.typeList.unshift({label: '全部', value: ''})
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = '保障对象管理'
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
},
|
||||
@@ -117,6 +115,13 @@ uni-page-body {
|
||||
background-color: #F5F6F7;
|
||||
}
|
||||
.AppSecurityObject {
|
||||
.top-fixed {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
z-index: 9;
|
||||
}
|
||||
.tab-content {
|
||||
padding-right: 120px;
|
||||
box-sizing: border-box;
|
||||
@@ -137,7 +142,7 @@ uni-page-body {
|
||||
}
|
||||
}
|
||||
.user-list {
|
||||
padding: 24px 32px 0 32px;
|
||||
padding: 236px 32px 0 32px;
|
||||
box-sizing: border-box;
|
||||
.item {
|
||||
width: 100%;
|
||||
|
||||
@@ -116,13 +116,6 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: '#ffffff',
|
||||
backgroundColor: '#2183FF'
|
||||
})
|
||||
uni.setNavigationBarTitle({
|
||||
title: '保障对象详情'
|
||||
})
|
||||
this.childrenId = option.childrenId
|
||||
this.childTypeCode = option.childTypeCode
|
||||
this.itemType = option.itemType
|
||||
@@ -130,6 +123,9 @@ export default {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = '保障对象详情'
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user