index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. <template>
  2. <div class="file-details">
  3. <customHeader>文件共享中心</customHeader>
  4. <div class="content">
  5. <div class="left-box">
  6. <!-- 左侧树菜单 -->
  7. <fileSystem
  8. :selected="selected"
  9. :list="listArr"
  10. :draggable="true"
  11. @delete-node="onDeltet"
  12. @on-click="onClick"
  13. @change-name="onChangeName"
  14. @addNode="onAddNode"
  15. @downloadNode="downloadNode"
  16. >
  17. <template #icon="{ item }">
  18. <template v-if="item.isFolder">
  19. <SvgIcon v-if="item.expanded" size="18" name="file-open" />
  20. <SvgIcon v-else size="18" name="file-close" />
  21. </template>
  22. <treeIcon class="iconfont" :title="item.title" v-else />
  23. </template>
  24. <template #operation="{ type }">
  25. <a-tooltip placement="top" :color="'rgba(28, 72, 105,.5)'">
  26. <template #title>
  27. <span>添加</span>
  28. </template>
  29. <i class="iconfont icon-xinzeng" v-if="type == 'addDocument'"></i>
  30. </a-tooltip>
  31. <a-tooltip placement="top" :color="'rgba(28, 72, 105,.5)'">
  32. <template #title>
  33. <span>编辑</span>
  34. </template>
  35. <i class="iconfont icon-bianji" v-if="type == 'Editable'"></i>
  36. </a-tooltip>
  37. <a-tooltip placement="top" :color="'rgba(28, 72, 105,.5)'">
  38. <template #title>
  39. <span>删除</span>
  40. </template>
  41. <a-popconfirm v-if="type == 'deleteNode'" title="是否确认删除!" ok-text="确定" cancel-text="取消" @confirm="confirmDel">
  42. <i class="iconfont icon-guanbi"></i>
  43. </a-popconfirm>
  44. </a-tooltip>
  45. <a-tooltip placement="top" :color="'rgba(28, 72, 105,.5)'">
  46. <template #title>
  47. <span>下载目录</span>
  48. </template>
  49. <i class="iconfont icon-shangchuan1" v-if="type == 'downloadNode'"></i>
  50. </a-tooltip>
  51. </template>
  52. </fileSystem>
  53. </div>
  54. <div class="right-box">
  55. <div class="search">
  56. <span style="color: #fff">文件名称:</span>
  57. <a-input v-model:value="searchForm.fileName" placeholder="请输入文件名称" :disabled="activeKey != '1'" />
  58. <span style="color: #fff">文件类型:</span>
  59. <a-select v-model:value="searchForm.fileType" placeholder="请选择..." style="width: 220px; margin-right: 20px" :disabled="activeKey != '1'">
  60. <a-select-option v-for="item in filetypeList" :value="item.value">{{ item.label }}</a-select-option>
  61. </a-select>
  62. <a-button type="primary" preIcon="ant-design:search-outlined" @click="onSearch" :disabled="activeKey != '1'">查询</a-button>
  63. <a-button type="primary" style="float: right" @click="reportSum" v-if="sysOrgCode == 'sdmtjtgsd'">汇总报表</a-button>
  64. <a-button type="primary" style="float: right; margin-right: 20px" @click="openModal(true)">文件上传</a-button>
  65. </div>
  66. <div class="list">
  67. <a-tabs class="tabs-box" v-model:activeKey="activeKey" @change="tabChange">
  68. <a-tab-pane key="1" tab="全部">
  69. <NormalTable
  70. :key="alive"
  71. :submitInfo="submitInfo"
  72. :selfParam="selfParam"
  73. :searchParam="searchForm"
  74. :nodeParam="nodeParam"
  75. :columns="columns"
  76. :list="getTree"
  77. :deleteById="deleteById"
  78. :downLoad="downLoad"
  79. designScope="file-detail"
  80. title="文件详情"
  81. />
  82. </a-tab-pane>
  83. <a-tab-pane key="2" tab="待审批">
  84. <approvalPend :key="alive2" :selected="selected" />
  85. </a-tab-pane>
  86. <a-tab-pane key="3" tab="已审批">
  87. <endEd :key="alive3" :selected="selected" />
  88. </a-tab-pane>
  89. </a-tabs>
  90. </div>
  91. </div>
  92. </div>
  93. <!-- 上传谈弹窗 -->
  94. <a-modal v-model:visible="visible" centered :width="600" title="上传文件" @ok="handleOk" @cancel="handleCancel">
  95. <a-form :model="formState" labelAlign="right" :label-col="{ span: 6 }" :wrapper-col="{ span: 16 }">
  96. <a-form-item label="是否审批" :rules="[{ required: true, message: '请选择是否审批' }]">
  97. <a-radio-group v-model:value="formState.isApprove" @change="changeRadio">
  98. <a-radio :value="true">是</a-radio>
  99. <a-radio :value="false">否</a-radio>
  100. </a-radio-group>
  101. </a-form-item>
  102. <a-form-item label="上传权限">
  103. <JDictSelectTag v-model:value="formState.filePerm" placeholder="请选择上传权限" dictCode="file_perm" style="width: 260px" />
  104. </a-form-item>
  105. <a-form-item label="文件类型">
  106. <JDictSelectTag v-model:value="formState.fileType" placeholder="请选择文件类型" dictCode="file_type" style="width: 260px" />
  107. </a-form-item>
  108. <a-form-item label="文件上传">
  109. <a-upload :custom-request="() => {}" :before-upload="beforeUpload" @remove="handleRemove" :multiple="false" :file-list="fileList">
  110. <a-button type="primary" preIcon="ant-design:cloud-upload-outlined">选择文件</a-button>
  111. </a-upload>
  112. </a-form-item>
  113. </a-form>
  114. </a-modal>
  115. <!-- 汇总报表弹窗 -->
  116. <a-modal v-model:visible="visiblehHz" centered :width="600" title="报表汇总" :footer="null" @cancel="handleCancelHz">
  117. <div style="height: 240px; overflow-y: auto; display: flex; flex-direction: column; align-items: center; padding: 10px; box-sizing: border-box">
  118. <vue3-seamless-scroll hover-stop="true" :list="reportHzList" :hover="true" :step="0.06" class="seamless-warp1">
  119. <div
  120. v-for="(item, index) in reportHzList"
  121. :key="index"
  122. style="width: 100%; height: 40px; display: flex; justify-content: space-between; align-items: center"
  123. >
  124. <span>{{ item.time }}</span>
  125. <span>{{ item.msg }}</span>
  126. </div>
  127. </vue3-seamless-scroll>
  128. </div>
  129. </a-modal>
  130. </div>
  131. </template>
  132. <script lang="ts" setup name="system-user">
  133. import { Vue3SeamlessScroll } from 'vue3-seamless-scroll';
  134. import customHeader from '/@/components/vent/customHeader.vue';
  135. import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
  136. import fileSystem from './commen/fileSystem.vue';
  137. import treeIcon from './commen/Icon/treeIcon.vue';
  138. import NormalTable from '../comment/NormalTable.vue';
  139. import approvalPend from '../approvalPend/index.vue';
  140. import endEd from '../endEd/index.vue';
  141. import { useRouter } from 'vue-router';
  142. import { useMessage } from '/@/hooks/web/useMessage';
  143. import { SvgIcon } from '/@/components/Icon';
  144. import { ref, onMounted, reactive, nextTick, watch, onUnmounted } from 'vue';
  145. import { columns } from './fileDetail.data';
  146. import {
  147. getTree,
  148. createFile,
  149. editMenu,
  150. delMenu,
  151. uploadApi,
  152. downLoad,
  153. deleteById,
  154. listData,
  155. getNowUserAgencyData,
  156. sumVentReport,
  157. queryVentMonReportJd,
  158. zipdownload,
  159. } from './fileDetail.api';
  160. import { useGlobSetting } from '/@/hooks/setting';
  161. const { sysOrgCode } = useGlobSetting();
  162. let visiblehHz = ref(false);
  163. let reportHzList = ref<any[]>([]);
  164. let timer: null | NodeJS.Timeout = null;
  165. let activeKey = ref('1');
  166. let selfParam = reactive({
  167. //各矿参数
  168. sysOrgCode: '',
  169. bpmStatus: null,
  170. flag: false,
  171. });
  172. let router = useRouter(); //路由
  173. const { createMessage } = useMessage();
  174. let searchForm = reactive({
  175. fileName: '',
  176. fileType: '',
  177. });
  178. let filetypeList = reactive<any[]>([
  179. { label: 'txt', value: 'txt' },
  180. { label: 'doc', value: 'doc' },
  181. { label: 'docx', value: 'docx' },
  182. { label: 'xls', value: 'xls' },
  183. { label: 'xlsx', value: 'xlsx' },
  184. { label: 'ppt', value: 'ppt' },
  185. { label: 'pptx', value: 'pptx' },
  186. { label: 'jpg', value: 'jpg' },
  187. { label: 'png', value: 'png' },
  188. { label: 'pdf', value: 'pdf' },
  189. ]);
  190. let fileList = reactive<any[]>([]); //上传文件列表
  191. // let uploadParam = reactive({}); //上传文件参数
  192. let nodeParam = reactive({}); //点击树节点时传递的参数
  193. let alive = ref(0); //点击树节点刷新表格数据
  194. let alive2 = ref(0);
  195. let alive3 = ref(0);
  196. let visible = ref(false); //控制上传弹窗的显示
  197. let formState = reactive({
  198. //上传文件类型,是否审批
  199. isApprove: null,
  200. fileType: '',
  201. filePerm: '',
  202. });
  203. //文件审批-提交信息
  204. let submitInfo = ref<any[]>([]);
  205. //lxh 当前选中树节点
  206. let selected = reactive<any>({
  207. id: null,
  208. pid: null,
  209. title: '',
  210. isFolder: false,
  211. });
  212. let flag = ref('');
  213. //左侧菜单列表
  214. let listArr = reactive<any[]>([]);
  215. //获取要删除的节点数据
  216. let delNode = reactive({});
  217. //下载目录
  218. function downloadNode(data) {
  219. console.log(data, '999000=============================================');
  220. zipdownload({ id: data.id, ifMine: false }).then((res) => {
  221. let filename = `${data.fileName}`;
  222. downFilePublic(res, filename);
  223. });
  224. }
  225. // 下载公用方法
  226. function downFilePublic(content, fileName) {
  227. const blob = new Blob([content], { type: 'application/zip;charset=UTF-8' }); // 构造一个blob对象来处理数据
  228. // 对于<a>标签,只有 Firefox 和 Chrome(内核) 支持 download 属性
  229. // IE10以上支持blob但是依然不支持download
  230. if ('download' in document.createElement('a')) {
  231. // 支持a标签download的浏览器
  232. const link = document.createElement('a'); // 创建a标签
  233. link.download = fileName; // a标签添加属性
  234. link.style.display = 'none';
  235. link.href = URL.createObjectURL(blob);
  236. document.body.appendChild(link);
  237. link.click(); // 执行下载
  238. URL.revokeObjectURL(link.href); // 释放url
  239. document.body.removeChild(link); // 释放标签
  240. } else {
  241. // 其他浏览器
  242. navigator.msSaveBlob(blob, fileName);
  243. }
  244. }
  245. //汇总报表
  246. function reportSum() {
  247. visiblehHz.value = true;
  248. sumVentReport();
  249. timer = setInterval(async () => {
  250. let res = await queryVentMonReportJd();
  251. reportHzList.value = res.jdList;
  252. if (res.flag) {
  253. visiblehHz.value = false;
  254. clearTimeout(timer);
  255. reportHzList.value.length = 0;
  256. alive.value = new Date().getTime();
  257. } else {
  258. visiblehHz.value = true;
  259. }
  260. }, 3000);
  261. }
  262. //关闭汇总弹窗
  263. function handleCancelHz() {
  264. reportHzList.value.length = 0;
  265. visiblehHz.value = false;
  266. clearTimeout(timer);
  267. alive.value = new Date().getTime();
  268. }
  269. //上传文件
  270. let openModal = (val) => {
  271. formState.isApprove = null;
  272. formState.fileType = '';
  273. formState.filePerm = '';
  274. fileList.length = 0;
  275. visible.value = val;
  276. };
  277. //tabs选项切换
  278. let tabChange = (activeKeyVal) => {
  279. activeKey.value = activeKeyVal;
  280. switch (activeKeyVal) {
  281. case '1':
  282. alive.value = new Date().getTime();
  283. break;
  284. case '2':
  285. alive2.value = new Date().getTime();
  286. break;
  287. case '3':
  288. alive3.value = new Date().getTime();
  289. break;
  290. }
  291. };
  292. //文件审批状态切换
  293. let changeRadio = (val) => {
  294. formState.isApprove = val.target.value;
  295. };
  296. //开始上传
  297. let handleOk = () => {
  298. if (formState.isApprove === null) {
  299. createMessage.warning('请选择文件审批状态!');
  300. } else {
  301. const formData = new FormData();
  302. formData.append('file', fileList[0]);
  303. formData.append('parentId', selected.id);
  304. formData.append('isApprove', formState.isApprove);
  305. formData.append('fileType', formState.fileType);
  306. formData.append('filePerm', formState.filePerm);
  307. uploadApi(formData).then((result) => {
  308. // 上传成功后result是字符串,失败则是对象,意味着只要存在code就是失败了
  309. if (result.code) {
  310. createMessage.error(result.message);
  311. } else {
  312. alive.value = new Date().getTime();
  313. visible.value = false;
  314. createMessage.success(result);
  315. }
  316. });
  317. }
  318. };
  319. //取消上传
  320. let handleCancel = () => {
  321. visible.value = false;
  322. };
  323. let list2trees = (data) => {
  324. // 删除 所有 children,以防止多次调用
  325. data.forEach(function (item) {
  326. delete item.children;
  327. });
  328. // 将数据存储为 以 id 为 KEY 的 map 索引数据列
  329. let map = {};
  330. data.forEach(function (item) {
  331. map[item.id] = item;
  332. });
  333. var val = [];
  334. data.forEach(function (item) {
  335. item.isFolder = true;
  336. item.title = item.fileName;
  337. item.pid = item.parentId;
  338. // 以当前遍历项,的pid,去map对象中找到索引的id
  339. var parent = map[item.pid];
  340. // 好绕啊,如果找到索引,那么说明此项不在顶级当中,那么需要把此项添加到,他对应的父级中
  341. if (parent) {
  342. (parent.children || (parent.children = [])).push(item);
  343. } else {
  344. //如果没有在map中找到对应的索引ID,那么直接把 当前的item添加到 val结果集中,作为顶级
  345. val.push(item);
  346. }
  347. });
  348. return val;
  349. };
  350. let getTypeTableList = async () => {
  351. let parentId = nodeParam.id || '';
  352. let selectFlag = nodeParam.id ? false : true;
  353. let likeFileName = searchForm.fileName || '';
  354. let fileSuffix = searchForm.fileType || '';
  355. let bpmStatus = selfParam.bpmStatus || '';
  356. let sysOrgCode = selfParam.sysOrgCode || '';
  357. let res = await getTree({
  358. parentId: parentId,
  359. selectFlag: selectFlag,
  360. likeFileName: likeFileName,
  361. fileSuffix: '.' + fileSuffix,
  362. bpmStatus: bpmStatus,
  363. sysOrgCode: sysOrgCode,
  364. });
  365. console.log(res, 'tableList--------------------');
  366. };
  367. //获取左侧菜单树数据
  368. let getTreeList = async () => {
  369. listArr.length = 0;
  370. let data = await getTree({ parentId: '' });
  371. let datas = data.records.filter((v) => v.fileType == null);
  372. let list = list2trees(datas);
  373. listArr.push(...list);
  374. console.log(listArr, '树节点数据');
  375. selected.id = listArr[0].id;
  376. selected.pid = listArr[0].pid;
  377. selected.title = listArr[0].title;
  378. selected.isFolder = listArr[0].isFolder;
  379. };
  380. //点击目录
  381. const onClick = (node) => {
  382. selected.id = node.id;
  383. selected.pid = node.pid;
  384. selected.title = node.title;
  385. selected.isFolder = node.isFolder;
  386. console.log(selected, 'selec----------');
  387. if (flag.value != node.title) {
  388. alive.value = new Date().getTime();
  389. nodeParam = node;
  390. flag.value = node.title;
  391. }
  392. };
  393. //添加文件
  394. const onAddNode = async (node) => {
  395. let data = await createFile({ fileName: node.newName, type: 'FOL', parentId: node.id });
  396. console.log(data, '新增文件返回');
  397. getTreeList();
  398. };
  399. // 修改名字
  400. const onChangeName = (node) => {
  401. editMenu({
  402. id: node.id,
  403. fileName: node.newName,
  404. parentId: node.pid,
  405. }).then((res) => {
  406. getTreeList();
  407. });
  408. };
  409. // 删除
  410. let onDeltet = (node) => {
  411. delNode = { ...node };
  412. };
  413. //确定删除
  414. let confirmDel = () => {
  415. if (delNode.pid == 'root') {
  416. createMessage.warning('根节点不能被删除!');
  417. } else if (delNode.children) {
  418. createMessage.warning('该节点无法被删除,请先删除该节点下的子节点!');
  419. } else {
  420. delMenu({ id: delNode.id }).then((res) => {
  421. console.log(res, '删除文件');
  422. getTreeList();
  423. });
  424. }
  425. };
  426. //查询列表
  427. let onSearch = () => {
  428. alive.value = new Date().getTime();
  429. };
  430. //上传文件
  431. let beforeUpload = (file) => {
  432. console.log(file, '选中文件');
  433. fileList.length = 0;
  434. let index = file.name.indexOf('.');
  435. let name = file.name.substring(index + 1);
  436. if (name == 'png' || name == 'jpg' || name == 'gif' || name == 'psd' || name == 'webp') {
  437. createMessage.warning('禁止上传图片类型的文件!');
  438. } else {
  439. fileList.push(file);
  440. }
  441. };
  442. // 文件移除
  443. let handleRemove = (file) => {
  444. const index = fileList.indexOf(file);
  445. const newFileList = fileList.slice();
  446. newFileList.splice(index, 1);
  447. fileList.length = 0;
  448. };
  449. //文件-提交
  450. async function getListData() {
  451. let res = await listData({ zx: true, column: 'createTime', order: 'desc', status: 1 });
  452. console.log(res, '审批提交-----------');
  453. submitInfo.value = res;
  454. }
  455. watch(
  456. () => router.currentRoute.value,
  457. (val) => {
  458. console.log('各矿传参', val);
  459. selfParam.bpmStatus = val.query.bpmStatus;
  460. selfParam.sysOrgCode = val.query.sysOrgCode;
  461. selfParam.flag = val.query.flag;
  462. },
  463. { immediate: true }
  464. );
  465. onMounted(() => {
  466. getTreeList();
  467. getListData();
  468. getTypeTableList();
  469. });
  470. onUnmounted(() => {
  471. if (timer) {
  472. clearTimeout(timer);
  473. timer = undefined;
  474. }
  475. });
  476. </script>
  477. <style lang="less" scoped>
  478. @import '/@/design/theme.less';
  479. @ventSpace: zxm;
  480. @{theme-deepblue} {
  481. .file-details {
  482. --input-border: #0863c3;
  483. --image-btn: url(/@/assets/images/themify/deepblue/files/details/btn.png);
  484. }
  485. }
  486. .file-details {
  487. --input-border: #31bccc;
  488. --image-btn: url(/@/assets/images/files/details/btn.png);
  489. width: calc(100% - 10px);
  490. height: calc(100% - 100px);
  491. padding: 0px 15px 15px 15px;
  492. position: relative;
  493. margin-top: 100px;
  494. // background: url(../../../../assets/images/files/homes/bd.png) no-repeat center;
  495. // background-size: contain;
  496. &::after {
  497. display: block;
  498. content: '';
  499. height: 200px;
  500. width: 100%;
  501. position: absolute;
  502. background-image: linear-gradient(#2eb2ff05, #2ea2ff00);
  503. border-top: 1px solid #2eb2ff20;
  504. top: 0px;
  505. left: 0px;
  506. }
  507. .content {
  508. width: 100%;
  509. height: 100%;
  510. display: flex;
  511. flex-direction: row;
  512. justify-content: space-between;
  513. align-items: flex-start;
  514. position: relative;
  515. z-index: 999;
  516. .left-box {
  517. width: 18%;
  518. height: 100%;
  519. padding: 10px;
  520. border: 1px solid #99e8ff66;
  521. background: #27546e1a;
  522. overflow-y: auto;
  523. box-shadow: 0px 0px 20px 7px rgba(145, 233, 254, 0.7) inset;
  524. -moz-box-shadow: 0px 0px 20px 7px rgba(145, 233, 254, 0.7) inset;
  525. -webkit-box-shadow: 0px 0px 50px 1px rgb(149 235 255 / 5%) inset;
  526. // lxh
  527. .iconfont {
  528. color: #fff;
  529. font-size: 12px;
  530. margin-left: 5px;
  531. }
  532. }
  533. .right-box {
  534. width: 82%;
  535. height: 100%;
  536. padding: 0px 0px 0px 10px;
  537. box-sizing: border-box;
  538. .search {
  539. height: 34px;
  540. line-height: 34px;
  541. margin-bottom: 15px;
  542. }
  543. }
  544. .list {
  545. height: calc(100% - 49px);
  546. position: relative;
  547. }
  548. }
  549. .zxm-form {
  550. padding: 10px !important;
  551. }
  552. }
  553. .seamless-warp1 {
  554. width: 100%;
  555. height: 100%;
  556. overflow: hidden;
  557. }
  558. ::v-deep .jeecg-svg-icon {
  559. margin-right: 5px;
  560. }
  561. ::v-deep .jeecg-basic-table-form-container {
  562. padding: 0px 0px;
  563. }
  564. ::v-deep .zxm-btn-primary {
  565. background-color: transparent;
  566. border: none;
  567. background: var(--image-btn) no-repeat !important;
  568. background-size: 100% 100% !important;
  569. }
  570. ::v-deep .zxm-tree-switcher {
  571. background: transparent;
  572. }
  573. ::v-deep .zxm-input {
  574. width: 220px;
  575. height: 30px;
  576. background: transparent;
  577. border: 1px solid var(--input-border);
  578. color: #fff;
  579. margin-right: 20px;
  580. border-radius: 5px;
  581. }
  582. ::v-deep .zxm-select:not(.zxm-select-customize-input) .zxm-select-selector {
  583. height: 30px !important;
  584. background: transparent !important;
  585. border: 1px solid var(--input-border) !important;
  586. border-radius: 5px !important;
  587. color: #fff !important;
  588. }
  589. ::v-deep .zxm-select-single.zxm-select-show-arrow .zxm-select-selection-item {
  590. color: #fff !important;
  591. }
  592. ::v-deep .zxm-btn-group {
  593. margin-right: 25px;
  594. }
  595. ::v-deep .zxm-upload-list-item-name {
  596. color: #fff;
  597. }
  598. ::v-deep .zxm-upload-list-item:hover .zxm-upload-list-item-info {
  599. background-color: transparent;
  600. }
  601. :deep(.@{ventSpace}-table-cell-row-hover) {
  602. background: #264d8833 !important;
  603. }
  604. :deep(.@{ventSpace}-table-row-selected) {
  605. background: #268bc522 !important;
  606. }
  607. :deep(.@{ventSpace}-select-dropdown) {
  608. border: 1px solid #ececec66;
  609. .@{ventSpace}-select-item-option-selected,
  610. .@{ventSpace}-select-item-option-active {
  611. background-color: #ffffff33 !important;
  612. }
  613. .@{ventSpace}-select-item:hover {
  614. background-color: #ffffff33 !important;
  615. }
  616. }
  617. ::v-deep .zxm-form-item-control-input {
  618. width: 90%;
  619. }
  620. </style>