From dad957f2d33ba871beeba251e7c51c1e7bb2b1ab Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期四, 02 六月 2022 10:46:33 +0800 Subject: [PATCH] 'lct; --- src/views/doublePreventAction/riskLevelManage/analyseUnit/index.vue | 26 +++++++++----------------- 1 files changed, 9 insertions(+), 17 deletions(-) diff --git a/src/views/doublePreventAction/riskLevelManage/analyseUnit/index.vue b/src/views/doublePreventAction/riskLevelManage/analyseUnit/index.vue index a2ddbbb..57b9f9b 100644 --- a/src/views/doublePreventAction/riskLevelManage/analyseUnit/index.vue +++ b/src/views/doublePreventAction/riskLevelManage/analyseUnit/index.vue @@ -30,6 +30,7 @@ </div> <el-button class="filter-item" style="margin-left: 10px;margin-top: 10px" type="primary" icon="el-icon-refresh" @click="refreshHandle">搜索</el-button> <el-button class="filter-item" style="margin-left: 10px;margin-top: 10px" type="primary" icon="el-icon-plus" @click="showAnalyseUnitForm('','新增')">新增</el-button> + <el-button class="filter-item" style="margin-left: 10px;margin-top: 10px" type="primary" @click="showDepartmentChart()">图表</el-button> </div> <div class="table_content"> <el-table @@ -82,23 +83,14 @@ <el-dialog :title="title" :visible.sync="analyseUnitVisible" :modal-append-to-body="false" :close-on-click-modal="false" width="600px"> <el-form ref="analyseUnitForm" :rules="analyseUnitFormRules" :model="analyseUnitForm" label-position="right" label-width="165px"> <el-form-item label="责任部门" prop="hazardDep"> - <el-row> - <el-col :span="21"> - <el-select v-model="analyseUnitForm.hazardDep" value-key="item" class="analyseUnit_input" @change="departmentChange" @clear="departmentClear"> - <el-option - v-for="item in departmentList" - :key="item.id" - :value="item" - :label="item.department" - ></el-option> - </el-select> - </el-col> - <el-col :span="3"> - <img src="../../../../assets/map.png" class="image" @click="showDepartmentChart"></img> - </el-col> - </el-row> - - + <el-select v-model="analyseUnitForm.hazardDep" value-key="item" class="analyseUnit_input" @change="departmentChange" @clear="departmentClear"> + <el-option + v-for="item in departmentList" + :key="item.id" + :value="item" + :label="item.department" + ></el-option> + </el-select> </el-form-item> <el-form-item label="责任人" prop="hazardLiablePerson"> <el-select v-model="analyseUnitForm.hazardLiablePerson" value-key="item" class="analyseUnit_input"@change="personChange" @clear="personClear" > -- Gitblit v1.9.2