first commit
This commit is contained in:
@@ -0,0 +1,323 @@
|
||||
<!--#
|
||||
layout("/mobile/platform.html"){
|
||||
#-->
|
||||
|
||||
<!---->
|
||||
<!--出纳-->
|
||||
<style>
|
||||
.van-field__control {
|
||||
color: #8b8f95;
|
||||
}
|
||||
|
||||
.van-field__label {
|
||||
color: #39acff
|
||||
}
|
||||
|
||||
.clearqmbtn {
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
.van-nav-bar {
|
||||
background-color: white;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
|
||||
html, body {
|
||||
background-color: rgb(250, 250, 250);
|
||||
}
|
||||
|
||||
.van-card__title {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
.van-cell::after {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.van-grid-item__content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.center {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.white_icon {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
|
||||
.van-action-sheet__cancel {
|
||||
color: #03A9F4;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<div id="app" v-cloak>
|
||||
|
||||
<van-nav-bar title="重大医疗补助出纳" left-arrow placeholder fixed @click-left="history.back()"></van-nav-bar>
|
||||
<van-row style="margin-top: 5px;background-color: white;min-height: calc(100vh - 100px)">
|
||||
<div style="padding-top: 20px">
|
||||
<van-collapse v-model="Basic_Information" accordion>
|
||||
<van-collapse-item title="个人基本信息" name="1">
|
||||
<van-cell title="工  号" :value="zjdata.loginname"></van-cell>
|
||||
|
||||
<van-cell title="姓  名" :value="zjdata.user_name"></van-cell>
|
||||
|
||||
<van-cell title="性  别" :value="zjdata.sex"></van-cell>
|
||||
|
||||
<van-cell title="年龄(岁)" :value="zjdata.user_age"></van-cell>
|
||||
|
||||
<van-cell title="部  门" :value="zjdata.unit_name"></van-cell>
|
||||
|
||||
<van-cell title="在职状态" :value="zjdata.zzzt"></van-cell>
|
||||
|
||||
<van-cell title="申请时间" :value="zjdata.apply_time"></van-cell>
|
||||
|
||||
<van-cell title="联系电话" :value="zjdata.mobile"></van-cell>
|
||||
|
||||
<van-cell title="疾病诊断" :value="zjdata.disease_diagnosis"></van-cell>
|
||||
|
||||
<van-cell title="住院医疗总费用(元)" :value="zjdata.already_total_medical_expenses"></van-cell>
|
||||
|
||||
<van-cell title="统筹基金支付数(元)" :value="zjdata.already_overall_fund_payment"></van-cell>
|
||||
|
||||
<van-cell title="学校医疗补助已补助金额(元)" :value="zjdata.already_subsidized"></van-cell>
|
||||
|
||||
<van-cell title="发票号码" :value="zjdata.invoice_num"></van-cell>
|
||||
|
||||
</van-collapse-item>
|
||||
<van-collapse-item title="附件" name="2">
|
||||
<van-field name="uploader" label="发 票">
|
||||
<template #input>
|
||||
<van-image @click="getImg(zjdata.files_invoice)" v-for="item in zjdata.files_invoice"
|
||||
width="100" height="100"
|
||||
:src="FILE_DOMAIN+item.filepath">
|
||||
<van-image-preview v-model="showImagePreview"
|
||||
:images="ImagePreview"></van-image-preview>
|
||||
</van-image>
|
||||
</template>
|
||||
</van-field>
|
||||
|
||||
<van-field name="uploader" label="诊断书">
|
||||
<template #input>
|
||||
<van-image @click="getImg(zjdata.files_medical_certificate)"
|
||||
v-for="item in zjdata.files_medical_certificate" width="100" height="100"
|
||||
:src="FILE_DOMAIN+item.filepath">
|
||||
<van-image-preview v-model="showImagePreview"
|
||||
:images="ImagePreview"></van-image-preview>
|
||||
</van-image>
|
||||
</template>
|
||||
</van-field>
|
||||
|
||||
<van-field name="uploader" label="医保结算单">
|
||||
<template #input>
|
||||
<van-image @click="getImg(zjdata.files_medicare_settlement)"
|
||||
v-for="item in zjdata.files_medicare_settlement" width="100" height="100"
|
||||
:src="FILE_DOMAIN+item.filepath">
|
||||
<van-image-preview v-model="showImagePreview"
|
||||
:images="ImagePreview"></van-image-preview>
|
||||
</van-image>
|
||||
</template>
|
||||
</van-field>
|
||||
|
||||
<van-field name="uploader" label="出院小结">
|
||||
<template #input>
|
||||
<van-image @click="getImg(zjdata.files_summary_discharge)"
|
||||
v-for="item in zjdata.files_summary_discharge" width="100" height="100"
|
||||
:src="FILE_DOMAIN+item.filepath">
|
||||
<van-image-preview v-model="showImagePreview"
|
||||
:images="ImagePreview"></van-image-preview>
|
||||
</van-image>
|
||||
</template>
|
||||
</van-field>
|
||||
|
||||
</van-collapse-item>
|
||||
<van-collapse-item title="工会会计审核信息">
|
||||
<van-cell title="审核人员" :value="zjdata.ar_username"></van-cell>
|
||||
|
||||
<van-cell title="审核时间" :value="zjdata.accountant_review_time"></van-cell>
|
||||
|
||||
<van-cell title="补助金额" :value="zjdata.total_grant"></van-cell>
|
||||
|
||||
<van-cell title="审核意见" :value="zjdata.accountant_review_idea"></van-cell>
|
||||
|
||||
<van-cell title="签  字">
|
||||
<div>
|
||||
<img style="width: 100%" :src="zjdata.ar_s"/>
|
||||
</div>
|
||||
<div v-if="zjdata.ar_s==null">
|
||||
暂无
|
||||
</div>
|
||||
</van-cell>
|
||||
</van-collapse-item>
|
||||
<van-collapse-item title="工会委员会副主席审核信息">
|
||||
<van-cell title="审核人员" :value="zjdata.vcr_username"></van-cell>
|
||||
|
||||
<van-cell title="审核时间" :value="zjdata.vice_chairman_review_time"></van-cell>
|
||||
|
||||
<van-cell title="审核意见" :value="zjdata.vice_chairman_review_idea"></van-cell>
|
||||
|
||||
<van-cell title="签  字">
|
||||
<div>
|
||||
<img style="width: 100%" :src="zjdata.vcr_s"/>
|
||||
</div>
|
||||
<div v-if="zjdata.vcr_s==null">
|
||||
暂无
|
||||
</div>
|
||||
</van-cell>
|
||||
</van-collapse-item>
|
||||
<van-collapse-item title="工会委员会主席审核信息">
|
||||
<van-cell title="审核人员" :value="zjdata.chr_username"></van-cell>
|
||||
|
||||
<van-cell title="审核时间" :value="zjdata.chairman_review_time"></van-cell>
|
||||
|
||||
<van-cell title="审核意见" :value="zjdata.chairman_review_idea"></van-cell>
|
||||
<van-cell title="签  字">
|
||||
<div>
|
||||
<img style="width: 100%" :src="zjdata.cr_s"/>
|
||||
</div>
|
||||
<div v-if="zjdata.cr_s==null">
|
||||
暂无
|
||||
</div>
|
||||
</van-cell>
|
||||
</van-collapse-item>
|
||||
</van-collapse>
|
||||
|
||||
<van-form>
|
||||
<van-field
|
||||
readonly
|
||||
value="${@shiro.getPrincipalProperty('username')}"
|
||||
name="sqr"
|
||||
label="审核人"
|
||||
></van-field>
|
||||
|
||||
<van-field v-model="formData.time" label="付款时间"></van-field>
|
||||
|
||||
<van-field
|
||||
v-model="formData.idea"
|
||||
rows="1"
|
||||
autosize
|
||||
label="审核意见"
|
||||
type="textarea"
|
||||
placeholder="请输入审核意见"
|
||||
></van-field>
|
||||
|
||||
<van-row gutter="20" style="margin-top: 30px;padding: 0 25px">
|
||||
|
||||
<van-button round type="info" size="large" @click="openDialog"> 通过</van-button>
|
||||
|
||||
</van-row>
|
||||
|
||||
<van-dialog v-model="showSign" title="请签字确认" show-cancel-button @confirm="onSubmit"
|
||||
@close="$refs.signature.reset()">
|
||||
<mobile-sign ref="signature" :my_sign.sync="sign"></mobile-sign>
|
||||
</van-dialog>
|
||||
|
||||
</van-form>
|
||||
|
||||
|
||||
</div>
|
||||
</van-row>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
new Vue({
|
||||
el: '#app',
|
||||
data() {
|
||||
return {
|
||||
Basic_Information: [1],
|
||||
showSign: false,
|
||||
sign: "",
|
||||
zjdata: {},
|
||||
ImagePreview: [],
|
||||
formData: {},
|
||||
showImagePreview: false,
|
||||
}
|
||||
},
|
||||
components: {
|
||||
'mobile-sign': httpVueLoader('/components/sign/mobileSign.vue'),
|
||||
},
|
||||
methods: {
|
||||
getImg(images) {
|
||||
this.showImagePreview = true
|
||||
images = images.map(v => {
|
||||
return FILE_DOMAIN + v.filepath
|
||||
})
|
||||
this.ImagePreview = images
|
||||
},
|
||||
openDialog() {
|
||||
this.showSign = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs.signature.getMySign()
|
||||
})
|
||||
$('body').on('touchmove', '.slidebg', function () {
|
||||
$(document.body).on('touchmove.prevUC', function (e) {
|
||||
e.preventDefault();
|
||||
});
|
||||
});
|
||||
$('body').on('touchend', '.slidebg', function () {
|
||||
$(document.body).off('touchmove.prevUC');
|
||||
});
|
||||
},
|
||||
|
||||
onSubmit() {
|
||||
this.$refs.signature.submitSign()
|
||||
if (!this.sign) {
|
||||
this.$toast('请签名再提交')
|
||||
return
|
||||
}
|
||||
$.post("/mobile/medicalAid/serious/addDo", {
|
||||
time: this.formData.time,
|
||||
sign: this.sign,
|
||||
c_idea: this.formData.idea,
|
||||
state: this.zjdata.state_id,
|
||||
id: GetQueryString('id')
|
||||
}, (res) => {
|
||||
if (res.code === 0) {
|
||||
this.$toast.success('审核成功');
|
||||
setTimeout(() => {
|
||||
location.href = '/mobile/medicalAid/serious'
|
||||
}, 1000)
|
||||
|
||||
} else {
|
||||
this.$toast.fail('审核失败');
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
async getData() {
|
||||
const id = GetQueryString('id')
|
||||
this.formData = {
|
||||
time: moment().format('YYYY-MM-DD'),
|
||||
|
||||
}
|
||||
$.post("/platform/fw/medicalAid/common/findOne", {id: id}).then(res => {
|
||||
const {code, data} = res
|
||||
if (code === 0) {
|
||||
this.zjdata = res.data
|
||||
medicalAid.toFormData(data)
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
async created() {
|
||||
this.getData();
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<!--#
|
||||
}
|
||||
#-->
|
||||
Reference in New Issue
Block a user