Browse Source

导航菜单

master
mch 2 years ago
parent
commit
8db49578df
  1. 2
      src/components/unitGrouping/unitGroupCategory.vue
  2. 7
      src/components/unitGrouping/unitGroupingTable.vue
  3. 4
      src/views/Home.vue
  4. 8
      src/views/basic-dictionary/GuideType.vue

2
src/components/unitGrouping/unitGroupCategory.vue

@ -1,6 +1,6 @@
<template> <template>
<div class="examinationcategory"> <div class="examinationcategory">
<div style="margin-left:1.5%">
<div style="margin-left:5.5%">
<span>项目类别</span> <span>项目类别</span>
<el-select <el-select
v-model="value" v-model="value"

7
src/components/unitGrouping/unitGroupingTable.vue

@ -1,9 +1,10 @@
<template> <template>
<div style="display: flex">
<div style="display: flex;height:200px">
<el-table <el-table
:data="personnelUnit.personnelgrouping" :data="personnelUnit.personnelgrouping"
style="width: 100%"
style="width: 100%;"
row-key="id" row-key="id"
height="200px"
highlight-current-row highlight-current-row
@row-click="clickoncolumn" @row-click="clickoncolumn"
class="el-table__body-wrapper tbody" class="el-table__body-wrapper tbody"
@ -199,7 +200,7 @@ export default {
putapi("/api/app/customerorggroup/updatesortmany", { putapi("/api/app/customerorggroup/updatesortmany", {
itemList: result, itemList: result,
}).then((res) => { }).then((res) => {
this.$message.success("操作成功");
this.$message.success("操作成功");
this.isshow = true; this.isshow = true;
this.getlist(); this.getlist();
}); });

4
src/views/Home.vue

@ -514,9 +514,9 @@ export default {
}; };
</script> </script>
<style scoped> <style scoped>
::v-deep .el-dropdown-menu{
.el-dropdown-menu {
overflow: scroll; overflow: scroll;
max-height: 200px;
max-height: 500px;
overflow-x: hidden; overflow-x: hidden;
} }
.el-header { .el-header {

8
src/views/basic-dictionary/GuideType.vue

@ -57,7 +57,7 @@
<el-table-column <el-table-column
prop="id" prop="id"
label="编号" label="编号"
width="300"
width="320"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
prop="displayName" prop="displayName"
@ -278,7 +278,7 @@
</el-card> </el-card>
</div> </div>
<!-- 按钮区域 --> <!-- 按钮区域 -->
<div style="margin-left: 10px; margin-top: 10%">
<div style="margin-left: 10px; margin-top: 7%">
<el-button type="primary" @click="guideadd">新增</el-button> <el-button type="primary" @click="guideadd">新增</el-button>
<div style="margin-top: 10px"> <div style="margin-top: 10px">
<el-button type="primary" @click="editandmofin">编辑</el-button> <el-button type="primary" @click="editandmofin">编辑</el-button>
@ -440,10 +440,10 @@ export default {
this.isshow = true; this.isshow = true;
this.getlists(); this.getlists();
}, },
/**
/**
* 拖拽初始化 * 拖拽初始化
*/ */
rowDrop() {
rowDrop() {
this.$nextTick(() => { this.$nextTick(() => {
const tbody = document.querySelector(".el-table__body-wrapper tbody"); const tbody = document.querySelector(".el-table__body-wrapper tbody");
const _this = this; const _this = this;

Loading…
Cancel
Save