TabelTransfer.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777
  1. <template>
  2. <div class="mymain-container">
  3. <slot name="header">
  4. <el-row class="radio">
  5. <el-radio-group v-model="region" >
  6. <el-radio label="0">指定经销商</el-radio>
  7. <el-radio label="1">广州经销商</el-radio>
  8. <el-radio label="2">佛山经销商</el-radio>
  9. </el-radio-group>
  10. <el-upload
  11. class="import-btn"
  12. :action="baseURL + 'student/import'"
  13. :http-request="handleImport"
  14. :file-list="importFileList"
  15. :show-file-list="false"
  16. >
  17. <el-button type="primary" size="mini">导入经销商</el-button>
  18. </el-upload>
  19. <el-button type="primary" size="mini" @click="hanleDownloadFiles"
  20. >下载模板</el-button
  21. >
  22. </el-row>
  23. <el-row type="flex">
  24. <el-col :xs="24" :sm="12" :lg="14">
  25. <el-input v-model="keyword" placeholder="查找经销商" size="mini" />
  26. </el-col>
  27. <el-col :xs="24" :sm="1" :lg="1" style="margin-left: 10px"
  28. ><el-button size="mini" @click="submitScreenForm"
  29. >确定</el-button
  30. ></el-col
  31. >
  32. <el-col :xs="24" :sm="1" :lg="1" style="margin-left: 20px"
  33. ><el-button size="mini" @click="resetScreenForm"
  34. >重置</el-button
  35. ></el-col
  36. >
  37. </el-row>
  38. </slot>
  39. <el-row :gutter="20">
  40. <el-col :span="10" :offset="0">
  41. <h5>未选经销商</h5>
  42. <el-divider direction="horizontal" content-position="left" />
  43. <div class="table">
  44. <el-table
  45. ref="multipleTable"
  46. :data="dataL"
  47. element-loading-text="Loading"
  48. border
  49. height="480px"
  50. fit
  51. highlight-current-row
  52. @select-all="handleSelectionAllChange"
  53. @selection-change="handleSelectionChange"
  54. >
  55. <el-table-column
  56. type="selection"
  57. width="55"
  58. :selectable="selectable"
  59. align="left"
  60. />
  61. <!-- <el-table-column-->
  62. <!-- prop="number"-->
  63. <!-- label="经销商编码"-->
  64. <!-- align="left"-->
  65. <!-- />-->
  66. <el-table-column prop="name" label="经销商名称" align="left"
  67. ><template slot-scope="scope">
  68. <CopyButton :copy-text="scope.row.name" />
  69. <span>{{ scope.row.name }}</span>
  70. </template>
  71. </el-table-column>
  72. </el-table>
  73. </div>
  74. <!-- 分页 -->
  75. <div style="margin: 20px 0">
  76. <el-pagination
  77. :current-page="currentPages"
  78. :page-sizes="[10, 20, 30, 50]"
  79. :page-size="10"
  80. layout="total, sizes, prev, pager, next, jumper"
  81. :total="clistTotal"
  82. @size-change="handleSizeChanges"
  83. @current-change="handleCurrentChanges"
  84. />
  85. </div>
  86. </el-col>
  87. <el-col :span="4" class="middle_box" :offset="0">
  88. <el-col>
  89. <el-button size="mini" :disabled="type == 2" @click="handleAllAdd"
  90. >全部添加</el-button
  91. ></el-col
  92. >
  93. <el-col>
  94. <el-button size="mini" :disabled="type == 2" @click="handleAdd"
  95. >增加</el-button
  96. ></el-col
  97. >
  98. <el-col>
  99. <el-button size="mini" :disabled="type == 1" @click="handleDelete"
  100. >删除</el-button
  101. ></el-col
  102. >
  103. <el-col>
  104. <el-button size="mini" :disabled="type == 1" @click="handleAllDelete"
  105. >全部删除</el-button
  106. ></el-col
  107. >
  108. </el-col>
  109. <el-col :span="10" :offset="0">
  110. <h5>已选经销商</h5>
  111. <el-divider direction="horizontal" content-position="left" />
  112. <div class="table">
  113. <el-table
  114. v-loading="listLoading"
  115. :data="custoList"
  116. element-loading-text="Loading"
  117. border
  118. height="480px"
  119. fit
  120. highlight-current-row
  121. stripe
  122. @select-all="handleSelectionAllChange2"
  123. @selection-change="handleSelectionChange2"
  124. >
  125. <el-table-column type="selection" width="55" align="left" />
  126. <!-- <el-table-column-->
  127. <!-- prop="customerNumber"-->
  128. <!-- label="经销商编码"-->
  129. <!-- align="left"-->
  130. <!-- />-->
  131. <el-table-column prop="customerName" label="经销商名称" align="left">
  132. <template slot-scope="scope">
  133. <CopyButton :copy-text="scope.row.customerName" />
  134. <span>{{ scope.row.customerName }}</span>
  135. </template>
  136. </el-table-column>
  137. </el-table>
  138. </div>
  139. </el-col>
  140. </el-row>
  141. <div>
  142. <h4 style="display: inline-block; margin-right: 20px">
  143. 经销商上限
  144. </h4>
  145. <el-divider />
  146. </div>
  147. <div style="margin: 20px 0">
  148. <el-upload
  149. class="import-btn cus-btn"
  150. :action="baseURL + 'student/import'"
  151. :http-request="handleImports"
  152. :file-list="importFileList"
  153. :show-file-list="false"
  154. >
  155. <el-button type="primary" size="mini">导入经销商</el-button>
  156. </el-upload>
  157. <el-button type="primary" size="mini" @click="hanleDownloadFilesPolicy"
  158. >下载模板</el-button
  159. >
  160. </div>
  161. <el-row type="flex" style="margin: 20px 0">
  162. <el-col :xs="24" :sm="12" :lg="14">
  163. <el-input v-model="keyword2" placeholder="查找经销商" size="mini" />
  164. </el-col>
  165. <el-col :xs="24" :sm="1" :lg="1" style="margin-left: 10px"
  166. ><el-button size="mini" @click="submitScreenForm2"
  167. >确定</el-button
  168. ></el-col
  169. >
  170. <el-col :xs="24" :sm="1" :lg="1" style="margin-left: 20px"
  171. ><el-button size="mini" @click="resetScreenForm2"
  172. >重置</el-button
  173. ></el-col
  174. >
  175. </el-row>
  176. <div>
  177. <div class="table">
  178. <el-table
  179. v-loading="clistLoading"
  180. :data="list"
  181. element-loading-text="Loading"
  182. border
  183. fit
  184. highlight-current-row
  185. stripe
  186. @select-all="handleSelectionAllChange2"
  187. @selection-change="handleSelectionChange2"
  188. >
  189. <!-- <el-table-column type="selection" width="55" align="left" /> -->
  190. <el-table-column
  191. prop="customerNumber"
  192. label="经销商编号
  193. "
  194. align="left"
  195. >
  196. <template slot-scope="scope">
  197. <CopyButton :copy-text="scope.row.customerNumber" />
  198. <span>{{ scope.row.customerNumber }}</span>
  199. </template>
  200. </el-table-column>
  201. <el-table-column prop="customerName" label="经销商名称" align="left">
  202. <template slot-scope="scope">
  203. <CopyButton :copy-text="scope.row.customerName" />
  204. <span>{{ scope.row.customerName }}</span>
  205. </template>
  206. </el-table-column>
  207. <el-table-column
  208. prop="materialName"
  209. label="物料名称
  210. "
  211. align="left"
  212. >
  213. <template slot-scope="scope">
  214. <CopyButton :copy-text="scope.row.materialName" />
  215. <span>{{ scope.row.materialName }}</span>
  216. </template>
  217. </el-table-column>
  218. <el-table-column
  219. prop="materialNumber"
  220. label="物料编号
  221. "
  222. align="left"
  223. >
  224. <template slot-scope="scope">
  225. <CopyButton :copy-text="scope.row.materialNumber" />
  226. <span>{{ scope.row.materialNumber }}</span>
  227. </template>
  228. </el-table-column>
  229. <el-table-column
  230. prop="examineOrderNums"
  231. label="已审订单数
  232. "
  233. align="left"
  234. >
  235. <template slot-scope="scope">
  236. {{scope.row.examineOrderNums | numToFixed }}
  237. </template>
  238. </el-table-column>
  239. <el-table-column
  240. prop="limitQty"
  241. label="购买量上限
  242. "
  243. align="left"
  244. >
  245. <template slot-scope="scope">
  246. {{scope.row.limitQty | numToFixed }}
  247. </template>
  248. </el-table-column>
  249. </el-table>
  250. </div>
  251. <!-- 分页 -->
  252. <div style="margin: 20px 0">
  253. <el-pagination
  254. :current-page="policyList.currentPages"
  255. :page-sizes="[10, 20, 30, 50]"
  256. :page-size="10"
  257. layout="total, sizes, prev, pager, next, jumper"
  258. :total="cTotal"
  259. @size-change="handleSizeChanges2"
  260. @current-change="handleCurrentChanges2"
  261. />
  262. </div>
  263. </div>
  264. <slot name="footer">
  265. <el-row style="margin: 20px 0 0 0">
  266. <el-button type="primary" size="mini" @click="handleSave">
  267. {{ comCode ? "保存" : "提交审核" }}
  268. </el-button>
  269. <el-button type="primary" size="mini" @click="handleReset"
  270. >重置</el-button
  271. >
  272. </el-row>
  273. </slot>
  274. </div>
  275. </template>
  276. <script>
  277. import {
  278. deleteCondition,
  279. deleteMaterialPolicy,
  280. getConditionList,
  281. getCrList,
  282. getCustomerList,
  283. getPolicyList,
  284. } from "@/api/policy_list";
  285. import { downloadFiles, handleImport } from "@/utils/util";
  286. import EditCondition from "./EditCondition";
  287. import ImageUpload from "@/components/Common/image-upload.vue";
  288. import Minxin from "@/mixin";
  289. export default {
  290. name: "Examine",
  291. components: {
  292. EditCondition,
  293. ImageUpload,
  294. },
  295. mixins: [Minxin],
  296. // eslint-disable-next-line vue/require-prop-types
  297. props: ["code","yregion"],
  298. data() {
  299. return {
  300. keyword: "",
  301. keyword2:"",
  302. region: "0",
  303. baseURL: "",
  304. dcurrentPage: 1,
  305. dpageSize: 10,
  306. dlistTotal: 0,
  307. currentPages: 1, // 当前页码
  308. pageSizes: 10, // 每页数量
  309. input: "",
  310. remark: "",
  311. fileList: [],
  312. listLoading: false,
  313. imageUrl: "",
  314. dataList: [],
  315. examineStatus: "OK",
  316. options: {},
  317. value: "",
  318. detail: {},
  319. srcList: [],
  320. screenForm: {
  321. code: "",
  322. createBy: "",
  323. endCreateTime: "",
  324. endTime1: "",
  325. endTime2: "",
  326. examineBy: "",
  327. remark: "",
  328. startCreateTime: "",
  329. startTime1: "",
  330. startTime2: "",
  331. status: "",
  332. title: "",
  333. type: "",
  334. },
  335. conditionList: [],
  336. custoList: [],
  337. isEdit: 1,
  338. cid: "",
  339. cpolicyId: "",
  340. dataL: [],
  341. clistTotal: 0,
  342. clistTotals: 0,
  343. type: 1,
  344. importFileList: [],
  345. leftData: [],
  346. rightData: [],
  347. typeOptions: [
  348. {
  349. value: "PROVISION",
  350. label: "配提",
  351. },
  352. {
  353. value: "LIMIT",
  354. label: "限量",
  355. },
  356. ],
  357. comCode: "",
  358. policyList: {
  359. pageNum: 1,
  360. pageSize: 10,
  361. policyId: "",
  362. keyword: "",
  363. currentPages: 1,
  364. },
  365. list: [],
  366. cTotal: 1,
  367. clistLoading: false,
  368. };
  369. },
  370. watch: {
  371. dataL: (val, oval) => {
  372. console.log(val, oval);
  373. },
  374. },
  375. created() {
  376. this.comCode = this.code;
  377. if (this.comCode) {
  378. if (this.yregion || this.yregion == 0) {
  379. this.region = ''+this.yregion
  380. }
  381. this.getCond();
  382. this.getPolicyList();
  383. }
  384. },
  385. methods: {
  386. getList() {
  387. this.getCrList();
  388. },
  389. onChange(){
  390. this.getCrList()
  391. },
  392. getCrList() {
  393. const customerParams = {
  394. pageNum: this.currentPages,
  395. pageSize: this.pageSizes,
  396. keyword: this.keyword,
  397. region: '',
  398. };
  399. // 获取经销商列表
  400. getCrList(customerParams).then((res) => {
  401. for (let j = 0; j < this.custoList.length; j++) {
  402. for (let i = 0; i < res.data.records.length; i++) {
  403. if (res.data.records[i].id === this.custoList[j].customerId) {
  404. res.data.records[i].disabled = true;
  405. }
  406. }
  407. }
  408. this.dataL = res.data.records;
  409. for (let k = 0; k < this.dataL.length; k++) {
  410. (this.dataL[k].customerId = this.dataL[k].id),
  411. (this.dataL[k].customerName = this.dataL[k].name),
  412. (this.dataL[k].customerNumber = this.dataL[k].number);
  413. }
  414. this.clistTotal = res.data.total;
  415. });
  416. },
  417. getPolicyList() {
  418. this.clistLoading = true;
  419. getPolicyList({
  420. pageNum: this.policyList.currentPages,
  421. pageSize: this.policyList.pageSize,
  422. policyId: this.comCode || this.code,
  423. keyword: this.keyword2,
  424. }).then((res) => {
  425. this.list = res.data.records;
  426. console.log(this.list, "785787");
  427. this.cTotal = res.data.total;
  428. this.clistLoading = false;
  429. });
  430. },
  431. // 更改每页数量
  432. handleSizeChanges2(val) {
  433. this.policyList.pageSizes = val;
  434. this.policyList.currentPages = 1;
  435. this.getPolicyList();
  436. },
  437. // 更改当前页
  438. handleCurrentChanges2(val) {
  439. this.policyList.currentPages = val;
  440. this.getPolicyList();
  441. },
  442. // 更改每页数量
  443. handleSizeChanges(val) {
  444. this.pageSizes = val;
  445. this.currentPages = 1;
  446. this.getCrList();
  447. },
  448. // 更改当前页
  449. handleCurrentChanges(val) {
  450. this.currentPages = val;
  451. this.getCrList();
  452. },
  453. // 提交筛选表单
  454. submitScreenForm() {
  455. this.currentPages = 1;
  456. this.getCrList();
  457. },
  458. // 重置筛选表单
  459. resetScreenForm() {
  460. this.keyword = "";
  461. this.currentPages = 1;
  462. this.getCrList();
  463. },
  464. // 提交筛选表单
  465. submitScreenForm2() {
  466. this.policyList.currentPages = 1;
  467. this.getPolicyList();
  468. },
  469. // 重置筛选表单
  470. resetScreenForm2() {
  471. this.keyword2 = "";
  472. this.policyList.currentPages = 1;
  473. this.getPolicyList();
  474. },
  475. // 去掉相同数据
  476. resArr(arr1, arr2) {
  477. return arr1.filter((v) => arr2.every((val) => val.id !== v.id));
  478. },
  479. // 导入经销商模板
  480. async handleImport(param) {
  481. this.importLoading = true;
  482. const file = param.file;
  483. const formData = new FormData();
  484. formData.append("file", file);
  485. // formData.append('policyId', this.searchForm.code)
  486. // formData.append("mainId", this.searchForm.mainId);
  487. const result = await handleImport("/policy/importCustomer", formData);
  488. console.log(result);
  489. this.importLoading = false;
  490. this.importFileList = [];
  491. if (result.code === 200) {
  492. await this.$alert(result.message, "导入成功", {
  493. confirmButtonText: "确定",
  494. });
  495. for (let i = 0; i < result.data.length; i++) {
  496. result.data[i].customerNumber = result.data[i].number;
  497. result.data[i].customerName = result.data[i].name;
  498. }
  499. if (this.custoList.length) {
  500. this.custoList = [
  501. ...this.custoList,
  502. ...this.resArr(this.custoList, result.data),
  503. ];
  504. } else {
  505. this.custoList = result.data;
  506. }
  507. } else {
  508. await this.$alert(result.message, "导入失败", {
  509. confirmButtonText: "确定",
  510. });
  511. }
  512. },
  513. async handleImports(param) {
  514. this.importLoading = true;
  515. const file = param.file;
  516. const formData = new FormData();
  517. formData.append("file", file);
  518. formData.append("policyId", this.comCode || this.code);
  519. // formData.append("mainId", this.searchForm.mainId);
  520. const result = await handleImport("/policy/limit/import", formData);
  521. console.log(result);
  522. this.importLoading = false;
  523. this.importFileList = [];
  524. if (result.code === 200) {
  525. await this.$alert(result.message, "导入成功", {
  526. confirmButtonText: "确定",
  527. });
  528. this.list = result.data;
  529. this.getPolicyList();
  530. } else {
  531. await this.$alert(result.message, "导入失败", {
  532. confirmButtonText: "确定",
  533. });
  534. }
  535. },
  536. // 下载经销商模板
  537. hanleDownloadFiles() {
  538. downloadFiles("/policy/downloadCustomer");
  539. },
  540. hanleDownloadFilesPolicy() {
  541. downloadFiles("/policy/limit/download");
  542. },
  543. getCommonApi(row) {
  544. (this.isEdit = 2), (this.cid = row.id), (this.cpolicyId = row.policyId);
  545. console.log(
  546. this.cpolicyId,
  547. this.comCode,
  548. this.cpolicyId === this.comCode
  549. );
  550. },
  551. getCond() {
  552. this.listLoading = true;
  553. const custoParams = {
  554. pageNum: 1,
  555. pageSize: -1,
  556. policyId: this.comCode || this.code,
  557. };
  558. getCustomerList(custoParams).then((res) => {
  559. this.custoList = res.data.records;
  560. console.log(this.custoList, "已选的");
  561. this.clistTotals = res.data.total;
  562. this.listLoading = false;
  563. // this.getCrList()
  564. });
  565. },
  566. handleCondition(id, index) {
  567. deleteCondition({ id }).then((res) => {
  568. this.getConditionList();
  569. this.$successMsg("删除成功");
  570. });
  571. },
  572. getConditionList() {
  573. const condParams = {
  574. policyId: this.comCode,
  575. };
  576. getConditionList(condParams).then((res) => {
  577. this.conditionList = res.data;
  578. });
  579. },
  580. // 删除
  581. hanleDelete(id) {
  582. const params = { policyMaterialId: id };
  583. deleteMaterialPolicy(params).then((res) => {
  584. this.$successMsg("删除成功");
  585. });
  586. },
  587. /**
  588. * 根据条件禁用行复选框
  589. * 函数返回值为false则禁用选择(反之亦然)
  590. * @param {Object} row - 行数据
  591. * @param {String} index - 索引值
  592. * @return Boolean
  593. */
  594. selectable: function (row, index) {
  595. // row.disabled == undefined 才能被选中
  596. if (row.disabled === undefined || row.disabled === false) {
  597. return true;
  598. } else {
  599. return false;
  600. }
  601. // 函数必须有返回值且是布尔值
  602. // 页面刷新后该函数会执行 N 次进行判断(N 为表格行数)
  603. // 如果没有返回值则默认返回false(全部无法选中)
  604. },
  605. handleSelectionAllChange(e) {
  606. this.leftData = e;
  607. this.type = 1;
  608. },
  609. handleSelectionChange(e) {
  610. this.leftData = e;
  611. this.type = 1;
  612. },
  613. handleSelectionAllChange2(e) {
  614. this.rightData = e;
  615. this.type = 2;
  616. },
  617. handleSelectionChange2(e) {
  618. this.rightData = e;
  619. this.type = 2;
  620. },
  621. handleLeft(e) {
  622. this.type = 1;
  623. },
  624. handleRight(e) {
  625. this.type = 2;
  626. },
  627. handleAllAdd() {
  628. if (this.type === 1 && this.leftData.length) {
  629. for (let i = 0; i < this.dataL.length; i++) {
  630. for (let j = 0; j < this.leftData.length; j++) {
  631. if (this.dataL[i].id === this.leftData[j].id) {
  632. this.dataL[i].disabled = true;
  633. }
  634. }
  635. }
  636. this.custoList = [...this.custoList, ...this.leftData];
  637. this.$refs.multipleTable.clearSelection();
  638. } else {
  639. this.$errorMsg("请选择要添加的经销商");
  640. }
  641. },
  642. handleAllDelete() {
  643. if (this.type === 2 && this.rightData.length) {
  644. for (let i = 0; i < this.dataL.length; i++) {
  645. for (let j = 0; j < this.rightData.length; j++) {
  646. if (this.dataL[i].id === this.rightData[j].customerId) {
  647. this.$set(this.dataL[i], "disabled", false);
  648. // this.dataL[i].disabled = false
  649. }
  650. }
  651. }
  652. this.custoList = this.resArr(this.custoList, this.rightData);
  653. this.$refs.multipleTable.clearSelection();
  654. } else {
  655. this.$errorMsg("请选择要删除的经销商");
  656. }
  657. },
  658. handleAdd() {
  659. if (this.type === 1 && this.leftData.length) {
  660. for (let i = 0; i < this.dataL.length; i++) {
  661. for (let j = 0; j < this.leftData.length; j++) {
  662. if (this.dataL[i].id === this.leftData[j].id) {
  663. this.dataL[i].disabled = true;
  664. }
  665. }
  666. }
  667. this.custoList = [...this.custoList, ...this.leftData];
  668. this.leftData = [];
  669. this.$refs.multipleTable.clearSelection();
  670. } else {
  671. this.$errorMsg("请选择要添加的经销商");
  672. }
  673. },
  674. handleDelete() {
  675. if (this.type === 2 && this.rightData.length) {
  676. for (let i = 0; i < this.dataL.length; i++) {
  677. for (let j = 0; j < this.rightData.length; j++) {
  678. if (this.dataL[i].id === this.rightData[j].customerId) {
  679. this.$set(this.dataL[i], "disabled", false);
  680. // this.dataL[i].disabled = false
  681. }
  682. }
  683. }
  684. this.custoList = this.resArr(this.custoList, this.rightData);
  685. this.$refs.multipleTable.clearSelection();
  686. } else {
  687. this.$errorMsg("请选择要删除的经销商");
  688. }
  689. },
  690. // 提交数据
  691. async handleSave() {
  692. this.$emit("handlEditPolicy", this.custoList,this.region);
  693. },
  694. handleReset() {
  695. this.dataR = this.rightData = [];
  696. this.keyword = "";
  697. this.$emit("handleReset");
  698. },
  699. },
  700. };
  701. </script>
  702. <style lang="scss" scoped>
  703. .radio {
  704. display: flex;
  705. align-items: center;
  706. margin: 0 0 20px 0;
  707. }
  708. .import-btn {
  709. margin: 0 20px;
  710. }
  711. .cus-btn{
  712. margin: 0;
  713. }
  714. .value {
  715. ::v-deep .el-input__prefix {
  716. display: none;
  717. }
  718. }
  719. .descriptions {
  720. // border: #EBEEF5;
  721. border: 1px solid #ebeef5;
  722. border-bottom: none;
  723. .el-row {
  724. height: 40px;
  725. line-height: 40px;
  726. }
  727. .el-col:nth-child(odd) {
  728. background-color: #ebeef5;
  729. }
  730. .el-col {
  731. padding: 0 15px;
  732. height: 100%;
  733. border-bottom: 1px solid #ebeef5;
  734. }
  735. }
  736. .el-divider--horizontal {
  737. margin: 20px 0;
  738. }
  739. .col {
  740. height: 100px;
  741. }
  742. .import-btn {
  743. margin-right: 10px;
  744. display: inline-block;
  745. }
  746. ::v-deep .el-input__icon .el-icon-time {
  747. display: none;
  748. }
  749. .middle_box {
  750. margin-top: 80px;
  751. text-align: center;
  752. height: 430px;
  753. display: flex;
  754. flex-direction: column;
  755. align-content: center;
  756. justify-content: space-between;
  757. align-items: center;
  758. }
  759. .img-box {
  760. height: 150px;
  761. display: flex;
  762. align-items: center;
  763. }
  764. </style>