增加全厂组织架构图上传
This commit is contained in:
parent
ebf34b7f10
commit
6959ac4846
|
@ -25,13 +25,13 @@
|
|||
@change="handleChangeOneType(item.value)" />
|
||||
</el-checkbox-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="二级类目" prop="categoryTwo" v-if="ruleForm.category">
|
||||
<el-form-item label="二级类目" prop="categoryTwo" v-if="ruleForm.category && ruleForm.category != '全厂组织架构'">
|
||||
<el-checkbox-group v-model="categoryTwoSelectedValue">
|
||||
<!-- 法律法规文件 -->
|
||||
<el-checkbox v-if="ruleForm.category == '法律法规文件'" v-for="item in laws_regulations"
|
||||
:label="item.label" :value="item.value" @change="handleChangeTwoType(item.value)" />
|
||||
<!-- 组织架构图 -->
|
||||
<el-checkbox v-if="ruleForm.category == '组织架构'" v-for="item in busDependencyData"
|
||||
<el-checkbox v-if="ruleForm.category == '属地组织架构'" v-for="item in busDependencyData"
|
||||
:label="item.dependencyName" :value="item.id"
|
||||
@change="handleChangeTwoType(item.id)" />
|
||||
<!-- 高压培训材料 -->
|
||||
|
@ -52,7 +52,7 @@
|
|||
:label="item.label" :value="item.value" @change="handleChangeTwoType(item.value)" />
|
||||
</el-checkbox-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="组织架构图" :prop="ruleForm.category == '组织架构' ? 'organPic' : null" v-show="ruleForm.category == '组织架构'">
|
||||
<el-form-item label="组织架构图" :prop="(ruleForm.category == '全厂组织架构' || ruleForm.category == '属地组织架构') ? 'organPic' : null" v-show="ruleForm.category == '全厂组织架构' || ruleForm.category == '属地组织架构'">
|
||||
<myFileUpload ref="organPicRef" @set-form-file="handleSetorganPic" />
|
||||
</el-form-item>
|
||||
<el-form-item label="正文内容" prop="mainText">
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-row" v-if="activeOne != '全部'">
|
||||
<div class="table-row" v-if="activeOne != '全部' && activeOne !='全厂组织架构'">
|
||||
<div class="left-cell">二级类目</div>
|
||||
<div class="right-cell">
|
||||
<div class="right-content">
|
||||
|
@ -37,7 +37,7 @@
|
|||
v-for="dict in laws_regulations" :key="dict.value" link
|
||||
@click="handleChoseTwoType(dict.value)"> {{ dict.label }} </el-button>
|
||||
<!-- 组织架构类型 -->
|
||||
<el-button v-if="activeOne == '组织架构'"
|
||||
<el-button v-if="activeOne == '属地组织架构'"
|
||||
:class="activeTwo === dict.id ? 'activeOption' : 'right-item'"
|
||||
v-for="dict in busDependencyData" :key="dict.id" link
|
||||
@click="handleChoseTwoType(dict.id)"> {{ dict.dependencyName }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user