|
@@ -6,9 +6,6 @@ import Divider from './components/Divider.vue';
|
|
import Echarts from '@/components/ReEcharts/index.vue';
|
|
import Echarts from '@/components/ReEcharts/index.vue';
|
|
import { EChartsOption, use } from 'echarts';
|
|
import { EChartsOption, use } from 'echarts';
|
|
import { dayjs } from 'element-plus';
|
|
import { dayjs } from 'element-plus';
|
|
-import personnelSearch from '@/components/translationComponent/personnelSearch/personnelSearch.vue';
|
|
|
|
-import departmentSelection from '@/components/translationComponent/departmentSelection/departmentSelection.vue'
|
|
|
|
-import treeSelect from '@/components/translationComponent/treeSelect/treeSelect.vue'
|
|
|
|
import {
|
|
import {
|
|
getSummaryData,
|
|
getSummaryData,
|
|
getBulletinData,
|
|
getBulletinData,
|
|
@@ -19,28 +16,6 @@ import {
|
|
SummaryData
|
|
SummaryData
|
|
} from './api';
|
|
} from './api';
|
|
|
|
|
|
-const selectVal = ref<Array<string | number>>([])
|
|
|
|
-const selectVals = ref<string | number>('')
|
|
|
|
-const departmentVal = ref<any>('')
|
|
|
|
-const treeSelectVals = ref<any>('')
|
|
|
|
-const selectChange = (val: any) => {
|
|
|
|
- console.log(val, '<===== 当前的数据 selectVal')
|
|
|
|
- console.log(selectVal.value, '<===== 双向绑定的数据 selectVal')
|
|
|
|
-}
|
|
|
|
-const selectChange2 = (val: any) => {
|
|
|
|
- console.log(val, '<===== 当前的数据 2')
|
|
|
|
- console.log(selectVals.value, '<===== 双向绑定的数据 2')
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-const selectChange3 = (val: any) => {
|
|
|
|
- console.log(val, '<===== 当前的数据 3')
|
|
|
|
- console.log(departmentVal.value, '<===== 双向绑定的数据 3')
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-const selectChange4 = (val: any) => {
|
|
|
|
- console.log(val, '<===== 当前的数据 4')
|
|
|
|
- console.log(treeSelectVals.value, '<===== 双向绑定的数据 4')
|
|
|
|
-}
|
|
|
|
const permissionOptions = [
|
|
const permissionOptions = [
|
|
{
|
|
{
|
|
label: '仅本人',
|
|
label: '仅本人',
|
|
@@ -206,10 +181,6 @@ watchEffect(() => {
|
|
</el-select>
|
|
</el-select>
|
|
</div>
|
|
</div>
|
|
<div class="w-40">
|
|
<div class="w-40">
|
|
- <personnel-search v-model="selectVal" :size="'small'" multiple placeholder="你好世界" @change="selectChange"></personnel-search>
|
|
|
|
- <personnel-search v-model="selectVals" :size="'small'" placeholder="你好世界" @change="selectChange2"></personnel-search>
|
|
|
|
- <department-selection v-model="departmentVal" :size="'small'" placeholder="部门选择" @change="selectChange3"></department-selection>
|
|
|
|
- <tree-select v-model="treeSelectVals" :size="'small'" placeholder="树形选择" @change="selectChange4"></tree-select>
|
|
|
|
<el-select
|
|
<el-select
|
|
ref="select1"
|
|
ref="select1"
|
|
size="small"
|
|
size="small"
|