LtModal.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. <template>
  2. <div class="modal-container">
  3. <div class="cover"></div>
  4. <div class="modal-box">
  5. <div class="modal-title">
  6. <span class="title-l">{{title}}{{tip}}</span>
  7. <a class="close" @click="closeModal()">×</a>
  8. </div>
  9. <div class="modal-body">
  10. <el-form
  11. :model="form"
  12. :rules="rules"
  13. label-position="right"
  14. label-width="145px"
  15. ref="relationForm"
  16. >
  17. <div class="AddChemicalAndCommonMappingBox clearfix">
  18. <div class="titleBox clearfix">
  19. <p class="title">医院术语</p>
  20. <p class="title">标准术语</p>
  21. </div>
  22. <div class="leftBox clearfix">
  23. <el-row>
  24. <el-col :span="16">
  25. <el-form-item :label="meal+':'" prop="hisName">
  26. <el-input
  27. v-model.trim="form.hisName"
  28. clearable
  29. style="minWidth: 240px"
  30. @input="onchange"
  31. @blur="onblur"
  32. ></el-input>
  33. </el-form-item>
  34. <el-form-item :label="meal+'预览:'">
  35. <span class="previewInfo" style="minWidth: 240px">{{form.hisName}}</span>
  36. </el-form-item>
  37. <el-form-item label="科室编码:" prop="hisCode" v-if="type==7">
  38. <el-input v-model.trim="form.hisCode" clearable style="minWidth: 240px"></el-input>
  39. </el-form-item>
  40. </el-col>
  41. <el-col :span="16" v-if="type == 2 || type == 1">
  42. <el-form-item :label="detail+':'" prop="hisDetailName">
  43. <el-input
  44. v-model.trim="form.hisDetailName"
  45. clearable
  46. style="minWidth: 240px"
  47. @input="onchange"
  48. @blur="onblur"
  49. ></el-input>
  50. </el-form-item>
  51. <el-form-item :label="detail+'预览:'">
  52. <span class="previewInfo" style="minWidth: 240px">{{form.hisDetailName}}</span>
  53. </el-form-item>
  54. </el-col>
  55. </el-row>
  56. </div>
  57. <div class="midBox">
  58. <img class="midLogo" src="../../images/relation.png" alt />
  59. <p class="midTitle">相互关联</p>
  60. </div>
  61. <div class="rightBox">
  62. <el-row>
  63. <el-col :span="16">
  64. <el-form-item :label="standard+':'" prop="searchText">
  65. <el-select
  66. style="width:100%;minWidth: 240px"
  67. v-model="form.searchText"
  68. filterable
  69. remote
  70. clearable
  71. :loading="showDrop"
  72. loading-text="加载中..."
  73. @change="changeWord"
  74. @focus="handleFocus"
  75. @visible-change="handleVisible"
  76. placeholder="搜索"
  77. :remote-method="searchTerms"
  78. reserve-keyword
  79. >
  80. <el-option
  81. v-for="item in uniqueNameList"
  82. :key="item.icd10Code"
  83. :label="item.name"
  84. :value="item"
  85. :title="item.name"
  86. ></el-option>
  87. </el-select>
  88. </el-form-item>
  89. <el-form-item v-if="tableData.length >0">
  90. <el-table
  91. :header-row-style="{height:'40px'}"
  92. :header-cell-style="{height:'40px',padding:'0'}"
  93. :row-class-name="tableRowClassName"
  94. :row-style="selectedstyle"
  95. :data="tableData"
  96. @row-click="btn"
  97. size="mini"
  98. :class="{tabs:uniqueNameList}"
  99. class="tab"
  100. >
  101. <el-table-column prop="name" :show-overflow-tooltip="true" label="词名"></el-table-column>
  102. <el-table-column prop="address" :show-overflow-tooltip="true" label="来源">
  103. <template slot-scope="scope">
  104. <span>{{scope.row.source == 1?'标准词匹配':scope.row.source == 2?'同义词匹配':scope.row.source == 5?'相似词匹配':''}}</span>
  105. </template>
  106. </el-table-column>
  107. </el-table>
  108. </el-form-item>
  109. <el-form-item :label="standard+'预览:'">
  110. <!-- <span class="previewInfo">{{!isEdit ? form.searchText.name : form.searchText}}</span> -->
  111. <span class="previewInfo" style="minWidth: 240px">{{form.searchText}}</span>
  112. </el-form-item>
  113. <el-form-item label="ICD编码:" v-if="type == 4">
  114. <span class="previewInfo" style="minWidth: 240px">{{form.icdCode}}</span>
  115. </el-form-item>
  116. <el-form-item :label="detail+':'" v-if="type == 12 || type == 13 || type == 6">
  117. <span class="previewInfo" style="minWidth: 240px">{{form.icdCode}}</span>
  118. </el-form-item>
  119. <el-form-item label="药品剂型:" v-if="type == 5">
  120. <el-select
  121. style="width:100%;minWidth: 240px"
  122. v-model="form.form"
  123. filterable
  124. remote
  125. clearable
  126. :loading="showDrop"
  127. loading-text="加载中..."
  128. @change="drugchangeWord"
  129. @focus="handleFocus"
  130. @visible-change="handleVisible"
  131. placeholder="搜索"
  132. :remote-method="searchDrug"
  133. reserve-keyword
  134. >
  135. <el-option
  136. v-for="item in drugList"
  137. :key="item.icd10Code"
  138. :label="item.name"
  139. :value="item"
  140. :title="item.name"
  141. ></el-option>
  142. </el-select>
  143. </el-form-item>
  144. </el-col>
  145. </el-row>
  146. </div>
  147. </div>
  148. </el-form>
  149. </div>
  150. <div class="mapList">
  151. 已关联标准术语:
  152. <span v-for="item in mapList" :key="item.id">{{item.uniqueName}}&nbsp;&nbsp;{{item.form}};</span>
  153. </div>
  154. <div class="modal-footer">
  155. <button class="confirm btns" :disabled="saveDisable" @click="submitForm">确定</button>
  156. <button class="cancel btns" @click="closeModal">取消</button>
  157. </div>
  158. </div>
  159. </div>
  160. </template>
  161. <script>
  162. import api from '@api/icss.js';
  163. import config from '@api/config.js';
  164. import utils from '@api/utils.js';
  165. export default {
  166. name: 'lt-modal',
  167. props: ['modalVisiable', 'meal', 'detail', 'standard', 'type', 'data','tip'],
  168. data() {
  169. return {
  170. form: {
  171. searchText: '', //搜索字段
  172. hisName: '',
  173. icdCode: '',
  174. hisDetailName: '',
  175. formConceptId: '',
  176. conceptId: '',
  177. form: '',
  178. hisCode: '',
  179. source: ''
  180. },
  181. showDrop: false, //下拉框显示文字
  182. saveDisable: false, //保存按钮禁止点击
  183. uniqueNameList: [],
  184. rules: {
  185. hisName: [
  186. { required: true, message: '请输入' + this.meal, trigger: 'change' },
  187. { max: 80, message: this.meal + '最多80字', trigger: 'change' }
  188. ],
  189. searchText: [
  190. { required: true, message: '请选择' + this.meal, trigger: 'change' }
  191. ]
  192. },
  193. isEdit: false,
  194. editId: '',
  195. drugList: [],
  196. tableData: [],
  197. mapList: [],
  198. getIndex: 6,
  199. ty: this.type,
  200. searchType: '',
  201. title: '添加',
  202. };
  203. },
  204. created() {
  205. if (this.type == 1) {
  206. this.ty = 2; // 1-化验大项、2-化验小项
  207. }
  208. //修改
  209. if (JSON.stringify(this.data) != '{}') {
  210. this.title = '修改';
  211. this.isEdit = true;
  212. this.editId = this.data.id;
  213. this.form.hisName = this.data.hisName;
  214. this.form.hisDetailName = this.data.hisDetailName;
  215. this.form.searchText = this.data.uniqueName;
  216. this.form.icdCode = this.data.code;
  217. this.form.conceptId = this.data.conceptId;
  218. this.form.formConceptId = this.data.formConceptId;
  219. this.form.form = this.data.form;
  220. this.form.source = this.data.source;
  221. this.form.hisCode = this.data.hisCode;
  222. let name
  223. if (this.data.hisName !== '' && this.data.hisDetailName === '') {
  224. this.ty = 1; // 1-化验大项、2-化验小项
  225. this.searchType = 1
  226. name = this.data.hisName;
  227. } else if (this.data.hisName !== '' && this.data.hisDetailName !== '') {
  228. this.ty = 2;
  229. this.searchType = 2
  230. name = this.data.hisDetailName;
  231. }
  232. this.getTermMatching(this.ty,name);
  233. this.getRelatedMapping();
  234. }
  235. },
  236. methods: {
  237. selectedstyle({ row, rowIndex }) {
  238. if (this.getIndex === rowIndex) {
  239. return {
  240. 'background-color': '#EBEEF5',
  241. 'color':'#48C5D7'
  242. };
  243. }
  244. },
  245. tableRowClassName({ row, rowIndex }) {
  246. row.index = rowIndex;
  247. },
  248. btn(row) {
  249. if (this.getIndex == row.index) {
  250. this.getIndex = 6;
  251. this.form.searchText = '';
  252. this.form.conceptId = '';
  253. this.form.icdCode = '';
  254. this.form.source = '';
  255. } else {
  256. this.getIndex = row.index;
  257. this.form.searchText = row.name;
  258. this.form.conceptId = row.id;
  259. this.form.icdCode = row.code;
  260. this.form.source = row.source;
  261. }
  262. },
  263. // 搜索列表
  264. searchTerms(query) {
  265. if (!query) {
  266. this.uniqueNameList = [];
  267. return;
  268. }
  269. const { hisName, hisDetailName } = this.form;
  270. if (hisName !== '' && hisDetailName === '') {
  271. this.ty = 1;
  272. }else if(hisName !== '' && hisDetailName !== ''){
  273. this.ty = 2;
  274. }
  275. this.searchType = this.ty;
  276. this.showDrop = true;
  277. let params = {
  278. type: this.ty ? this.ty : this.type,
  279. inputStr: query,
  280. sex: 3,
  281. age: 0
  282. };
  283. api.retrievalSearch(params).then(res => {
  284. this.showDrop = false;
  285. if (res.data.code === '0') {
  286. if (this.ty == 2) {
  287. this.uniqueNameList = res.data.data.lisDetailNames;
  288. } else {
  289. this.uniqueNameList = res.data.data.nameList;
  290. }
  291. }
  292. });
  293. },
  294. searchDrug(query) {
  295. if (!query) {
  296. this.drugList = [];
  297. return;
  298. }
  299. this.showDrop = true;
  300. let params = {
  301. type: 15,
  302. inputStr: query,
  303. sex: 3,
  304. age: 0
  305. };
  306. api.retrievalSearch(params).then(res => {
  307. this.showDrop = false;
  308. if (res.data.code === '0') {
  309. this.drugList = res.data.data.nameList;
  310. }
  311. });
  312. },
  313. onchange() {
  314. this.getRelatedMapping();
  315. },
  316. getRelatedMapping() {
  317. const { hisName, hisDetailName } = this.form;
  318. let params = {
  319. type: this.type,
  320. hisDetailName: hisDetailName,
  321. hisName: hisName
  322. };
  323. api.getRelatedMapping(params).then(res => {
  324. this.showDrop = false;
  325. if (res.data.code === '0') {
  326. this.mapList = res.data.data;
  327. }
  328. });
  329. },
  330. changeWord(newValue) {
  331. this.form.searchText = newValue.name;
  332. this.form.icdCode = newValue.code;
  333. this.form.conceptId = newValue.id;
  334. this.getIndex = 6;
  335. },
  336. drugchangeWord(newValue) {
  337. this.form.formConceptId = newValue.id;
  338. this.form.form = newValue.name;
  339. },
  340. handleVisible(flag) {
  341. if (!flag) {
  342. this.uniqueNameList = [];
  343. }
  344. },
  345. // 获取焦点
  346. handleFocus() {},
  347. onblur() {
  348. let type,name
  349. if (this.type == 1) {
  350. const { hisName, hisDetailName } = this.form;
  351. type = 1; // 1-化验大项、2-化验小项
  352. name = hisName
  353. if (hisName !== '' && hisDetailName !== '') {
  354. type = 2;
  355. name = hisDetailName
  356. }
  357. }
  358. this.getTermMatching(type,name);
  359. },
  360. getTermMatching(type,name) {
  361. let params = {
  362. type: type ? type : this.type,
  363. inputStr: name ? name :this.form.hisName
  364. };
  365. api.getTermMatching(params).then(res => {
  366. this.showDrop = false;
  367. if (res.data.code === '0') {
  368. this.tableData = res.data.data;
  369. this.getIndex = 6;
  370. }
  371. });
  372. },
  373. // 建立关联-参数处理
  374. submitForm() {
  375. this.$refs.relationForm.validate(valid => {
  376. if (valid) {
  377. const {
  378. searchText,
  379. hisName,
  380. hisDetailName,
  381. icdCode,
  382. conceptId,
  383. formConceptId,
  384. source,
  385. hisCode
  386. } = this.form;
  387. // 当标准术语是套餐时,细项必须为空
  388. if (this.searchType === 1 && hisDetailName !== '') {
  389. this.warning('医院术语与标准术语类型不匹配,请修改');
  390. return;
  391. }
  392. // 当标准术语是细项时,医院术语套餐和细项均不能为空
  393. if (this.searchType === 2) {
  394. if (hisName === '') {
  395. this.warning('医院术语与标准术语类型不匹配,请修改');
  396. return;
  397. } else if (hisDetailName === '') {
  398. this.warning('医院术语与标准术语类型不匹配,请修改');
  399. return;
  400. }
  401. }
  402. let params = {
  403. hisName: hisName,
  404. uniqueName: searchText,
  405. hisDetailName: hisDetailName,
  406. type: this.type,
  407. conceptId: conceptId,
  408. formConceptId: formConceptId,
  409. hisCode: hisCode,
  410. source: source ? source : 1
  411. };
  412. this.showSaveDialog(params);
  413. } else {
  414. console.log('error submit!!');
  415. return false;
  416. }
  417. });
  418. },
  419. // 建立关联-映射关系是否已存在
  420. showSaveDialog(params) {
  421. this.saveDisable = true; //提交保存按钮不可点击,返回结果时才可点击,防止频繁发送请求
  422. api
  423. .diseaseIsExistRecord(params)
  424. .then(res => {
  425. if (!res.data.data) {
  426. // 不存在,创建新的关联
  427. // 如果是编辑时,需要携带id
  428. if (this.isEdit) {
  429. params = { ...params, id: this.editId };
  430. }
  431. this.saveLisMapping(params, '保存成功', 'success');
  432. } else {
  433. // 已存在,提示修改
  434. this.warning('该条关联已存在,无法添加');
  435. this.saveDisable = false;
  436. }
  437. })
  438. .catch(err => {
  439. if (err.code === '900010001') {
  440. return false;
  441. }
  442. this.warning(err);
  443. });
  444. },
  445. // 初始化表单数据
  446. initForm() {
  447. this.form.hisName = '';
  448. this.form.searchText = '';
  449. this.form.icdCode = '';
  450. this.form.hisDetailName = '';
  451. this.form.form = '';
  452. this.form.conceptId = '';
  453. this.form.source = '';
  454. },
  455. // 映射关系不存在-建立关联
  456. saveLisMapping(params, msg, type) {
  457. api.saveOrUpdateDiseaseRecord(params).then(res => {
  458. if (res.data.code === '0') {
  459. this.warning(res.data.msg || msg, type);
  460. this.initForm();
  461. this.$emit('func', 'updata');
  462. } else {
  463. this.warning(res.data.msg);
  464. }
  465. this.saveDisable = false;
  466. });
  467. },
  468. // 关联已存在模态框
  469. showConfirmDialog(msg, resolve) {
  470. this.$alert(msg, '提示', {
  471. // customClass: 'confirmRealation',
  472. confirmButtonText: '是',
  473. // cancelButtonText: '否',
  474. // cancelButtonClass: 'cancelButton',
  475. type: 'warning'
  476. })
  477. .then(() => {
  478. resolve();
  479. })
  480. .catch(() => {
  481. this.saveDisable = false;
  482. this.warning('建立失败', 'error');
  483. });
  484. },
  485. warning(msg, type) {
  486. this.$message({
  487. showClose: true,
  488. message: msg,
  489. type: type || 'warning',
  490. duration:'1000'
  491. });
  492. },
  493. closeModal() {
  494. this.$emit('func', 'close');
  495. }
  496. }
  497. };
  498. </script>
  499. <style lang="less" scoped>
  500. .modal-container {
  501. position: fixed;
  502. top: 0;
  503. left: 0;
  504. width: 100%;
  505. height: 100%;
  506. z-index: 21;
  507. .cover {
  508. background: #000;
  509. opacity: 0.2;
  510. width: 100%;
  511. height: 100%;
  512. }
  513. .modal-box {
  514. width: 950px;
  515. background: #fff;
  516. position: absolute;
  517. top: 50%;
  518. left: 50%;
  519. transform: translate(-50%, -50%);
  520. .modal-title {
  521. height: 40px;
  522. background: #e3eaf4;
  523. .close {
  524. float: right;
  525. margin: 3px 13px 0 0;
  526. font-size: 22px;
  527. color: #979797;
  528. cursor: pointer;
  529. }
  530. }
  531. .btns {
  532. display: inline-block;
  533. width: 70px;
  534. height: 34px;
  535. line-height: 34px;
  536. background: #48c5d7;
  537. border-radius: 4px;
  538. color: #fff;
  539. text-align: center;
  540. cursor: pointer;
  541. outline: none;
  542. border: none;
  543. }
  544. .cancel {
  545. background: #fff;
  546. color: #48c5d7;
  547. border: 1px #48c5d7 solid;
  548. margin-left: 40px;
  549. }
  550. .modal-body {
  551. padding: 34px 22px;
  552. }
  553. .modal-footer {
  554. margin-bottom: 60px;
  555. width: 100%;
  556. text-align: center;
  557. }
  558. }
  559. }
  560. .tab {
  561. max-width: 240px;
  562. min-width: 240px;
  563. // position: absolute;
  564. // top: 0;
  565. z-index: 999;
  566. margin-bottom: 15px;
  567. margin-top: -18px;
  568. }
  569. // .tabs {
  570. // max-width: 240px;
  571. // min-width: 240px;
  572. // position: absolute;
  573. // top: 0;
  574. // left: 250px;
  575. // }
  576. .mapList {
  577. padding: 0 20px 20px;
  578. font-size: 14px;
  579. line-height: 24px;
  580. & span {
  581. padding: 0 3px;
  582. }
  583. }
  584. .el-select-dropdown__list,
  585. .el-select-dropdown__item {
  586. width: 219px;
  587. cursor: pointer;
  588. }
  589. .el-dropdown-menu__item:focus,
  590. .el-checkbox__input.is-checked + .el-checkbox__label,
  591. .el-dropdown-menu__item:not(.is-disabled):hover,
  592. .el-button--text,
  593. .el-date-table td.today span,
  594. .el-radio__input.is-checked + .el-radio__label,
  595. .el-pagination.is-background .el-pager li:not(.disabled):hover,
  596. .el-select-dropdown__item.selected {
  597. font-size: 14px;
  598. padding: 0 20px;
  599. position: relative;
  600. white-space: nowrap;
  601. overflow: hidden;
  602. text-overflow: ellipsis;
  603. color: #606266;
  604. height: 34px;
  605. line-height: 34px;
  606. -webkit-box-sizing: border-box;
  607. box-sizing: border-box;
  608. width: 219px;
  609. cursor: pointer;
  610. }
  611. /deep/ .el-form-item__error {
  612. width: 150px;
  613. }
  614. /*********新增编辑***********/
  615. .topBack {
  616. top: 0;
  617. }
  618. .titleBox {
  619. padding: 0 0 10px 0px;
  620. }
  621. /deep/.el-table th{
  622. background: #F7F7F7;
  623. }
  624. /deep/ .el-table td, .el-table th.is-leaf{
  625. border-bottom:none
  626. }
  627. .title-l {
  628. font-size: 14px;
  629. line-height: 40px;
  630. margin-left: 10px;
  631. }
  632. .title {
  633. width: 50%;
  634. float: left;
  635. font-size: 14px;
  636. }
  637. .leftBox,
  638. .midBox,
  639. .rightBox {
  640. width: 380px;
  641. float: left;
  642. min-height: 248px;
  643. font-size: 14px;
  644. }
  645. .midBox {
  646. width: 6%;
  647. padding: 50px 0 0 0;
  648. text-align: center;
  649. }
  650. .midTitle {
  651. width: 40px;
  652. margin: 0 auto;
  653. }
  654. .midLogo {
  655. margin: 0 auto;
  656. }
  657. .leftBox,
  658. .rightBox {
  659. border: 1px solid #dcdfe6;
  660. padding: 20px 10px;
  661. }
  662. .rightBox {
  663. padding-right: 33px;
  664. height: 248px;
  665. overflow-y: auto;
  666. }
  667. .itemLabel {
  668. width: 100%;
  669. min-height: 50px;
  670. line-height: 50px;
  671. position: relative;
  672. }
  673. .itemLabelName,
  674. .searchInput,
  675. .searchName {
  676. float: left;
  677. color: #606266;
  678. }
  679. .itemLabelName {
  680. width: 150px;
  681. }
  682. .isRequired::before {
  683. content: '*';
  684. color: red;
  685. }
  686. .searchInput,
  687. .mealNameItem {
  688. padding: 0 5px;
  689. }
  690. .searchInput,
  691. .searchName {
  692. display: inline-block;
  693. height: 32px;
  694. line-height: 32px;
  695. border: 1px solid #a9a9a9;
  696. margin: 8px 0 0 0;
  697. }
  698. .searchName {
  699. text-align: center;
  700. border-left: none;
  701. cursor: pointer;
  702. padding: 0 12px;
  703. font-size: 16px;
  704. }
  705. .itemList {
  706. position: absolute;
  707. background: #fff;
  708. width: 162px;
  709. max-height: 150px;
  710. border: 1px solid #a9a9a9;
  711. left: 150px;
  712. top: 42px;
  713. z-index: 2;
  714. overflow-y: auto;
  715. }
  716. .itemList {
  717. width: calc(100% - 131px);
  718. }
  719. .mealNameItem {
  720. height: 30px;
  721. line-height: 30px;
  722. font-size: 14px;
  723. cursor: pointer;
  724. }
  725. .mealNameItem:hover {
  726. background: #f5f7fa;
  727. }
  728. .previewInfo {
  729. padding-left: 4px;
  730. display: inline-block;
  731. margin-top: 8px;
  732. // width: calc(100% - 160px);s
  733. line-height: 24px;
  734. overflow: hidden;
  735. word-wrap: break-word;
  736. word-break: break-all;
  737. }
  738. .sumbit {
  739. position: absolute;
  740. display: inline-block;
  741. width: 80px;
  742. height: 30px;
  743. line-height: 30px;
  744. border: 1px solid #a9a9a9;
  745. text-align: center;
  746. right: 100px;
  747. }
  748. .confirmRealation {
  749. .cancelButton {
  750. border: 1px solid #a9a9a9;
  751. span {
  752. color: #606266;
  753. }
  754. }
  755. }
  756. </style>