This commit is contained in:
Paidax
2024-10-10 15:34:42 +08:00
parent f95a5c0af2
commit 4754affaa8
7 changed files with 131 additions and 16 deletions
@@ -139,6 +139,7 @@
Vue.component('text-editor', httpVueLoader('/components/plugins/textEditor.vue'))
Vue.component('border-table', httpVueLoader('/components/plugins/BorderTable.vue'))
Vue.component('image-upload', httpVueLoader('/components/plugins/ImageUpload.vue'))
Vue.component('custom-message', httpVueLoader('/components/plugins/CustomMessage.vue'))
</script>
@@ -31,7 +31,7 @@ layout("/layouts/platform.html"){
</template>
<el-form :model="formData" :rules="formRules" label-width="150px" ref="form">
<vi-title title="职工建家申报信息"></vi-title>
<vi-title title="教工小家申报信息"></vi-title>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="填报人" prop="username">
@@ -77,7 +77,7 @@ layout("/layouts/platform.html"){
</el-col>
</el-row>
<el-form-item label="职工建家建设方案" prop="constructionPlan">
<el-form-item label="教工小家建设方案" prop="constructionPlan">
<text-editor v-model="formData.constructionPlan"></text-editor>
</el-form-item>
</el-form>
@@ -34,7 +34,7 @@ layout("/layouts/platform.html"){
<el-form :model="formData" :rules="formRules" label-width="100px" ref="AddForm">
<!-- <el-divider content-position="left">职工之家申请信息</el-divider>-->
<vi-title title="职工之家申请信息"></vi-title>
<vi-title title="教工小家申请信息"></vi-title>
<el-row :gutter="20">
<el-col :lg="8" :sm="24">
@@ -74,7 +74,7 @@ layout("/layouts/platform.html"){
</el-row>
<!-- <el-divider content-position="left">职工之家详细信息</el-divider>-->
<vi-title title="职工之家详细信息"></vi-title>
<vi-title title="教工小家详细信息"></vi-title>
<el-row :gutter="20">
<el-col :lg="8" :sm="24">
<el-form-item label="创办时间" prop="foundTime">
@@ -109,7 +109,7 @@ layout("/layouts/platform.html"){
</el-row>
<!-- <el-divider content-position="left">职工之家荣誉信息</el-divider>-->
<vi-title title="职工之家荣誉信息"></vi-title>
<vi-title title="教工小家荣誉信息"></vi-title>
<el-row :gutter="20">
<el-col :lg="24" :sm="24">
<el-form-item class="is-required" label="获奖情况" prop="payStandard">
@@ -177,7 +177,7 @@ layout("/layouts/platform.html"){
</el-row>
<!-- <el-divider content-position="left">职工之家材料上传</el-divider>-->
<vi-title title="职工之家材料上传"></vi-title>
<vi-title title="教工小家材料上传"></vi-title>
<el-row gutter="20">
<el-col :lg="24" :sm="24">
<el-form-item required label="图片上传" prop="picFiles">
@@ -355,7 +355,11 @@ display: -webkit-box;
async created() {
this.pageForm.year = new Date().getFullYear() + ""
await this.getLxyHd()
this.ghList = await getUnions()
if ("${@shiro.hasRole('sysadmin')||@shiro.hasRole('A06')}" == true){
this.ghList = await getUnionList()
} else {
this.ghList = await getUnionList("${@shiro.getPrincipalProperty('unit').getUnionid()}")
}
this.pageData()
}
})