103 lines
3.2 KiB
HTML
103 lines
3.2 KiB
HTML
<!--#
|
|
layout("/mobile/platform.html"){
|
|
#-->
|
|
<style>
|
|
.van-cell {
|
|
font-size: 12px !important;
|
|
}
|
|
</style>
|
|
<div id="app" v-cloak>
|
|
<van-nav-bar
|
|
title="提案详情"
|
|
left-arrow
|
|
placeholder
|
|
fixed
|
|
@click-left="history.back()"
|
|
></van-nav-bar>
|
|
<div style="padding-top: 20px">
|
|
<van-collapse v-model="activeNames">
|
|
<van-collapse-item title="提案基本信息" name="1">
|
|
<van-cell title="提案名称">
|
|
<div>
|
|
{{tableData.proposalName}}
|
|
</div>
|
|
</van-cell>
|
|
<van-cell title="提案人">
|
|
<div>
|
|
{{tableData.createUserName}}
|
|
</div>
|
|
</van-cell>
|
|
<van-cell title="所在部门">
|
|
<div>
|
|
{{tableData.unionName}}
|
|
</div>
|
|
</van-cell>
|
|
<van-cell title="提案类型">
|
|
<div>
|
|
{{tableData.typeName}}
|
|
</div>
|
|
</van-cell>
|
|
<van-cell title="立案结果">
|
|
<span>{{tableData.resultName ? tableData.resultName : '暂无'}}</span>
|
|
</van-cell>
|
|
<van-cell title="附议人">
|
|
<div>
|
|
<span v-if="!tableData.seconded">暂无</span>
|
|
<span v-else v-for="(item,index) in tableData.seconded">
|
|
{{ item.username }}
|
|
{{ index + 1 === tableData.seconded.length ? '' : '、' }}
|
|
</span>
|
|
</div>
|
|
</van-cell>
|
|
<van-collapse v-model="ayActiveNames" border="false">
|
|
<van-collapse-item title="案由" name="1">
|
|
<div v-html="tableData.brief"></div>
|
|
</van-collapse-item>
|
|
</van-collapse>
|
|
|
|
<van-collapse v-model="jyActiveNames" border="false">
|
|
<van-collapse-item title="建议或措施" name="1">
|
|
<div v-html="tableData.measures"></div>
|
|
</van-collapse-item>
|
|
</van-collapse>
|
|
</van-collapse-item>
|
|
</van-collapse>
|
|
</div>
|
|
|
|
</div>
|
|
<script>
|
|
|
|
new Vue({
|
|
el: '#app',
|
|
data() {
|
|
return {
|
|
ayActiveNames: [],
|
|
jyActiveNames: [],
|
|
activeNames: ['1'],
|
|
tableData: {}
|
|
}
|
|
},
|
|
methods: {
|
|
checkParams() {
|
|
if (GetQueryString('id') === '') {
|
|
vant.Toast.fail('参数不合法');
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
},
|
|
created() {
|
|
if (this.checkParams()) {
|
|
$.post('/platform/mobile/proposal/compose/findOne', {id: GetQueryString('id')}).then(res => {
|
|
if (res.code === 0) {
|
|
this.tableData = res.data
|
|
}
|
|
})
|
|
}
|
|
}
|
|
})
|
|
</script>
|
|
<!--#
|
|
}
|
|
#-->
|