疗休养
This commit is contained in:
@@ -1,60 +0,0 @@
|
|||||||
<!--#
|
|
||||||
layout("/layouts/platform.html"){
|
|
||||||
#-->
|
|
||||||
|
|
||||||
<div id="app" v-cloak>
|
|
||||||
<guava>
|
|
||||||
|
|
||||||
</guava>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
new Vue({
|
|
||||||
el: '#app',
|
|
||||||
mixins: [initTableMixins],
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
modifyConfig: {},
|
|
||||||
categoryOptions: [],
|
|
||||||
pageForm: {
|
|
||||||
theRapyRecuperationType: 0,
|
|
||||||
lineUnionType: 3,
|
|
||||||
unionId: "${@shiro.getPrincipalProperty('union').getId()}",
|
|
||||||
year: null
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
pageData() {
|
|
||||||
$.post('/platform/theRapyRecuperation/line/enroll/pageData', this.pageForm).then(res => {
|
|
||||||
if (res.code === 0) {
|
|
||||||
this.tableData = res.data.list;
|
|
||||||
this.pageForm.totalCount = res.data.totalCount;
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 获取配置
|
|
||||||
async getConfig() {
|
|
||||||
const res = await $.post('/platform/theRapyRecuperation/TheRapyConfig/findOne')
|
|
||||||
if (res.code === 0) {
|
|
||||||
this.modifyConfig = res.data
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 获取分类 (线路、旅行社)
|
|
||||||
getCategory() {
|
|
||||||
getEnumOptions('TheRapyRecuperationType').then(res => {
|
|
||||||
this.categoryOptions = res.filter(item => item.value !== 2)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
created() {
|
|
||||||
this.pageData();
|
|
||||||
this.getConfig();
|
|
||||||
this.getCategory();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!--#
|
|
||||||
}
|
|
||||||
#-->
|
|
||||||
Reference in New Issue
Block a user