253 lines
10 KiB
Vue
253 lines
10 KiB
Vue
<template>
|
|
<div style="padding-bottom: 20px;">
|
|
|
|
|
|
<template name="基本信息">
|
|
<div style="width: 100%;padding: 16px 0;">
|
|
<h2 class="van-doc-demo-block__title" style="font-weight: bolder;color: RGB(8,23,118)">
|
|
子女信息</h2>
|
|
</div>
|
|
<van-cell-group class="info">
|
|
|
|
<van-cell title="子女姓名" :value="viewData.dj_znname"></van-cell>
|
|
<van-cell title="性别" :value="viewData.dj_znsex"></van-cell>
|
|
<van-cell title="出生日期" :value="viewData.dj_znzsny" v-if="viewData.dj_djlx===1"></van-cell>
|
|
<van-cell title="身份证号" :value="viewData.dj_znidcard"></van-cell>
|
|
<van-cell title="正读学校" :value="viewData.dj_jdxx"></van-cell>
|
|
<van-cell title="户籍所在地" :value="viewData.dj_hjszd"></van-cell>
|
|
<van-cell title="拟选学校" :value="viewData.dj_sqxx"></van-cell>
|
|
|
|
<!-- <tamplate v-if="viewData.dj_djlx===3">
|
|
<van-cell title="所在小学" :value="viewData.dj_szxx"></van-cell>
|
|
<van-cell title="学区中学" :value="viewData.dj_djlx"></van-cell>
|
|
<van-cell title="意向学校" :value="viewData.dj_sqxx_name"></van-cell>
|
|
<van-cell title="语文" :value="viewData.dj_qmkfy"></van-cell>
|
|
<van-cell title="数学" :value="viewData.dj_qmkfs"></van-cell>
|
|
<van-cell title="外语" :value="viewData.dj_qmkfw"></van-cell>
|
|
</tamplate>-->
|
|
|
|
<!-- <template>
|
|
<van-cell title="子女出生年月" :value="viewData.dj_znzsny" v-if="viewData.dj_djlx===2"></van-cell>
|
|
<van-cell title="户籍所属辖区" :value="viewData.dj_hjssxq"></van-cell>
|
|
<van-cell title="户籍所属小学" :value="viewData.dj_hjssxx" v-if="viewData.dj_djlx===2"></van-cell>
|
|
<van-cell title="子女户籍所在地" :value="viewData.dj_znhjszd"></van-cell>
|
|
</template>-->
|
|
</van-cell-group>
|
|
<div style="width: 100%;padding: 16px 0;">
|
|
<h2 class="van-doc-demo-block__title" style="font-weight: bolder;color: RGB(8,23,118)">
|
|
教职工信息</h2>
|
|
</div>
|
|
<van-cell-group class="info">
|
|
|
|
<van-cell title="教职工" :value="viewData.jzgname"></van-cell>
|
|
<van-cell title="工号" :value="viewData.dj_gzh"></van-cell>
|
|
<van-cell title="职务、职称" :value="viewData.dj_zw" v-if="viewData.dj_djlx===2"></van-cell>
|
|
<!-- <van-cell title="技术职称" :value="viewData.dj_zc"></van-cell>
|
|
<van-cell title="职称评定时间" :value="viewData.dj_zcsj"></van-cell>
|
|
<van-cell title="行政职级任职时间" :value="viewData.dj_rzsj"></van-cell>
|
|
<van-cell title="省级人才称号" :value="viewData.dj_rcch"></van-cell>
|
|
<van-cell title="获人才称号时间" :value="viewData.dj_rcchsj"></van-cell>
|
|
<van-cell title="荣誉或奖项" :value="viewData.dj_rxjx" v-if="viewData.dj_djlx===3"></van-cell>-->
|
|
<van-cell title="手机号码" :value="viewData.dj_iphone"></van-cell>
|
|
<van-cell title="所在单位" :value="viewData.dj_szdw"></van-cell>
|
|
<van-cell title="用工方式" :value="viewData.dj_ygfs"></van-cell>
|
|
<!-- <tamplate v-if="viewData.dj_djlx===2">
|
|
<van-cell title="教职工户籍所在地" :value="viewData.dj_hjszd"></van-cell>
|
|
<van-cell title="房产证地址" :value="viewData.dj_jtzz"></van-cell>
|
|
</tamplate>-->
|
|
<van-cell title="备注" :value="viewData.dj_bz"></van-cell>
|
|
|
|
<van-field label="户口簿图片" style="flex-flow: column" input-align="left">
|
|
<template #label>
|
|
<div class="mb10">户口簿图片</div>
|
|
</template>
|
|
<template #input>
|
|
<vant-file-upload :files.sync="hkfile" view :del="false"
|
|
v-if="hkfile&&hkfile.length"></vant-file-upload>
|
|
<span v-else>暂无</span>
|
|
</template>
|
|
</van-field>
|
|
|
|
<van-field label="子女出生证图片" style="flex-flow: column" input-align="left">
|
|
<template #label>
|
|
<div class="mb10">子女出生证图片</div>
|
|
</template>
|
|
<template #input>
|
|
<vant-file-upload :files.sync="csfile" view :del="false"
|
|
v-if="csfile&&csfile.length"></vant-file-upload>
|
|
<span v-else>暂无</span>
|
|
</template>
|
|
</van-field>
|
|
|
|
<van-field label="学历学位证或教师资格证" style="flex-flow: column" input-align="left">
|
|
<template #label>
|
|
<div class="mb10">学历学位证或教师资格证</div>
|
|
</template>
|
|
<template #input>
|
|
<vant-file-upload :files.sync="jszgfile" view :del="false"
|
|
v-if="jszgfile&&jszgfile.length"></vant-file-upload>
|
|
<span v-else>暂无</span>
|
|
</template>
|
|
</van-field>
|
|
|
|
<van-field label="聘用合同复印件" style="flex-flow: column" input-align="left">
|
|
<template #label>
|
|
<div class="mb10">聘用合同复印件</div>
|
|
</template>
|
|
<template #input>
|
|
<vant-file-upload :files.sync="pyhtfile" view :del="false"
|
|
v-if="pyhtfile&&pyhtfile.length"></vant-file-upload>
|
|
<span v-else>暂无</span>
|
|
</template>
|
|
</van-field>
|
|
|
|
<!-- <van-field label="房产证或无房证明" style="flex-flow: column" v-if="viewData.dj_djlx===2">
|
|
<template #label>
|
|
<div class="mb10">房产证或无房证明</div>
|
|
</template>
|
|
<template #input>
|
|
<vant-file-upload :files.sync="fcfile" view :del="false"
|
|
v-if="fcfile&&fcfile.length"></vant-file-upload>
|
|
<span v-else>暂无</span>
|
|
</template>
|
|
</van-field>
|
|
|
|
<van-field label="六上期末考分证明" style="flex-flow: column" input-align="left" v-if="viewData.dj_djlx===3">
|
|
<template #label>
|
|
<div class="mb10">六上期末考分证明</div>
|
|
</template>
|
|
<template #input>
|
|
<vant-file-upload :files.sync="qmkffile" view :del="false"
|
|
v-if="qmkffile&&qmkffile.length"></vant-file-upload>
|
|
<span v-else>暂无</span>
|
|
</template>
|
|
</van-field>-->
|
|
</van-cell-group>
|
|
</template>
|
|
|
|
<template name="分工会审核信息" v-if="viewData.dj_fghshr">
|
|
<div style="width: 100%;padding: 16px 0;">
|
|
<h2 class="van-doc-demo-block__title" style="font-weight: bolder;color: RGB(8,23,118)">
|
|
分工会审核信息</h2>
|
|
</div>
|
|
<van-cell-group class="info">
|
|
|
|
<van-cell title="审  核  人"> {{ viewData.dj_fghshr }}</van-cell>
|
|
<van-cell title="审核时间">{{ viewData.dj_fghshsj }}</van-cell>
|
|
<van-cell title="审核意见">{{ viewData.dj_fghshyj }}</van-cell>
|
|
</van-cell-group>
|
|
<van-cell-group class="info">
|
|
</van-cell-group>
|
|
</template>
|
|
|
|
<template name="校工会审核信息" v-if="viewData.dj_xghshr">
|
|
<div style="width: 100%;padding: 16px 0;">
|
|
<h2 class="van-doc-demo-block__title" style="font-weight: bolder;color: RGB(8,23,118)">
|
|
校工会审核信息</h2>
|
|
</div>
|
|
<van-cell-group class="info">
|
|
<van-cell title="审  核  人"> {{ viewData.dj_xghshr }}</van-cell>
|
|
<van-cell title="审核时间">{{ viewData.dj_xghshsj }}</van-cell>
|
|
<van-cell title="审核意见">{{ viewData.dj_xghshyj }}</van-cell>
|
|
</van-cell-group>
|
|
<van-cell-group class="info">
|
|
</van-cell-group>
|
|
</template>
|
|
|
|
<template name="备案信息" v-if="viewData.dj_bashr">
|
|
<div style="width: 100%;padding: 16px 0;">
|
|
<h2 class="van-doc-demo-block__title" style="font-weight: bolder;color: RGB(8,23,118)">
|
|
备案信息</h2>
|
|
</div>
|
|
<van-cell-group class="info">
|
|
<van-cell title="备  案  人"> {{ viewData.dj_bashr }}</van-cell>
|
|
<van-cell title="备案时间">{{ viewData.dj_bashsj }}</van-cell>
|
|
<van-cell title="备案信息">{{ viewData.dj_sfrx ? '继续等待' : '放弃名额' }}</van-cell>
|
|
<van-cell title="备注">{{ viewData.dj_babz }}</van-cell>
|
|
</van-cell-group>
|
|
<van-cell-group class="info">
|
|
</van-cell-group>
|
|
</template>
|
|
|
|
|
|
<template v-if="handle">
|
|
<div style="width: 100%;padding: 16px 0;">
|
|
<h2 class="van-doc-demo-block__title" style="font-weight: bolder;color: RGB(8,23,118)">
|
|
{{ title }}</h2>
|
|
</div>
|
|
<slot name="handle"></slot>
|
|
</template>
|
|
|
|
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
module.exports = {
|
|
data() {
|
|
return {
|
|
fileList: [],
|
|
activeName: 1,
|
|
viewData: {},
|
|
csfile: [],
|
|
hkfile: [],
|
|
fcfile: [],
|
|
qmkffile: [],
|
|
jszgfile: [],
|
|
pyhtfile: [],
|
|
}
|
|
},
|
|
props: {
|
|
handle: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
title: {
|
|
type: String,
|
|
default: '审核'
|
|
},
|
|
dj_id: String
|
|
},
|
|
components: {
|
|
'vant-file-upload': httpVueLoader('/components/plugins/VantFileUpload.vue')
|
|
},
|
|
methods: {
|
|
async getFile() {
|
|
const res = await $.get('/platform/zgfw/rxdjxx/findfjList', {id: this.dj_id})
|
|
if (res.code === 0) {
|
|
this.csfile = res.data.filter(v => v.bz === "csfile")
|
|
this.hkfile = res.data.filter(v => v.bz === "hkfile")
|
|
this.fcfile = res.data.filter(v => v.bz === "fcfile")
|
|
this.qmkffile = res.data.filter(v => v.bz === "qmkffile")
|
|
this.pyhtfile = res.data.filter(v => v.bz === "pyhtfile")
|
|
this.jszgfile = res.data.filter(v => v.bz === "jszgfile")
|
|
}
|
|
|
|
},
|
|
async openView(dj_id) {
|
|
const {data} = await $.get('/platform/zgfw/rxdjxx/findRxdj', {dj_id: dj_id})
|
|
this.viewData = data
|
|
await this.getFile()
|
|
}
|
|
},
|
|
async created() {
|
|
await this.openView(this.dj_id)
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
.van-doc-demo-block__title {
|
|
margin: 0;
|
|
padding: 0 16px;
|
|
color: #1867b0;
|
|
font-weight: normal;
|
|
font-size: 14px;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.van-field__label {
|
|
width: 8.2em !important;
|
|
}
|
|
|
|
</style> |