DeptManage.vue 22 KB

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