Operation.vue 22 KB

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