| | |
| | | prop="depid" |
| | | :label="$t('userManage.userInfoObj.depName')" |
| | | > |
| | | <el-cascader |
| | | <el-select |
| | | :popper-append-to-body="false" |
| | | v-model="queryForm.depName" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | :value="queryForm.depid" |
| | | :label="queryForm.depName" |
| | | style=" height:auto" |
| | | > |
| | | <el-tree |
| | | ref="tree" |
| | | :data="treeOptions" |
| | | |
| | | node-key="id" |
| | | :props="props" |
| | | @node-click="handleNodeClickto" |
| | | /> |
| | | </el-option> |
| | | </el-select> |
| | | |
| | | <!-- <el-cascader |
| | | v-model="queryForm.depid" |
| | | :options="treeOptions" |
| | | filterable |
| | |
| | | emitPath: false, |
| | | }" |
| | | > |
| | | </el-cascader> |
| | | </el-cascader> --> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | {{ $t('operatManage.ELM.reset') }} |
| | | </el-button> |
| | | </el-form-item> |
| | | <br /> |
| | | |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.insert" |
| | |
| | | <el-table |
| | | :data="tableData" |
| | | border |
| | | style="width: 100%" |
| | | style="width: 100%;overflow: auto;height: 500px;" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column |
| | |
| | | >拒批</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | align="center" |
| | | prop="bak" |
| | | width="200px" |
| | | :label="$t('userManage.userInfoObj.bak')" |
| | | /> |
| | | <!-- <el-table-column |
| | | /> --> |
| | | <el-table-column |
| | | :label="$t('common.operate')" |
| | | width="80px" |
| | | fixed="right" |
| | | v-if="menuStatus.update" |
| | | > |
| | | <template slot-scope="scope"> |
| | | |
| | | |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | |
| | | size="small" |
| | | >{{ $t('common.edit') }}</el-button> |
| | | </template> |
| | | </el-table-column> --> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div |
| | | style="margin-top: 25px" |
| | |
| | | } |
| | | }; |
| | | return { |
| | | props: { |
| | | label: 'name', |
| | | value: 'id', |
| | | children: 'children', |
| | | checkStrictly: true, |
| | | emitPath: false, |
| | | }, |
| | | setbatchFlag: false, |
| | | menuStatus: { |
| | | delete: false, |
| | |
| | | return father.pid == 0; // 返回一级菜单 |
| | | }); |
| | | }, |
| | | //查询选择单位 |
| | | handleChange(value) { |
| | | this.queryForm.depid = value; |
| | | |
| | | this.$refs.cascaderHandle.dropDownVisible = false |
| | | handleNodeClickto(data, node, nodeData) { |
| | | this.queryForm.depid = data.id |
| | | |
| | | this.queryForm.depName = data.name; |
| | | }, |
| | | //搜索按钮 |
| | | queryInfo() { |
| | |
| | | .inquire { |
| | | position: relative; |
| | | height: auto; |
| | | overflow: auto; |
| | | |
| | | padding: 8px; |
| | | margin-top: 20px; |
| | | |
| | |
| | | padding: 10px; |
| | | border-radius: 5px; |
| | | |
| | | overflow: auto; |
| | | // overflow: auto; |
| | | } |
| | | .el-dialog { |
| | | .el-form-item { |