demoDevice.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760
  1. <template>
  2. <div class="context">
  3. <el-page-header @back="goBack" content="演示设备"></el-page-header>
  4. <div class="panel">
  5. <br />
  6. <h5>{{ regionName }}</h5>
  7. </div>
  8. <div class="change">
  9. <el-button @click="addMember" type="primary" size="mini">新增演示设备</el-button>
  10. <el-button @click="editList" size="mini">编辑演示设备</el-button>
  11. <el-button @click="query" type="success" size="mini">刷新</el-button>
  12. <!--<el-button @click="delList" type="danger">删除演示设备</el-button>-->
  13. </div>
  14. <div class="table">
  15. <el-table
  16. :data="tableData"
  17. border
  18. is-horizontal-resize
  19. :default-sort="{ prop: 'date', order: 'descending' }"
  20. element-loading-background="rgba(0, 0, 0, 0.8)"
  21. class
  22. @selection-change="handleSelectionChange"
  23. @current-change="clickChange"
  24. >
  25. <el-table-column label="选择" width="55">
  26. <template slot-scope="scope">
  27. <el-radio v-model="tableRadio" :label="scope.row">
  28. <i></i>
  29. </el-radio>
  30. </template>
  31. </el-table-column>
  32. <el-table-column label="序号" type="index" width="50" align="center">
  33. <template scope="scope">
  34. <span>{{(start) + scope.$index + 1}}</span>
  35. </template>
  36. </el-table-column> <el-table-column prop="EqSn" label="序列号"></el-table-column>
  37. <el-table-column prop="Version" label="版本" sortable></el-table-column>
  38. <el-table-column prop="ShopName" label="所属门店" sortable></el-table-column>
  39. <el-table-column prop="SvName" label="所属区域" sortable></el-table-column>
  40. <el-table-column prop="Memo" label="备注" sortable></el-table-column>
  41. <el-table-column prop="Status" label="状态" sortable>
  42. <!--1:启用 8:暂停 9:删除-->
  43. <template slot-scope="scope">
  44. <span v-if="scope.row.Status == 1" style="color: yellowgreen">启用</span>
  45. <span v-if="scope.row.Status == 8" style="color: yellow">暂停</span>
  46. <span v-if="scope.row.Status == 9" style="color: red">删除</span>
  47. </template>
  48. </el-table-column>
  49. <el-table-column prop="id" label="操作">
  50. <template slot-scope="scope">
  51. <el-button type="danger" size="mini" @click="pauseRowDel(scope.row)">删除</el-button>
  52. </template>
  53. </el-table-column>
  54. </el-table>
  55. <br />
  56. <el-pagination
  57. background
  58. :total="pageination.total"
  59. :page-size="pageination.pageItem"
  60. @current-change="pageChange"
  61. ></el-pagination>
  62. </div>
  63. <el-dialog :title="dialogTitle" :visible.sync="dialogMemberVisible" width="650px">
  64. <div class="dialogContent">
  65. <div class>
  66. <el-form ref="form" :model="form" label-width="160px">
  67. <el-form-item label="设备序列号">
  68. <el-input v-model="form.eqSn"></el-input>
  69. </el-form-item>
  70. <el-form-item label="版本号">
  71. <el-input v-model="form.version"></el-input>
  72. </el-form-item>
  73. <el-form-item label="店面列表">
  74. <el-select v-model="form.shopId" @change="changeShopId">
  75. <el-option
  76. v-for="item in form.shopOptions"
  77. :key="item.ShopID"
  78. :label="item.ShopName"
  79. :value="item.ShopID"
  80. ></el-option>
  81. </el-select>
  82. </el-form-item>
  83. <el-form-item label="区域列表">
  84. <el-select v-model="form.venveId">
  85. <el-option
  86. v-for="item in form.venveOptions"
  87. :key="item.SvId"
  88. :label="item.Name"
  89. :value="item.SvId"
  90. ></el-option>
  91. </el-select>
  92. </el-form-item>
  93. <el-form-item label="备注">
  94. <el-input v-model="form.memo"></el-input>
  95. </el-form-item>
  96. </el-form>
  97. </div>
  98. </div>
  99. <div class="dialogFooter">
  100. <el-button
  101. type="primary"
  102. size="small"
  103. v-if="form.btnType == 0"
  104. @click="confirmMember"
  105. >确定</el-button>
  106. <el-button
  107. type="primary"
  108. size="small"
  109. v-if="form.btnType == 1"
  110. @click="confirmEditMember"
  111. >确定</el-button>
  112. <el-button size="small" @click="dialogMemberVisible = false">取消</el-button>
  113. </div>
  114. </el-dialog>
  115. </div>
  116. </template>
  117. <script>
  118. import Global from '../Global.js'
  119. import {
  120. QueryDemoVenueEquipByLoallout,
  121. QueryShopListByLoallout,
  122. ShopListQuery,
  123. QueryShopVenue,
  124. QueryVenueEquip,
  125. AddShopVenueEquip,
  126. EditShopVenueEquip,
  127. ShopVenueEquipEditStatus
  128. } from "../api/getApiRes";
  129. let qs = require('qs');
  130. export default {
  131. data() {
  132. return {
  133. regionName: '',
  134. dialogVisible: false,
  135. dialogMemberVisible: false,
  136. dialogTitle: '新增演示设备',
  137. // panel 配置项目
  138. multipleSelection: [],
  139. tableRadio: [],
  140. ShopList: [],
  141. start: 0,
  142. draw: 1,
  143. pageination: {
  144. pageItem: 10,
  145. pageoptions: pageOptions(),
  146. total: 100,
  147. pageIndex: 1,
  148. },
  149. form: {
  150. eqId: '',
  151. eqSn: '',
  152. name: '',
  153. version: '',
  154. userCode: '',
  155. venveId: '',
  156. shopId: '',
  157. ServiceKey: '',
  158. ServiceId: '',
  159. memo: '',
  160. btnType: 0,
  161. equipType: 1,
  162. shopOptions: [],
  163. venveOptions: [],
  164. },
  165. options: [
  166. { value: 1, label: 'TVBox' },
  167. { value: 2, label: 'BLEHub' },
  168. { value: 3, label: '演示设备' },
  169. ],
  170. shops: [],
  171. tableData: [],
  172. serachBtnStatus: false,
  173. }
  174. },
  175. mounted() {
  176. this.getShopListSelect();
  177. this.getTableQuery();
  178. },
  179. methods: {
  180. query() {
  181. this.getTableQuery();
  182. this.$message.success('设备列表已刷新');
  183. },
  184. // 选择店铺后重新加载区域选择列表
  185. changeShopId(i) {
  186. let that = this;
  187. let row = '';
  188. that.ShopList.map(function(item) {
  189. if (parseInt(item.ShopID) == parseInt(i)) {
  190. row = item;
  191. }
  192. });
  193. that.getQueryShopVenue(row.Key, row.ShopID);
  194. },
  195. // 获取店面列表
  196. getShopListSelect() {
  197. let that = this;
  198. let param = {
  199. key: '73c845ca89d952074b36a5b18d961cac',
  200. };
  201. let postdata = qs.stringify(param);
  202. QueryShopListByLoallout(postdata).then(res => {
  203. let json = res;
  204. if (json.Code == 0) {
  205. if (json.Rs == '') {
  206. that.$message.error('当前没有可选的店铺,请先在店面管理中添加店铺!');
  207. return false
  208. }
  209. that.form.shopOptions = json.Rs;
  210. that.ShopList = json.Rs;
  211. } else {
  212. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  213. }
  214. })
  215. },
  216. // 获取区域列表
  217. getQueryShopVenue(ServiceKey, ServiceId) {
  218. let that = this;
  219. this.form.ServiceKey = ServiceKey;
  220. this.form.ServiceId = ServiceId;
  221. that.loading = true;
  222. let param = {
  223. key: ServiceKey,
  224. shopId: ServiceId,
  225. };
  226. let postdata = qs.stringify(param);
  227. that.form.venveId = '';
  228. QueryShopVenue(postdata).then(res => {
  229. let json = res;
  230. if (json.Code == 0) {
  231. that.loading = false;
  232. if (json.Rs) {
  233. that.form.venveOptions = json.Rs;
  234. } else {
  235. that.form.venveOptions = []
  236. }
  237. } else {
  238. if (!localStorage.ServiceKey) {
  239. that.$message.error('还未与心率系统对接,请联系管理员');
  240. } else {
  241. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  242. }
  243. }
  244. })
  245. },
  246. goBack() {
  247. this.$router.push({
  248. path: '/region', query: {}
  249. });
  250. },
  251. // 删除
  252. pauseRowDel(row) {
  253. let that = this;
  254. let line = "";
  255. let param = {
  256. key: row.ShopKey,
  257. shopId: row.ShopID,
  258. svId: row.SvId,
  259. eqId: row.EqId,
  260. status: 9,//1:启用 8:暂停 9:删除
  261. };
  262. let postdata = qs.stringify(param);
  263. this.$confirm('此操作将永久删除该演示设备, 是否继续?', '提示', {
  264. confirmButtonText: '确定',
  265. cancelButtonText: '取消',
  266. type: 'warning'
  267. }).then(() => {
  268. ShopVenueEquipEditStatus(postdata).then(res => {
  269. let json = res;
  270. if (json.Code == 0) {
  271. that.$message({
  272. showClose: true,
  273. message: '选中的演示设备已删除!',
  274. type: 'success'
  275. });
  276. // 重载列表
  277. that.getTableQuery();
  278. } else {
  279. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  280. }
  281. });
  282. }).catch(() => {
  283. this.$message({
  284. type: 'info',
  285. message: '已取消删除'
  286. });
  287. });
  288. },
  289. clearForm() {
  290. // clear
  291. this.form.eqSn = '';
  292. this.form.version = '';
  293. this.form.shopId = '';
  294. this.form.venveId = '';
  295. this.form.memo = '';
  296. },
  297. handleSelectionChange(val) {
  298. this.multipleSelection = val;
  299. },
  300. // 新增演示设备
  301. addMember() {
  302. this.clearForm();
  303. this.dialogMemberVisible = true;
  304. this.btnType = 0;
  305. this.dialogTitle = '新增演示设备';
  306. this.getShopListSelect();
  307. },
  308. clickChange(item) {
  309. this.tableRadio = item
  310. },
  311. // 删除
  312. delList() {
  313. let that = this;
  314. if (this.tableRadio.length == 0) {
  315. this.$message.error("请先选中一条记录");
  316. return false
  317. }
  318. let userId = this.tableRadio.Id;
  319. let param = {
  320. key: localStorage.ServiceKey,
  321. shopId: localStorage.ServiceId,
  322. svId: this.$route.query.svId,
  323. eqId: this.tableRadio.EqId,
  324. status: 9,//1:启用 8:暂停 9:删除
  325. };
  326. let postdata = qs.stringify(param);
  327. this.$confirm('此操作将永久删除该演示设备, 是否继续?', '提示', {
  328. confirmButtonText: '确定',
  329. cancelButtonText: '取消',
  330. type: 'warning'
  331. }).then(() => {
  332. ShopVenueEquipEditStatus(postdata).then(res => {
  333. let json = res;
  334. if (json.Code == 0) {
  335. that.$message({
  336. showClose: true,
  337. message: '选中的演示设备已删除!',
  338. type: 'success'
  339. });
  340. // 重载列表
  341. that.getTableQuery();
  342. } else {
  343. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  344. }
  345. });
  346. }).catch(() => {
  347. this.$message({
  348. type: 'info',
  349. message: '已取消删除'
  350. });
  351. });
  352. },
  353. // 编辑
  354. editList() {
  355. let that = this;
  356. this.clearForm();
  357. if (this.tableRadio.length == 0) {
  358. this.$message.error("请先选中一条记录");
  359. return false
  360. }
  361. let row = this.tableRadio;
  362. // 蒙正ShopID 3 ServiceId 5
  363. // console.log(row);
  364. // let line = '';
  365. // that.ShopList.map(function (item) {
  366. // if (parseInt(item.ShopID) == parseInt(row.ShopID)) {
  367. // line = item;
  368. // }
  369. // });
  370. // console.log(line);
  371. that.getQueryShopVenue(row.ShopKey, row.ShopID);
  372. this.form.shopId = row.ShopID;
  373. this.form.venveId = row.SvId;
  374. this.form.userId = row.Id;
  375. this.form.name = row.Name;
  376. this.form.userCode = row.Usercode;
  377. this.form.password = '';
  378. this.form.phone = row.Phone;
  379. this.form.eqId = row.EqId;
  380. this.form.eqSn = row.EqSn.trim();
  381. this.form.version = row.Version.trim();
  382. this.form.equipType = row.EquipType;
  383. this.form.memo = row.Memo;
  384. this.form.adminType = row.AdminType;
  385. this.dialogVisible = true;
  386. this.dialogTitle = '编辑演示设备';
  387. this.form.btnType = 1;
  388. this.dialogMemberVisible = true
  389. },
  390. // 确认提交新增演示设备
  391. confirmMember() {
  392. let that = this;
  393. // checkNum
  394. if (!that.form.eqSn) {
  395. this.$message.error('错了哦,设备序列号不能为空');
  396. return false
  397. }
  398. if (that.form.version.length > 10) {
  399. this.$message.error('错了哦,版本号字符不能超过10位');
  400. return false
  401. }
  402. if (!that.form.shopId) {
  403. this.$message.error('错了哦,所选商家不能为空');
  404. return false
  405. }
  406. if (!that.form.venveId) {
  407. this.$message.error('错了哦,所选区域不能为空');
  408. return false
  409. }
  410. let param = {
  411. key: this.form.ServiceKey,
  412. shopId: this.form.ServiceId,
  413. svId: this.form.venveId,
  414. eqSn: this.form.eqSn,
  415. version: this.form.version,
  416. equipType: 3,//1:TVBox 2:BLEHub 3:演示设备
  417. memo: this.form.memo
  418. };
  419. let postdata = qs.stringify(param);
  420. AddShopVenueEquip(postdata).then(res => {
  421. let json = res;
  422. if (json.Code == 0) {
  423. // 关闭弹窗
  424. that.dialogMemberVisible = false;
  425. // 重载列表
  426. that.getTableQuery();
  427. that.$message({
  428. showClose: true,
  429. message: '所属设备添加成功!',
  430. type: 'success'
  431. });
  432. } else {
  433. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  434. }
  435. })
  436. },
  437. confirmEditMember() {
  438. let that = this;
  439. // checkNum
  440. if (!that.form.eqSn) {
  441. this.$message.error('错了哦,设备序列号不能为空');
  442. return false
  443. }
  444. if (that.form.version.length > 10) {
  445. this.$message.error('错了哦,版本号字符不能超过10位');
  446. return false
  447. }
  448. let param = {
  449. key: this.form.ServiceKey,
  450. shopId: this.form.ServiceId,
  451. svId: this.form.venveId,
  452. eqId: this.form.eqId,
  453. eqSn: this.form.eqSn,
  454. version: this.form.version,
  455. equipType: 3,//1:TVBox 2:BLEHub 3:演示设备
  456. memo: this.form.memo
  457. };
  458. let postdata = qs.stringify(param);
  459. EditShopVenueEquip(postdata).then(res => {
  460. let json = res;
  461. if (json.Code == 0) {
  462. // 关闭弹窗
  463. that.dialogMemberVisible = false;
  464. // 重载列表
  465. that.getTableQuery();
  466. that.$message({
  467. showClose: true,
  468. message: '演示设备信息编辑成功!',
  469. type: 'success'
  470. });
  471. } else {
  472. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  473. }
  474. })
  475. },
  476. // 查询按钮
  477. query() {
  478. // 按钮倒计时
  479. let that = this;
  480. that.serachBtnStatus = true;
  481. let totalTime = 2;
  482. let clock = window.setInterval(() => {
  483. totalTime--;
  484. if (totalTime < 0) {
  485. totalTime = 2;
  486. that.serachBtnStatus = false;
  487. }
  488. }, 1000);
  489. this.getTableQuery();
  490. this.$message.success('查询完毕');
  491. },
  492. // 页面数据查询
  493. getTableQuery() {
  494. let that = this;
  495. that.loading = true;
  496. let param = {
  497. // key: localStorage.ServiceKey,
  498. key: '73c845ca89d952074b36a5b18d961cac',
  499. };
  500. let postdata = qs.stringify(param);
  501. QueryDemoVenueEquipByLoallout(postdata).then(res => {
  502. let json = res;
  503. if (json.Code == 0) {
  504. that.loading = false;
  505. if (json.Rs) {
  506. that.allTableData = json.Rs;
  507. that.recordsTotal = json.Rs.length;
  508. } else {
  509. that.allTableData = [];
  510. that.recordsTotal = 0;
  511. }
  512. // 设置分页数据
  513. that.setPaginations();
  514. } else {
  515. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  516. }
  517. })
  518. },
  519. // 设置分页数据
  520. setPaginations() {
  521. // 分页属性
  522. let that = this;
  523. that.pageination.total = that.recordsTotal;
  524. // 默认分页
  525. that.tableData = that.allTableData.filter((item, index) => {
  526. return index < that.pageination.pageItem;
  527. });
  528. },
  529. // 每页显示数量
  530. handleSizeChange() {
  531. let that = this;
  532. that.tableData = that.allTableData.filter((item, index) => {
  533. return index < that.pageination.pageItem;
  534. });
  535. that.draw = that.pageination.pageItem;
  536. that.getTableQuery();
  537. },
  538. // 翻页
  539. pageChange(pageIndex) {
  540. let that = this;
  541. // 获取当前页
  542. let index = that.pageination.pageItem * (pageIndex - 1);
  543. // 数据总数
  544. let nums = that.pageination.pageItem * pageIndex;
  545. // 容器
  546. let tables = [];
  547. for (var i = index; i < nums; i++) {
  548. if (that.allTableData[i]) {
  549. tables.push(that.allTableData[i])
  550. }
  551. this.tableData = tables;
  552. }
  553. that.start = index * that.draw;
  554. // that.getTableQuery();
  555. },
  556. // 自动排序
  557. sortChange(params) {
  558. console.log(params)
  559. },
  560. // 过滤时间
  561. filterFmtDate(value, row, column) {
  562. let that = this;
  563. return nonTfmtDate(column, 11);
  564. },
  565. // 暂停
  566. pause(row) {
  567. let that = this;
  568. console.log(row);
  569. this.$confirm('是否暂停设备' + row.EqSn + '?', '暂停操作', {
  570. confirmButtonText: '确定',
  571. cancelButtonText: '取消',
  572. type: 'warning'
  573. }).then(() => {
  574. let param = {
  575. key: localStorage.ServiceKey,
  576. shopId: localStorage.ServiceId,
  577. svId: this.$route.query.svId,
  578. eqId: row.EqId,
  579. status: 8,//1:启用 8:暂停 9:删除
  580. };
  581. let postdata = qs.stringify(param);
  582. ShopVenueEquipEditStatus(postdata).then(res => {
  583. let json = res;
  584. if (json.Code == 0) {
  585. that.$message({
  586. showClose: true,
  587. message: row.EqSn + '暂停成功!',
  588. type: 'success'
  589. });
  590. // table 重载
  591. that.getTableQuery();
  592. } else {
  593. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  594. }
  595. })
  596. }).catch(() => {
  597. this.$message({
  598. type: 'info',
  599. message: '已取消暂停'
  600. });
  601. });
  602. },
  603. // 开启
  604. run(row) {
  605. let that = this;
  606. this.$confirm('是否开启设备' + row.EqSn + '?', '开启操作', {
  607. confirmButtonText: '确定',
  608. cancelButtonText: '取消',
  609. type: 'warning'
  610. }).then(() => {
  611. let param = {
  612. key: localStorage.ServiceKey,
  613. shopId: localStorage.ServiceId,
  614. svId: this.$route.query.svId,
  615. eqId: row.EqId,
  616. status: 1,//1:启用 8:暂停 9:删除
  617. };
  618. let postdata = qs.stringify(param);
  619. ShopVenueEquipEditStatus(postdata).then(res => {
  620. let json = res;
  621. if (json.Code == 0) {
  622. that.$message({
  623. showClose: true,
  624. message: row.EqSn + '开启成功!',
  625. type: 'success'
  626. });
  627. // table 重载
  628. that.getTableQuery();
  629. } else {
  630. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  631. }
  632. })
  633. }).catch(() => {
  634. this.$message({
  635. type: 'info',
  636. message: '已取消开启'
  637. });
  638. });
  639. },
  640. },
  641. watch: {
  642. $route(to) {
  643. if (to.name == 'heartLog') {
  644. this.regionName = this.$route.query.name;
  645. this.getTableQuery();
  646. }
  647. },
  648. },
  649. }
  650. </script>
  651. <style scoped>
  652. @import "../assets/css/panel.css";
  653. .context {
  654. /* height: 770px; */
  655. overflow-y: scroll;
  656. display: block;
  657. margin: 0 auto;
  658. background-color: #fff !important;
  659. padding: 30px;
  660. padding-bottom: 60px;
  661. }
  662. .panel-body {
  663. padding: 20px;
  664. background: #f0f2f5;
  665. }
  666. .change {
  667. width: 100%;
  668. overflow: hidden;
  669. display: block;
  670. margin: 0 auto;
  671. padding-top: 10px;
  672. padding-bottom: 10px;
  673. }
  674. .change button {
  675. float: left;
  676. }
  677. .change button.pull-right {
  678. float: right;
  679. }
  680. .dialogTitle {
  681. width: 100%;
  682. overflow: hidden;
  683. display: block;
  684. margin: 0 auto;
  685. color: #000000;
  686. font-size: 18px;
  687. text-align: center;
  688. }
  689. .dialogTitle em {
  690. float: none;
  691. font-style: normal;
  692. color: #3799ff;
  693. margin: 0;
  694. }
  695. /deep/ .el-transfer-panel__item .el-checkbox__input {
  696. left: 40px;
  697. }
  698. .dialogFooter {
  699. width: 90%;
  700. overflow: hidden;
  701. display: block;
  702. margin: 0 auto;
  703. margin-top: 10px;
  704. }
  705. .dialogFooter button {
  706. float: right;
  707. margin-left: 10px;
  708. }
  709. /deep/ .el-date-editor .el-range__icon {
  710. line-height: 22px;
  711. }
  712. .panel /deep/ .el-date-editor .el-range-separator {
  713. line-height: 22px;
  714. }
  715. /deep/ .el-select {
  716. width: 100%;
  717. }
  718. .panel h5 {
  719. font-size: 24px;
  720. }
  721. /*ipad only*/
  722. @media only screen and (max-width: 1366px) {
  723. .panel /deep/ .el-date-editor--daterange {
  724. width: 100%;
  725. }
  726. /deep/ .el-popper {
  727. padding-bottom: 60px;
  728. }
  729. }
  730. </style>