持续集成分支

This commit is contained in:
aixianling
2024-10-31 14:34:57 +08:00
parent 6a833be062
commit 8c56cf808b
2165 changed files with 4116 additions and 8716 deletions

View File

@@ -0,0 +1,322 @@
<template>
<div class="AppHelpDeclaration">
<AiTopFixed>
<div class="tab-select">
<div class="item" :class="tabIndex == index ? 'active' : ''" v-for="(item, index) in tabs" :key="index" @click="tabClick(index)">{{ item }}<span></span>
</div>
</div>
<div class="select-box">
<div class="left">
<AiAreaPicker v-model="areaId" :areaId="user.areaId" :name.sync="areaName" @select="areaSelect" selectRoot>
<div>
<span v-if="areaId" style="color:#333;fontSize: 14px;" class="areaName">{{ areaName }}</span>
<span v-else style="color: #999;fontSize: 14px;" class="areaName">所在地区</span>
<u-icon name="arrow-down" color="#999" size="24" style="margin-left: 4px;width: 14px;display:inline-block;margin-top:18px"
@select="areaSelect(e)"></u-icon>
</div>
</AiAreaPicker>
</div>
<div class="right">
<AiSelect v-model="declareReason" :list="riskList" @data="typeSelect">
<span v-if="!declareReason" style="color: #999;">风险类型</span>
<span v-else>{{ $dict.getLabel('helpDeclarationReason', declareReason) }}</span>
<u-icon name="arrow-down" color="#999" size="24" style="margin-left: 4px;width: 14px;display:inline-block;"></u-icon>
<!-- <u-icon name="close-circle" v-if="declareReason" @click="clearReason" color="#999" size="24"></u-icon> -->
</AiSelect>
</div>
</div>
</AiTopFixed>
<div v-if="list.length">
<div class="card_list">
<div class="card" v-for="(item,index) in list" :key="index" @click="toDetail(item.id)">
<div class="top">
<div class="title">{{ item.riskDescription }}</div>
<div class="info"><p>申请人姓名</p>
<p>{{ item.name }}</p></div>
<div class="info"><p>所在地区</p>
<p>{{ item.areaName }}</p></div>
<div class="info"><p>风险类型</p>
<p>{{ item.reason }}</p></div>
</div>
<div class="bottom">
<span :style="{background: item.status == 0? '#FF883C':item.status == 1? '#1AAAFF': item.status==2? '#FF4466': '#42D784'}"></span>
<span :class="item.status == 0? 'status0': item.status==1? 'status1': item.status==2? 'status3': 'status2'">{{
$dict.getLabel('helpDeclarationStatus', item.status)
}}</span>
</div>
</div>
</div>
</div>
<AiEmpty v-else description="暂无数据"/>
<!-- <AiFixedBtn>
<div class="addBtn iconfont iconfont-iconfangda" @tap="toAdd()"/>
</AiFixedBtn> -->
<div style="height: 56px"></div>
<div class="btn" @click="toAdd">申请帮扶</div>
</div>
</template>
<script>
import {mapState} from 'vuex'
export default {
name: "AppHelpDeclaration",
appName: "申报审批",
data() {
return {
tabs: ['全部待办', '办理历史'],
tabIndex: 0,
current: 1,
areaId: '',
areaName: '',
declareReason: '',
list: [],
riskList: [],
}
},
computed: {
...mapState(['user'])
},
onShow() {
this.$dict.load('helpDeclarationReason', 'helpDeclarationStatus').then(() => {
this.riskList = this.$dict.getDict('helpDeclarationReason').map((item) => ({
label: item.dictName,
value: item.dictValue
}))
this.riskList.unshift({label: "全部", value: ""})
})
uni.$on('update', () => {
this.getList()
})
this.getList()
},
methods: {
tabClick(index) {
this.current = 1,
this.list = [],
this.tabIndex = index,
this.getList()
},
areaSelect(e) {
this.areaId = e
this.$nextTick(() => {
this.getList()
})
},
typeSelect(e) {
this.declareReason = e[0].value
this.current = 1,
this.list = [],
this.getList()
},
clearArea() {
this.areaId = '',
this.areaName = '',
this.current = 1,
this.list = [],
this.getList()
},
clearReason() {
this.declareReason = '',
this.current = 1,
this.list = [],
this.getList()
},
getList() {
this.$http.post('/app/apphelpdeclarationinfo/listByEw', null, {
params: {
current: this.current,
searchType: this.tabIndex,
areaId: this.areaId,
declareReason: this.declareReason // 风险类型
}
}).then((res) => {
if (res?.data) {
this.list = this.current == 1 ? res.data.records : [...this.list, ...res.data.records]
}
})
},
toAdd() {
uni.navigateTo({url: './add'})
},
toDetail(id) {
uni.navigateTo({url: `./details?id=${id}`})
},
onReachBottom() {
this.current++
this.getList()
}
}
}
</script>
<style lang="scss" scoped>
.AppHelpDeclaration {
padding: 0;
::v-deep .AiTopFixed .content {
padding: 0;
}
::v-deep .AiSelect .display {
justify-content: center;
}
.tab-select {
width: 100%;
height: 96px;
line-height: 96px;
background: #3975C6;
display: flex;
.item {
flex: 1;
text-align: center;
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #CDDCF0;
}
.active {
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
position: relative;
color: #fff;
span {
width: 48px;
height: 4px;
background: #FFF;
position: absolute;
bottom: 14px;
left: 50%;
margin-left: -24px;
}
}
}
.select-box {
display: flex;
height: 96px;
line-height: 96px;
width: 100%;
.left,
.right {
flex: 1;
text-align: center !important;
font-size: 28px;
::v-deep .u-icon .uicon-close-circle {
top: -96px !important;
left: 80px;
margin-left: 30px;
width: 14px;
display: inline-block;
}
}
}
.card_list {
padding: 24px 32px;
box-sizing: border-box;
.card {
background: #FFFFFF;
box-shadow: 0px 0px 8px 0px #00000005;
border-radius: 16px;
margin-bottom: 24px;
.top {
padding: 32px;
box-sizing: border-box;
border-bottom: 2px solid #DDDDDD;
.title {
color: #333333;
font-size: 32px;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
margin-bottom: 24px;
}
.info {
p:first-child {
vertical-align: center;
color: #999999;
font-size: 26px;
display: inline-block;
width: 160px;
}
p:last-child {
vertical-align: bottom;
display: inline-block;
width: calc(100% - 160px);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.bottom {
padding: 32px;
box-sizing: border-box;
span:first-child {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 8px;
background: #FF4466;
}
}
.status0 {
color: #FF883C
}
.status1 {
color: #1AAAFF
}
.status2 {
color: #42D784
}
.status3 {
color: #FF4466
}
}
}
.btn {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 112px;
line-height: 112px;
text-align: center;
color: #FFF;
background: #3975C6;
}
}
</style>

View File

@@ -0,0 +1,297 @@
<template>
<div class="add">
<div class="tips">我承认本次申请帮扶情况属实愿接受有关部门依法核实家庭资产信息如存在虚报伪造造成社会资源浪费本人资源承担相关惩戒措施</div>
<div class="user_info">
<div class="item">
<div class="left">
<span>*</span><span>申请人姓名</span>
</div>
<input type="text" class="right__text" v-model="form.name" placeholder="请输入" maxlength="20"/>
</div>
<div class="item">
<div class="left">
<span>*</span><span>申请人身份证号</span>
</div>
<input type="text" class="right__text" v-model="form.idNumber" placeholder="请输入" maxlength="18"/>
</div>
<div class="item">
<div class="left">
<span>*</span><span>联系方式</span>
</div>
<input type="tel" class="right__text" v-model="form.phone" placeholder="请输入" maxlength="11"/>
</div>
</div>
<div class="family_info">
<div class="item">
<div class="left">
<span>*</span><span>家庭人口数</span>
</div>
<input type="tel" class="right__text" v-model="form.householdNumber" placeholder="请输入" maxlength="10"/>
</div>
<div class="item">
<div class="left">
<span>*</span><span>所在地区</span>
</div>
<AiAreaPicker v-model="form.areaId" class="right__text" :fullName.sync="form.areaName" :selectRoot="false">
<span :class="form.areaName == '' ? 'color-999' : 'color-333' ">{{ form.areaName || "请选择" }}</span>
<u-icon name="arrow-right" color="#ddd" style="display: inline-block;"/>
</AiAreaPicker>
</div>
<div class="items">
<div class="left">
<span>*</span><span>详细地址</span>
</div>
<input type="text" class="textarea" v-model="form.address" placeholder="请输入详细地址" maxlength="100"/>
</div>
<div class="items">
<div class="left">
<span>*</span><span>申请帮扶原因最多2项</span>
</div>
<div class="tags">
<span v-for="(item,index) in list" :key="index" :class="item.checked? 'isCheck':''" @click="helpCheck(item)">{{ item.dictName }}</span>
</div>
</div>
<div class="items">
<div class="left">
<span>*</span><span>返贫致贫风险说明</span>
</div>
<u-input type="textarea" class="text" v-model="form.riskDescription" placeholder="请简要说明返贫致贫风险"
placeholder-style="font-size: 14px;color: #999;" maxlength="500" auto-height/>
</div>
<div class="items">
<div class="left">
<span style="margin-right: 8px"></span><span>上传佐证材料最多9张</span>
</div>
<div style="margin-top: 10px;">
<AiUploader v-model="form.files" :limit="9" multiple action="/admin/file/add2"></AiUploader>
</div>
</div>
</div>
<div style="height: 60px;"></div>
<div class="btn" @click="comfirm">提交</div>
</div>
</template>
<script>
import { mapState } from 'vuex'
export default {
data() {
return {
form: {
name: '',
idNumber: '',
phone: '',
householdNumber: '',
areaId: '',
areaName: '',
address: '',
declareReason: [],
reason: '',
riskDescription: '',
files: [],
},
list: [],
flag: false,
checkList: [],
}
},
onLoad() {
this.$dict.load('helpDeclarationReason').then(()=>{
this.list = this.$dict.getDict('helpDeclarationReason').map((item)=>{
return {
dictName: item.dictName,
dictValue: item.dictValue,
checked: false
}
})
})
// this.form.areaId = this.user.areaId
},
computed: {
...mapState(['user'])
},
onShow() {
document.title = '添加帮扶申报'
},
methods: {
helpCheck(e) {
e.checked = !e.checked
this.checkList = this.list.filter(e=>e.checked)
this.form.declareReason = this.checkList.map(v=> v.dictValue).toString()
this.form.reason = this.checkList.map(o=>o.dictName).toString()
},
comfirm() {
if(this.flag) return
if(!this.form.name) {
return this.$u.toast('请输入姓名')
}
if(!this.form.idNumber) {
return this.$u.toast('请输入身份证号')
}
if(this.form.idNumber) {
if (!/^[1-9]\d{5}(19\d{2}|20[0-2]\d)(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\d{3}([0-9xX])$/.test(this.form.idNumber)) {
return this.$u.toast('请输入正确的身份证号')
}
}
if(!this.form.phone) {
return this.$u.toast('请输入手机号')
}
if(!this.form.householdNumber) {
return this.$u.toast('请输入家庭人口数')
}
if(!this.form.areaId) {
return this.$u.toast('请选择所在地区')
}
if(!this.form.address) {
return this.$u.toast('请输入详细地址')
}
if(!this.form.declareReason) {
return this.$u.toast('请选择帮扶原因')
}
if(this.form.declareReason) {
if(this.checkList.length > 2) {
return this.$u.toast('帮扶原因最多选2项')
}
}
if(!this.form.riskDescription) {
return this.$u.toast('请输入返贫致贫风险说明')
}
this.flag = true
this.$http.post('/app/apphelpdeclarationinfo/addByEw',{...this.form}).then((res) => {
if(res.code ==0) {
this.$u.toast('提交成功')
uni.$emit('update')
setTimeout(() => {
uni.navigateBack()
},600)
}
})
}
},
}
</script>
<style lang="scss" scoped>
::v-deep uni-page-body {
height: 100%;
font-size: 32px !important;
}
.add {
.tips {
padding: 32px;
box-sizing: border-box;
background: #FFF8F3;
color: #FF883C;
font-size: 30px;
}
.user_info,
.family_info {
background: #FFF;
.item {
display: flex;
padding: 32px;
box-sizing: border-box;
border-bottom: 1px solid #DDDDDD;
.left {
width: 240px;
span:first-child {
color: #FF4466;
}
}
.right__text {
width: calc(100% - 240px);
text-align: right;
}
.color-999 {
color: #999;
}
.color-333 {
color: #333;
}
}
.item:last-child {
border-bottom: none;
}
.items {
padding: 32px;
box-sizing: border-box;
border-bottom: 1px solid #DDDDDD;
.left {
span:first-child {
color: #FF4466;
}
}
.text {
margin-top: 20px;
}
.textarea {
margin-top: 32px;
}
.tags {
margin-top: 20px;
span {
display: inline-block;
width: 31%;
height: 80px;
line-height: 80px;
text-align: center;
box-sizing: border-box;
border-radius: 16px;
border: 1px solid #CCCCCC;
margin-right: 20px;
margin-bottom: 16px;
}
span:nth-child(3n) {
margin-right: 0;
}
.isCheck {
color: #FFF;
background: #4181FF;
}
}
}
.items:last-child {
border-bottom: none;
}
}
.family_info {
margin-top: 16px;
}
::v-deep .uni-input-wrapper .uni-input-placeholder {
font-size: 28px;
color: #999;
}
.btn {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 112px;
line-height: 112px;
text-align: center;
background: #4181FF;
color: #FFF;
font-size: 34px;
z-index: 999;
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,387 @@
<template>
<div class="details">
<div class="user">
<div class="avatar">{{ data.name && data.name.substring(data.name.length, data.name.length - 2) }}</div>
<div class="right">
<p><span>{{ data.name }}</span>的帮扶申请</p>
<div>{{ data.declareTime }}</div>
</div>
</div>
<div class="event_info">
<div class="content">{{ data.riskDescription }}</div>
<div class="tags">
<span :style="{background: data.status == 0? '#FF883C':data.status == 1? '#1AAAFF': data.status==2? '#FF4466': '#42D784'}">{{ $dict.getLabel('helpDeclarationStatus', data.status) }}</span>
</div>
</div>
<div class="progress_info">
<div class="item">
<label>申报人姓名</label>
<div>{{ data.name }}</div>
</div>
<div class="item">
<label>家庭人口数</label>
<div>{{ data.householdNumber }}</div>
</div>
<div class="item">
<label>联系方式</label>
<div>{{ data.phone }}</div>
</div>
<div class="item">
<label>申报方式</label>
<div>{{ $dict.getLabel('helpDeclarationType',data.declareType) }}</div>
</div>
<div class="item">
<label>身份证号</label>
<div>{{ data.idNumber }}</div>
</div>
<div class="item">
<label>所在地区</label>
<div>{{ data.areaName }}{{ data.address }}</div>
</div>
<div class="items" v-if="data.files && data.files.length">
<p>照片</p>
<div class="picture">
<img :src="item.url" v-for="(item,index) in data.files" :key="index" alt="" @click="preview(data.files, item.url)">
</div>
</div>
</div>
<div class="header-bottom">
<div class="plan">
<div class="nav">
<span>办理进度</span>
<span style="color: #999;"> ({{ $dict.getLabel('helpDeclarationStatus', data.status) }})</span>
</div>
<div class="cards" v-for="(item, index) in data.processList" :key="index">
<div class="cardss">
<div class="cardss-left">
<span>
{{ item.doUsername && item.doUsername.substring(item.doUsername.length, item.doUsername.length - 2) }}
</span>
<img src="./components/1.png" class="avatarIcon" alt="" />
</div>
<div class="cardss-right">
<div class="cardsss-right-top">
<div class="cardssss-right-left">
<div :style="{color: item.declarationStatus == 0? '#FF883C':item.declarationStatus == 1? '#1AAAFF': item.declarationStatus==2? '#FF4466': '#42D784'}" style="font-size: 16px;">
{{ $dict.getLabel('helpDeclarationStatus', item.declarationStatus) }}
</div>
<span>{{ item.doTime }}</span>
</div>
</div>
<div class="cardees-right-bottom">{{ item.description }}</div>
</div>
<div class="lines"></div>
</div>
<div class="cardes-msg-top" v-if="item.doExplain">{{ item.doExplain }}</div>
<div class="imgs">
<img :src="e.url" alt="" v-for="(e, index) in item.files" :key="index" @click="preview(item.files, e.url)" />
</div>
</div>
</div>
</div>
<div class="fixedBtn" v-if="data.status == 0 || data.status == 1">
<div class="status00">
<div class="columns" @click="toContent(1)">
<span class="hint">转交事件</span>
</div>
<div class="columns" @click="toContent(2)">
<span class="hint">审核处理</span>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
list: [],
data: {},
id: '',
}
},
onLoad(o) {
this.$dict.load('helpDeclarationStatus','helpDeclarationType')
if (o.id) {
this.id = o.id
this.getDetail()
}
},
methods: {
getDetail() {
this.$http.post(`/app/apphelpdeclarationinfo/queryDetailById?id=${this.id}`).then(res => {
if(res.code == 0) {
this.data = res.data
this.list = res.data.reason.split(',')
}
})
},
preview(images, img) {
uni.previewImage({
urls: images.map(v => v.url),
current: img
})
},
// 转交 1 审核处理 2
toContent(status) {
uni.navigateTo({ url: `./result?status=${status}&id=${this.id}` })
},
}
}
</script>
<style lang="scss" scoped>
.details {
.user {
height: 120px;
padding: 26px 30px;
box-sizing: border-box;
display: flex;
background: #FFF;
.avatar {
width: 80px;
height: 80px;
line-height: 80px;
border-radius: 50%;
background: #4E8EEE;
text-align: center;
color: #FFFFFF;
font-size: 28px;
margin-right: 16px;
}
.right {
p {
font-weight: 600;
font-size: 32px;
color: #333333;
}
div {
color: #999999;
font-size: 28px;
margin-top: 8px;
}
}
}
.event_info {
background: #FFFFFF;
padding: 32px;
box-sizing: border-box;
.content {
background: #FFFFFF;
}
.picture {
margin-top: 32px;
img {
width: 220px;
height: 220px;
margin-right: 10px;
}
}
.tags {
margin-top: 20px;
span {
display: inline-block;
margin-right: 16px;
padding: 4px 8px;
box-sizing: border-box;
border-radius: 8px;
color: #FFF;
// margin-bottom: 16px;
}
}
}
.progress_info {
background: #FFF;
.item {
padding: 32px;
box-sizing: border-box;
display: flex;
justify-content: space-between;
border-top: 1px solid #DDDDDD;
label {
color: #999999;
}
}
.item:first-child {
border-top: none;
}
.items {
padding: 32px;
box-sizing: border-box;
border-top: 1px solid #DDDDDD;
p {
color: #999999;
}
div {
margin-top: 32px;
}
.picture {
img {
width: 200px;
height: 200px;
margin-right: 10px;
}
}
}
.status0 {
color: #FF883C
}
.status1 {
color: #1AAAFF
}
.status2 {
color: #42D784
}
.status3 {
color: #FF4466
}
}
.header-bottom {
padding-bottom: 80px;
background: #FFF;
margin-top: 16px;
.plan {
padding: 0 32px;
.nav {
padding: 26px 0;
}
.cards {
position: relative;
padding-bottom: 80px;
.cardss {
display: flex;
justify-content: space-between;
.cardss-left {
position: relative;
width: 80px;
height: 80px;
text-align: center;
line-height: 80px;
color: #fff;
background: #197df0;
border: 1px solid #dddddd;
border-radius: 50%;
font-size: 28px;
z-index: 9;
.avatarIcon {
position: absolute;
bottom: 0;
right: 0;
width: 38px;
height: 38px;
}
}
.cardss-right {
width: calc(100% - 110px);
.cardsss-right-top {
.cardssss-right-left {
display: flex;
justify-content: space-between;
}
.cardssss-right-left-bottom {
margin-top: 10px;
font-size: 28px;
color: #666666;
}
}
.cardees-right-right {
font-size: 28px;
color: #999999;
}
}
.lines {
position: absolute;
top: 0;
left: 40px;
width: 4px;
height: 100%;
background: #eeeeee;
}
}
.cardes-msg-top {
font-size: 28px;
color: #343d65;
margin-top: 10px;
margin-left: 110px;
}
.imgs {
margin-top: 10px;
margin-left: 110px;
img {
width: 180px;
height: 180px;
border-radius: 4px;
margin-right: 10px;
}
img:nth-child(3n) {
margin-right: 0;
}
}
}
.cards:last-child {
.lines {
width: 0;
height: 0;
}
}
}
}
.fixedBtn {
background: #fff;
position: fixed;
bottom: 0;
width: 100%;
box-sizing: border-box;
z-index: 999;
.status00 {
display: flex;
.columns {
display: flex;
flex-direction: column;
align-items: center;
flex: 1;
padding: 28px 0;
border-top: 1px solid #ddd;
.hint {
font-size: 32px;
color: #333;
}
}
.columns:last-child {
border-left: 1px solid #ddd;
background: #3975c6;
.hint {
font-size: 32px;
color: #FFF;
}
}
}
}
}
</style>

View File

@@ -0,0 +1,235 @@
<template>
<div class="result" showPage='false'>
<div class="type">
<div class="left">
<span>*</span>
<span v-if="status == 1">转交给</span>
<span v-if="status == 2">处理结果</span>
</div>
<div class="right">
<div style="display: flex" v-if="status == 1">
<AiPagePicker type="sysUser" @select="handlePartySelect" single :isFourParty="true" action="/app/wxcp/wxuser/list?status=1">
<AiMore v-model="doUsername" placeholder="请选择"/>
</AiPagePicker>
</div>
<div class="check_box" v-if="status == 2">
<div class="check-item" :class="auditStatus == '1' ? 'check-active' : '' " @click="auditStatus='1'">通过审核<img src="./components/img/check-icon.png" alt=""></div>
<div class="check-item" :class="auditStatus == '0' ? 'check-active' : '' " @click="auditStatus='0'">驳回申请<img src="./components/img/check-icon.png" alt=""></div>
</div>
</div>
</div>
<div class="remark">
<div class="top">
<span>*</span><span>办理意见</span>
</div>
<div class="bottom">
<u-input type="textarea" v-model="description" placeholder="请写下你的办理意见" maxlength="100" height="200" />
</div>
</div>
<div class="picture">
<div class="top">
<span style="margin-right: 8px"></span><span>图片上传<span style="color: #999;font-size:14px;">(最多9张)</span></span>
</div>
<div class="bottom">
<AiUploader :def.sync="files" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
</div>
</div>
<div class="btn" @click="submit">提交</div>
</div>
</template>
<script>
export default {
data() {
return {
description: '',
status: '',
files: [],
showPage: false,
id:'',
doUsername: '',
selectUser: {},
auditStatus: '',
wxUserId: '',
}
},
onLoad(o) {
this.$dict.load('fpRiskPersonOperation1','fpRiskPersonOperation2','fpRiskType').then(()=>{
this.status = o.status
this.id = o.id
this.showPage = true
})
},
methods: {
// 人员组件选择转交对象
handlePartySelect(e) {
console.log(e);
this.wxUserId = e[0].id
this.doUsername = e[0].name
},
submit() {
if (this.status == 1) {
if(!this.doUsername) {
return this.$u.toast('请选择转交对象')
}
}
if (this.status == 2) {
if(!this.auditStatus) {
return this.$u.toast('请选择处理结果')
}
}
if (!this.description) {
return this.$u.toast('请输入办理意见')
}
let url = ''
let form = {}
if (this.status == 1) {
form = {
doUsername: this.doUsername,
description: this.description,
files: this.files,
declarationId: this.id,
wxUserId: this.wxUserId,
}
url = '/app/apphelpdeclarationinfo/forward'
}
if (this.status == 2) {
form = {
auditStatus: this.auditStatus,
description: this.description,
files: this.files,
declarationId: this.id,
}
url = '/app/apphelpdeclarationinfo/audit'
}
this.$http.post(url,form).then(res => {
if (res.code == 0) {
this.$u.toast('提交成功')
uni.$emit('update')
setTimeout(() => {
uni.navigateBack({delta: 2})
},600)
}
})
}
},
onShow() {
document.title = this.status == 1? "转交": "审核处理"
}
}
</script>
<style lang="scss" scoped>
.result {
padding-bottom: 112px;
::v-deep .ai-uploader .fileList .default {
width: 160px;
height: 160px;
}
.type {
height: 112px;
line-height: 112px;
background: #FFF;
font-size: 32px;
display: flex;
justify-content: space-between;
padding: 0 32px;
box-sizing: border-box;
.left {
span:first-child {
color: #FF4466;
}
span:last-child {
color: #333333;
}
}
.right {
align-self: center;
text-align: right;
.check_box {
.check-item {
display: inline-block;
width: 150px;
height: 60px;
line-height: 64px;
text-align: center;
background: #F5F5F5;
border-radius: 4px;
font-size: 30px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333;
position: relative;
img {
display: none;
}
}
.check-item:nth-of-type(1) {
margin-right: 36px;
}
.check-active {
background: #E7F1FE;
color: #1174FE;
img {
display: block;
position: absolute;
bottom: 0;
right: 0;
width: 48px;
height: 48px;
}
}
}
}
}
.remark,
.picture {
box-sizing: border-box;
margin-top: 16px;
background: #FFF;
padding: 0 32px;
font-size: 32px;
.top {
padding-top: 20px;
span:first-child {
color: #FF4466;
}
span:last-child {
color: #333333;
}
}
.bottom {
padding: 30px 0;
}
}
.btn {
height: 112px;
line-height: 112px;
text-align: center;
background: #3192F4;
color: #FFF;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
font-size: 32px;
}
}
</style>