tcmdrome.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <template>
  2. <div>
  3. <crumbs :title="title + hospitaiName" linkTo="MedicalTermCDSS">
  4. <el-form :inline="true" class="demo-form-inline">
  5. <el-form-item style="marginBottom: 0px">
  6. <el-button type="text" class="downTemplate" @click="exportModule">导入模板下载</el-button>
  7. <input type="file" name="uploadfile " id="upFile" @change="uploadFile($event)" />
  8. <el-button size="mini" @click="handleMatchData">预匹配</el-button>
  9. <el-button size="mini" @click="importPage" style="margin:0 10px">{{uploadInfo}}</el-button>
  10. <input type="file" name="uploadfile " id="upFileMatch" @change="uploadFileMatch($event)" />
  11. <el-button size="mini" @click="exportData">导出</el-button>
  12. </el-form-item>
  13. </el-form>
  14. </crumbs>
  15. <div class="searchBar">
  16. <div class="searchContent">
  17. <el-form :inline="true" class="demo-form-inline">
  18. <el-form-item class="selectMedicine" label="标准术语状态:">
  19. <el-select size="mini" v-model="filter.status" placeholder="请选择" clearable>
  20. <el-option
  21. v-for="item in statusList"
  22. :label="item.name"
  23. :value="item.id"
  24. :key="item.id"
  25. ></el-option>
  26. </el-select>
  27. </el-form-item>
  28. <el-form-item label="匹配状态:" class="selectMedicine">
  29. <el-select size="mini" v-model="filter.match" placeholder="请选择" clearable>
  30. <el-option
  31. v-for="item in matchList"
  32. :label="item.name"
  33. :value="item.id"
  34. :key="item.id"
  35. ></el-option>
  36. </el-select>
  37. </el-form-item>
  38. <el-form-item label="医院中医证候名称:">
  39. <el-input size="mini" v-model="filter.hisName" placeholder="请输入" clearable></el-input>
  40. </el-form-item>
  41. <el-form-item label="标准中医证候名称:">
  42. <el-input size="mini" v-model="filter.uniqueName" placeholder="请输入" clearable></el-input>
  43. </el-form-item>
  44. <el-form-item class="dododo">
  45. <el-button size="mini" @click="filterDatas">检索</el-button>
  46. <el-button size="mini" type="warning" @click="addRelation">添加关联</el-button>
  47. </el-form-item>
  48. </el-form>
  49. </div>
  50. </div>
  51. <div class="contentsOther">
  52. <el-table :data="list" border style="width: 100%">
  53. <el-table-column :resizable="false" type="index" :index="indexMethod" label="编号" width="80"></el-table-column>
  54. <el-table-column :resizable="false" prop="gmtModified" label="操作时间" width="180"></el-table-column>
  55. <el-table-column :resizable="false" prop="hisName" label="医院中医证候名称" show-overflow-tooltip></el-table-column>
  56. <el-table-column :resizable="false" prop="code" label="中医证候代码" show-overflow-tooltip></el-table-column>
  57. <el-table-column
  58. :resizable="false"
  59. prop="uniqueName"
  60. label="标准中医证候名称"
  61. show-overflow-tooltip
  62. ></el-table-column>
  63. <el-table-column :resizable="false" prop="operate" label="标准术语状态">
  64. <template slot-scope="scope">
  65. <span v-if="scope.row.uniqueName && scope.row.uniqueName!=''">{{scope.row.status == 0?'禁用':'启用'}}</span>
  66. </template>
  67. </el-table-column>
  68. <el-table-column :resizable="false" prop="operate" label="匹配状态">
  69. <template slot-scope="scope">
  70. <span>{{scope.row.isMatch == 0?'未匹配':'已匹配'}}</span>
  71. </template>
  72. </el-table-column>
  73. <el-table-column :resizable="false" prop="operate" label="操作">
  74. <template slot-scope="scope">
  75. <el-button @click="modifyRelation(scope.row)" type="text" size="small">修改</el-button>
  76. <span style="margin:0 3px;">|</span>
  77. <el-button
  78. @click="showDelDialog(scope.row.id)"
  79. class="delete"
  80. type="text"
  81. size="small"
  82. >删除</el-button>
  83. </template>
  84. </el-table-column>
  85. </el-table>
  86. <div class="pagination pagepage">
  87. <el-pagination
  88. :current-page.sync="currentPage"
  89. @current-change="currentChange"
  90. background
  91. :page-size="pageSize"
  92. :page-sizes="pageSizeArr"
  93. @size-change="handleSizeChange"
  94. :layout="pageLayout"
  95. :total="total"
  96. ></el-pagination>
  97. </div>
  98. </div>
  99. <LtModal
  100. v-if="modalVisiable"
  101. @func="getMsgFormSon"
  102. :meal="'中医证候名称'"
  103. :standard="'中医证候名称'"
  104. :detail="'中医证候代码'"
  105. :tip="'中医证候关联'"
  106. :type="13"
  107. :hospitalId="hospitalId"
  108. :data="data"
  109. ></LtModal>
  110. </div>
  111. </template>
  112. <script>
  113. import api from '@api/cdss.js';
  114. import config from '@api/config.js';
  115. import utils from '@api/utils.js';
  116. import LtModal from '@base/LtModal';
  117. export default {
  118. name: 'Tcmdrome', //化验大小项和公表维护
  119. data: function() {
  120. return {
  121. list: [],
  122. searched: false,
  123. filter: {
  124. hisName: '', // 医院诊断名称
  125. uniqueName: '', //标准诊断名称
  126. match: '',
  127. status:''
  128. },
  129. matchList: [
  130. { id: '', name: '全部' },
  131. { id: 1, name: '已匹配' },
  132. { id: 0, name: '未匹配' },
  133. { id: 2, name: '多项匹配' }
  134. ],
  135. statusList: [
  136. { id: '', name: '全部' },
  137. { id: 1, name: '启用' },
  138. { id: 0, name: '禁用' },
  139. ],
  140. currentPage: 1,
  141. pageSize: config.pageSize,
  142. pageSizeArr: config.pageSizeArr,
  143. pageLayout: config.pageLayout,
  144. total: 0,
  145. uploadInfo: '导入',
  146. title: '中医证候关联维护 | ',
  147. hospitaiName: '',
  148. hospitalId: '',
  149. modalVisiable: false,
  150. data: {}
  151. };
  152. },
  153. components: {
  154. LtModal
  155. },
  156. created() {
  157. const { data } = this.$route.params;
  158. this.hospitaiName = (data && data.name) || localStorage.getItem('name');
  159. this.hospitalId = (data && data.hospitalId) || localStorage.getItem('hospitalId');
  160. const that = this;
  161. //返回时避免参数未赋值就获取列表
  162. setTimeout(function() {
  163. that.getDataList();
  164. });
  165. // 非首页 编辑页返回 设置 this.currentPage
  166. if (Object.keys(this.$route.params).length !== 0) {
  167. this.currentPage = this.$route.params.currentPage;
  168. }
  169. },
  170. watch: {
  171. filter: {
  172. handler: function() {
  173. this.searched = false;
  174. },
  175. deep: true
  176. }
  177. },
  178. beforeRouteEnter(to, from, next) {
  179. next(vm => {
  180. //const pm = to.param;
  181. Object.assign(vm, to.params);
  182. vm.inCurrentPage = to.params.currentPage;
  183. });
  184. },
  185. methods: {
  186. // 预匹配
  187. handleMatchData() {
  188. let inp = document.getElementById('upFileMatch');
  189. inp.click();
  190. },
  191. // 导入数据
  192. uploadFileMatch(e) {
  193. let fileInfo = e.target.files[0];
  194. let extend = fileInfo.name.substring(fileInfo.name.lastIndexOf('.') + 1);
  195. if (extend != 'xls' && extend != 'xlsx') {
  196. this.$message({ message: '请根据模板进行导入', type: 'error' });
  197. return;
  198. }
  199. e.preventDefault();
  200. let formData = new FormData();
  201. formData.append('file', fileInfo);
  202. formData.append('type', 13);
  203. formData.append('uesrId', localStorage.getItem('uesrId'));
  204. const header = {
  205. headers: {
  206. 'Content-Type': 'multipart/form-data'
  207. }
  208. };
  209. const loading = this.$loading({
  210. lock: true,
  211. text: '预匹配中...',
  212. spinner: 'el-icon-loading',
  213. background: 'rgba(0, 0, 0, 0.7)'
  214. });
  215. api.dataTcmdromeVerify(formData, header).then(res => {
  216. if (res.data.code === '00020007' || res.data.code === '00020004') {
  217. loading.close();
  218. this.$alert(`${res.data.msg}`, '提示', {
  219. confirmButtonText: '确定',
  220. type: 'warning'
  221. })
  222. .then(() => {})
  223. .catch(() => {});
  224. } else {
  225. api.precTcmdromeDataMatch(formData, header).then(res => {
  226. setTimeout(() => {
  227. loading.close();
  228. }, 800);
  229. if (res.status === 200) {
  230. utils.downloadExportedData(
  231. res.data,
  232. '中医证候关联数据(预匹配).xls'
  233. );
  234. }
  235. });
  236. }
  237. });
  238. let inp = document.getElementById('upFileMatch');
  239. inp.value = '';
  240. },
  241. handleSizeChange(val) {
  242. this.pageSize = val;
  243. this.currentPage = utils.getCurrentPage(
  244. this.currentPage,
  245. this.total,
  246. this.pageSize
  247. );
  248. this.getDataList();
  249. },
  250. // 获取列表数据
  251. getDataList(isTurnPage) {
  252. const params = this.getFilterItems(isTurnPage);
  253. this.searched = true;
  254. const loading = this.$loading({
  255. lock: true,
  256. text: 'Loading',
  257. spinner: 'el-icon-loading',
  258. background: 'rgba(0, 0, 0, 0.7)'
  259. });
  260. api.getTcmsyndromePage(params).then(res => {
  261. loading.close();
  262. if (res.data.code === '0') {
  263. this.list = res.data.data && res.data.data.records;
  264. }
  265. this.total = res.data.data && res.data.data.total;
  266. if (this.inCurrentPage !== undefined) {
  267. this.currentPage = this.inCurrentPage;
  268. this.inCurrentPage = undefined;
  269. }
  270. });
  271. },
  272. // 处理列表请求数据参数
  273. getFilterItems(isTurnPage) {
  274. const { data } = this.$route.params;
  275. //翻页时筛选条件没点确定则清空
  276. if (isTurnPage && !this.searched) {
  277. this.clearFilter();
  278. }
  279. const param = {
  280. current: this.inCurrentPage || this.currentPage,
  281. size: this.pageSize,
  282. hisName: this.filter.hisName.trim(),
  283. uniqueName: this.filter.uniqueName.trim(),
  284. uniqueCode: '',
  285. hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
  286. type: 13,
  287. isMatch: this.filter.match,
  288. status: this.filter.status,
  289. };
  290. return param;
  291. },
  292. filterDatas() {
  293. this.currentPage = 1;
  294. this.getDataList();
  295. },
  296. addRelation() {
  297. console.log(11);
  298. const pam = this.searched
  299. ? {
  300. currentPage: this.currentPage,
  301. pageSize: this.pageSize,
  302. filter: this.filter
  303. }
  304. : { currentPage: this.currentPage, pageSize: this.pageSize };
  305. this.data = {};
  306. this.showModal();
  307. // this.$router.push({
  308. // name: 'AddTcmdrome',
  309. // params: Object.assign(pam, {
  310. // isEdit: false,
  311. // data: { hospitalId: this.hospitalId },
  312. // hospitaiName: this.hospitaiName
  313. // })
  314. // });
  315. },
  316. // 修改诊断关联-跳转至编辑页面
  317. modifyRelation(row) {
  318. const item = Object.assign({}, row);
  319. const pam = this.searched
  320. ? {
  321. currentPage: this.currentPage,
  322. pageSize: this.pageSize,
  323. filter: this.filter
  324. }
  325. : { currentPage: this.currentPage, pageSize: this.pageSize };
  326. // this.$router.push({
  327. // name: 'AddTcmdrome',
  328. // params: Object.assign(pam, {
  329. // isEdit: true,
  330. // data: { ...item, hospitalId: this.hospitalId },
  331. // hospitaiName: this.hospitaiName
  332. // })
  333. // });
  334. this.data = item;
  335. this.showModal();
  336. },
  337. currentChange(next) {
  338. this.currentPage = next;
  339. this.getDataList(true);
  340. // if (this.cacheData[next]) { //如果已请求过该页数据,则使用缓存不重复请求
  341. // this.list = this.cacheData[next];
  342. // } else {
  343. // this.getDataList();
  344. // }
  345. },
  346. // 清空搜索参数
  347. clearFilter() {
  348. this.filter = {
  349. hisName: '',
  350. uniqueName: ''
  351. };
  352. },
  353. indexMethod(index) {
  354. return (this.currentPage - 1) * this.pageSize + index + 1;
  355. },
  356. getTagType(val) {
  357. return val;
  358. },
  359. warning(msg, type) {
  360. this.$message({
  361. showClose: true,
  362. message: msg,
  363. type: type || 'warning'
  364. });
  365. },
  366. showConfirmDialog(msg, resolve) {
  367. this.$alert(msg, '提示', {
  368. confirmButtonText: '删除',
  369. // cancelButtonText: '取消',
  370. // cancelButtonClass: 'cancelBtn',
  371. // confirmButtonClass: 'confirmC',
  372. type: 'warning'
  373. })
  374. .then(() => {
  375. resolve();
  376. })
  377. .catch(() => {});
  378. },
  379. // 删除关联
  380. showDelDialog(id) {
  381. this.showConfirmDialog('是否删除该关联?', () => {
  382. api
  383. .deleteTcmdromeRecord({ id: id })
  384. .then(res => {
  385. if (res.data.code == '0') {
  386. if (!this.searched) {
  387. //未点确认时清空搜索条件
  388. this.clearFilter();
  389. }
  390. if (this.list.length == 1) {
  391. //当前在最后一页且只有一条数据时,删除后跳到前一页
  392. this.currentPage =
  393. this.currentPage === 1 ? 1 : this.currentPage - 1;
  394. }
  395. this.getDataList();
  396. this.warning(res.data.msg || '操作成功', 'success');
  397. } else {
  398. this.warning(res.data.msg);
  399. }
  400. })
  401. .catch(error => {
  402. if (error.code === '900010001') {
  403. return false;
  404. }
  405. this.warning(error);
  406. });
  407. });
  408. },
  409. // 导出数据
  410. exportData() {
  411. this.$alert('确定要导出全部中医证候关联数据吗?', '', {
  412. confirmButtonText: '确定',
  413. // cancelButtonText: '取消',
  414. // cancelButtonClass: 'leftbtn',
  415. // customClass: 'exportBox6',
  416. title: '提示',
  417. type: 'warning'
  418. // beforeClose: (action, instance, done) => {
  419. // if (action === 'confirm') {
  420. // // instance.confirmButtonLoading = true;
  421. // instance.confirmButtonText = '导出中...';
  422. // api.exportFusionRecord().then(res => {
  423. // if (res.status === 200) {
  424. // setTimeout(() => {
  425. // utils.downloadExportedData(res.data, '输血关联数据.xls');
  426. // done();
  427. // }, 1500);
  428. // }
  429. // });
  430. // } else {
  431. // done();
  432. // }
  433. // }
  434. })
  435. .then(() => {
  436. api
  437. .exportTcmdromeRecord({
  438. hospitalId: this.hospitalId,
  439. type: 13,
  440. isMatch: this.filter.match
  441. })
  442. .then(res => {
  443. if (res.status === 200) {
  444. this.$message({ message: '导出成功', type: 'success' });
  445. utils.downloadExportedData(res.data, '中医证候关联数据.xls');
  446. }
  447. });
  448. })
  449. .catch(() => {
  450. // this.$message({ message: '导出失败', type: 'waring' });
  451. });
  452. },
  453. // 导入模板
  454. exportModule() {
  455. api.exportTcmdromeModule({ type: 13 }).then(res => {
  456. if (res.status === 200) {
  457. setTimeout(() => {
  458. utils.downloadExportedData(res.data, '中医证候导入模板.xls');
  459. }, 1500);
  460. }
  461. });
  462. },
  463. // 点击导入
  464. importPage() {
  465. let inp = document.getElementById('upFile');
  466. inp.click();
  467. },
  468. // 导入数据
  469. uploadFile(e) {
  470. let fileInfo = e.target.files[0];
  471. let extend = fileInfo.name.substring(fileInfo.name.lastIndexOf('.') + 1);
  472. if (extend != 'xls' && extend != 'xlsx') {
  473. this.$message({ message: '请根据模板进行导入', type: 'error' });
  474. return;
  475. }
  476. e.preventDefault();
  477. let formData = new FormData();
  478. formData.append('file', fileInfo);
  479. formData.append('hospitalId', this.hospitalId);
  480. formData.append('type', 13);
  481. formData.append('uesrId', localStorage.getItem('uesrId'));
  482. const header = {
  483. headers: {
  484. 'Content-Type': 'multipart/form-data'
  485. }
  486. };
  487. this.importTcmdromeRecord(formData, header);
  488. // this.uploadInfo = '导入中...';
  489. // api.importExcelDataVerify(formData, header).then(res => {
  490. // if (res.data.code === '00020001') {
  491. // this.$confirm(`${res.data.msg}`, '提示', {
  492. // confirmButtonText: '确定',
  493. // cancelButtonText: '取消',
  494. // type: 'warning'
  495. // })
  496. // .then(() => {
  497. // this.importTcmdromeRecord(formData, header);
  498. // })
  499. // .catch(() => {
  500. // setTimeout(() => {
  501. // this.uploadInfo = '导入';
  502. // }, 300);
  503. // });
  504. // } else if (res.data.data === true) {
  505. // this.importTcmdromeRecord(formData, header);
  506. // }else {
  507. // this.$alert(`${res.data.msg}`, '提示', {
  508. // confirmButtonText: '确定',
  509. // // cancelButtonText: '取消',
  510. // // cancelButtonClass: 'cancelSure',
  511. // // confirmButtonClass: 'sure',
  512. // // customClass: 'exportConfirm',
  513. // type: 'warning'
  514. // })
  515. // .then(() => {})
  516. // .catch(() => {});
  517. // setTimeout(() => {
  518. // this.uploadInfo = '导入';
  519. // }, 300);
  520. // }
  521. // });
  522. //解决上传相同文件不触发change
  523. let inp = document.getElementById('upFile');
  524. inp.value = '';
  525. },
  526. importTcmdromeRecord(formData, header) {
  527. let taht = this
  528. api.importTcmdromeRecord(formData, header).then(res => {
  529. if (res.headers['content-disposition']) {
  530. this.downloadUrl(res);
  531. this.getDataList();
  532. } else {
  533. let r = new FileReader();
  534. r.onload = function() {
  535. if (this.result) {
  536. const code = JSON.parse(this.result);
  537. if (code.code === '00020007') {
  538. that
  539. .$alert(`${code.msg}`, '提示', {
  540. confirmButtonText: '确定',
  541. // cancelButtonText: '取消',
  542. // cancelButtonClass: 'cancelSure',
  543. // confirmButtonClass: 'sure',
  544. // customClass: 'exportConfirm',
  545. type: 'warning'
  546. })
  547. .then(() => {})
  548. .catch(() => {});
  549. }
  550. } else {
  551. that.$alert(`导入成功`, '提示', {
  552. confirmButtonText: '确定',
  553. // cancelButtonText: '取消',
  554. // cancelButtonClass: 'cancelSure',
  555. // confirmButtonClass: 'sure',
  556. // customClass: 'exportConfirm',
  557. type: 'success'
  558. });
  559. that.getDataList();
  560. }
  561. };
  562. r.readAsText(res.data);
  563. }
  564. // if ((res.data.code === '00020007')) {
  565. // this.$alert(`医院术语字符数超出最大数量,请修改后再试`, '提示', {
  566. // confirmButtonText: '确定',
  567. // // cancelButtonText: '取消',
  568. // // cancelButtonClass: 'cancelSure',
  569. // // confirmButtonClass: 'sure',
  570. // // customClass: 'exportConfirm',
  571. // type: 'warning'
  572. // })
  573. // .then(() => {})
  574. // .catch(() => {});
  575. // this.getDataList(); // 重新获取列表
  576. // setTimeout(() => {
  577. // this.uploadInfo = '导入';
  578. // }, 300);
  579. // } else if (res.data.data === true && res.status === 200) {
  580. // this.$alert(`导入成功`, '提示', {
  581. // confirmButtonText: '确定',
  582. // // cancelButtonText: '取消',
  583. // // cancelButtonClass: 'cancelSure',
  584. // // confirmButtonClass: 'sure',
  585. // // customClass: 'exportConfirm',
  586. // type: 'success'
  587. // })
  588. // .then(() => {})
  589. // .catch(() => {});
  590. // this.getDataList(); // 重新获取列表
  591. // setTimeout(() => {
  592. // this.uploadInfo = '导入';
  593. // }, 300);
  594. // } else {
  595. // this.$alert(`${res.data.msg}`, '提示', {
  596. // confirmButtonText: '确定',
  597. // // cancelButtonText: '取消',
  598. // // cancelButtonClass: 'cancelSure',
  599. // // confirmButtonClass: 'sure',
  600. // // customClass: 'exportConfirm',
  601. // type: 'warning'
  602. // })
  603. // .then(() => {})
  604. // .catch(() => {});
  605. // setTimeout(() => {
  606. // this.uploadInfo = '导入';
  607. // }, 300);
  608. // }
  609. });
  610. },
  611. downloadUrl(res) {
  612. var disposition = res.headers['content-disposition'];
  613. var fileName = decodeURI(
  614. disposition.split('filename=')[1].split(';filename*=')[0]
  615. );
  616. let blob = new Blob([res.data], { type: 'application/.xls' }); //.xls是我和后台约定好的文件格式
  617. let link = document.createElement('a');
  618. link.href = window.URL.createObjectURL(blob);
  619. link.download = fileName;
  620. link.click();
  621. link.remove();
  622. },
  623. /********新增编辑弹窗**********/
  624. showModal() {
  625. this.modalVisiable = true;
  626. },
  627. getMsgFormSon(data) {
  628. if (data == 'close') {
  629. this.modalVisiable = false;
  630. } else {
  631. this.modalVisiable = false;
  632. this.getDataList();
  633. }
  634. }
  635. }
  636. };
  637. </script>
  638. <style lang="less" scoped>
  639. @import '../../../less/admin.less';
  640. .delete {
  641. color: red;
  642. }
  643. .delete:hover {
  644. color: red;
  645. }
  646. .pagination {
  647. min-width: 1010px;
  648. }
  649. .downTemplate {
  650. margin-right: 8px;
  651. span {
  652. color: #02a7f0;
  653. }
  654. }
  655. #upFile {
  656. display: none !important;
  657. }
  658. #upFileMatch {
  659. display: none;
  660. }
  661. .el-message-box {
  662. /deep/.cancelBtn {
  663. background-color: #d7d7d7;
  664. border-color: transparent;
  665. }
  666. /deep/.confirmC {
  667. background-color: #ff545b !important;
  668. border-color: transparent !important;
  669. }
  670. }
  671. .exportBox6 {
  672. /deep/ .el-message-box__btns {
  673. margin-top: 20px;
  674. }
  675. /deep/ .el-message-box__message {
  676. // text-align: center;
  677. }
  678. /deep/.leftbtn {
  679. background-color: #d7d7d7;
  680. border-color: transparent !important;
  681. }
  682. /deep/ .el-message-box__header {
  683. border-bottom: 1px solid #dcdfe6;
  684. }
  685. }
  686. .searchBar {
  687. min-width: 980px;
  688. height: 60px;
  689. display: flex;
  690. justify-content: center;
  691. align-items: center;
  692. background-color: #dee2ea;
  693. z-index: 9999;
  694. padding: 40px 20px 0;
  695. .searchContent {
  696. height: 40px;
  697. flex: 1;
  698. background-color: #fff;
  699. display: flex;
  700. justify-content: flex-end;
  701. float: right;
  702. }
  703. }
  704. .contentsOther {
  705. padding: 0 20px;
  706. }
  707. </style>