list.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. <template>
  2. <a-spin :spinning="spinning" tip="Loading...">
  3. <div class="productInfoList-wrap">
  4. <a-card size="small" :bordered="false" class="promotionSalesRealTimeReport-wrap searchBox">
  5. <!-- 查询 -->
  6. <div ref="tableSearch" class="table-page-search-wrapper newTableSearchName">
  7. <a-form-model id="promotionSalesRealTimeList-form" layout="inline" ref="ruleForm" :rules="rules" :model="newQueryParam">
  8. <a-row :gutter="15">
  9. <a-col :md="6" :sm="24">
  10. <a-form-model-item label="下推时间" prop="salesDate">
  11. <rangeDate id="promotionSalesRealTimeList-salesDate" ref="rangeDate" :value="newQueryParam.salesDate" @change="salesDateChange" />
  12. </a-form-model-item>
  13. </a-col>
  14. <a-col :md="6" :sm="24">
  15. <a-form-model-item label="促销名称">
  16. <a-input
  17. id="promotionSalesRealTimeList-title"
  18. v-model.trim="newQueryParam.promoRuleReport.title"
  19. allowClear
  20. placeholder="请输入促销名称" />
  21. </a-form-model-item>
  22. </a-col>
  23. <a-col :md="6" :sm="24">
  24. <a-form-model-item label="促销类型">
  25. <v-select
  26. v-model="newQueryParam.promoRuleReport.promotionRuleType"
  27. ref="ruleType"
  28. id="promotionSalesRealTimeList-ruleType"
  29. code="PROMOTION_RULE_TYPE"
  30. placeholder="请选择促销类型"
  31. allowClear></v-select>
  32. </a-form-model-item>
  33. </a-col>
  34. <template v-if="advanced">
  35. <a-col :md="6" :sm="24">
  36. <a-form-model-item label="销售单号">
  37. <a-input
  38. id="promotionSalesRealTimeList-salesBillNo"
  39. v-model.trim="newQueryParam.salesBillNo"
  40. allowClear
  41. placeholder="请输入销售单号" />
  42. </a-form-model-item>
  43. </a-col>
  44. <a-col :md="6" :sm="24">
  45. <a-form-model-item label="促销开始时间">
  46. <a-range-picker
  47. style="width:100%"
  48. v-model="time"
  49. :format="dateFormat"
  50. id="promotionSalesRealTimeList-time"
  51. :placeholder="['开始时间', '结束时间']"
  52. @change="dateChange"></a-range-picker>
  53. </a-form-model-item>
  54. </a-col>
  55. <a-col :md="6" :sm="24">
  56. <a-form-model-item label="规则">
  57. <a-input
  58. id="promotionSalesRealTimeList-ruleInfo"
  59. v-model.trim="newQueryParam.promoRuleReport.ruleInfo"
  60. allowClear
  61. placeholder="请输入规则关键字" />
  62. </a-form-model-item>
  63. </a-col>
  64. <a-col :md="6" :sm="24">
  65. <a-form-model-item label="客户级别">
  66. <v-select
  67. v-model="newQueryParam.buyerLevel"
  68. ref="buyerLevel"
  69. id="promotionSalesRealTimeList-buyerLevel"
  70. code="DEALER_LEVEL"
  71. placeholder="请选择客户级别"
  72. allowClear></v-select>
  73. </a-form-model-item>
  74. </a-col>
  75. <a-col :md="6" :sm="24">
  76. <a-form-model-item label="客户名称">
  77. <a-input
  78. id="promotionSalesRealTimeList-buyerName"
  79. v-model.trim="newQueryParam.buyerName"
  80. allowClear
  81. placeholder="请输入客户名称" />
  82. </a-form-model-item>
  83. </a-col>
  84. <a-col :md="6" :sm="24">
  85. <a-form-model-item label="所在区域">
  86. <subarea ref="subarea" id="promotionSalesRealTimeList-subarea" @change="subareaChange"></subarea>
  87. </a-form-model-item>
  88. </a-col>
  89. <a-col :md="6" :sm="24">
  90. <a-form-model-item label="地区">
  91. <AreaList id="promotionSalesRealTimeList-areaList" changeOnSelect ref="areaList" @change="areaChange" defValKey="id"></AreaList>
  92. </a-form-model-item>
  93. </a-col>
  94. <a-col :md="6" :sm="24" v-show="isShowCustomerSearch">
  95. <a-form-model-item label="客服">
  96. <customerService ref="customerName" id="promotionSalesRealTimeList-customerName" v-model="newQueryParam.bizUserSn"></customerService>
  97. </a-form-model-item>
  98. </a-col>
  99. <a-col :md="6" :sm="24">
  100. <a-form-model-item label="新/老客户">
  101. <a-select id="promotionSalesRealTimeList-customFlag" v-model="newQueryParam.customFlag" placeholder="请选择" allowClear>
  102. <a-select-option value="0">新客户</a-select-option>
  103. <a-select-option value="1">老客户</a-select-option>
  104. </a-select>
  105. </a-form-model-item>
  106. </a-col>
  107. </template>
  108. <a-col :md="isShowCustomerSearch&&advanced?24:6" :sm="24" style="margin-bottom: 10px;" :style="{textAlign: isShowCustomerSearch&&advanced?'center':''}">
  109. <span class="table-page-search-submitButtons">
  110. <a-button type="primary" id="promotionSalesRealTimeList-refresh":disabled="disabled" @click="testForm('search')">查询</a-button>
  111. <a-button style="margin-left: 8px" id="promotionSalesRealTimeList-reset" :disabled="disabled" @click="resetSearchForm">重置</a-button>
  112. <a-button
  113. style="margin-left: 10px"
  114. type="primary"
  115. class="button-warning"
  116. @click="testForm('export')"
  117. :disabled="disabled"
  118. :loading="exportLoading"
  119. id="promotionSalesRealTimeList-export"
  120. v-if="$hasPermissions('B_promotionSalesExport')">导出</a-button>
  121. <a @click="advanced=!advanced" style="margin-left: 8px">
  122. {{ advanced ? '收起' : '展开' }}
  123. <a-icon :type="advanced ? 'up' : 'down'" />
  124. </a>
  125. </span>
  126. </a-col>
  127. </a-row>
  128. </a-form-model>
  129. </div>
  130. </a-card>
  131. <!-- 列表 -->
  132. <a-card size="small" :bordered="false">
  133. <s-table
  134. class="sTable fixPagination"
  135. ref="table"
  136. size="small"
  137. :rowKey="(record) => record.no"
  138. rowKeyName="no"
  139. :columns="columns"
  140. :data="loadData"
  141. :pageSize="30"
  142. :style="{ height: tableHeight+84.5+'px' }"
  143. :scroll="{ y: tableHeight-20,x:1890}"
  144. :defaultLoadData="false"
  145. bordered>
  146. <!-- 促销时间 -->
  147. <template slot="promotionTime" slot-scope="text, record">
  148. <span v-if="record.promotion && record.promotion.promotionDateStart">{{ record.promotion.promotionDateStart }}-{{ record.promotion.promotionDateEnd }}</span>
  149. <span v-else>--</span>
  150. </template>
  151. <!-- 规则 -->
  152. <template slot="promotionDesc" slot-scope="text, record">
  153. <div v-if="record.promotionRule.ruleInfo" v-html="record.promotionRule.ruleInfo"></div>
  154. <span v-else>--</span>
  155. </template>
  156. <!-- 地区 -->
  157. <template slot="addressInfo" slot-scope="text, record">
  158. <span v-if="record.provinceName">{{ record.provinceName }}{{ record.cityName?'/'+record.cityName:'' }}{{ record.districtName?'/'+record.districtName :'' }}</span>
  159. <span v-else>--</span>
  160. </template>
  161. <template slot="footer">
  162. <a-row>
  163. <a-col span="24">
  164. <a-row>
  165. <a-col
  166. span="3">实时数量(非促):{{ (totalData && (totalData.notGiftQty || totalData.notGiftQty==0)) ? totalData.notGiftQty : '--' }}</a-col>
  167. <a-col
  168. span="3">实时数量(促):{{ (totalData && (totalData.giftQty || totalData.giftQty==0)) ? totalData.giftQty : '--' }}</a-col>
  169. <a-col
  170. span="3">实时实售金额:{{ (totalData && (totalData.totalRealAmount || totalData.totalRealAmount==0)) ? toThousands(totalData.totalRealAmount) : '--' }}</a-col>
  171. <a-col
  172. span="3">实时开单金额:{{ (totalData && (totalData.totalAmount || totalData.totalAmount==0)) ? toThousands(totalData.totalAmount) : '--' }}</a-col>
  173. <a-col
  174. span="3">实时成本金额:{{ (totalData && (totalData.totalRealCost || totalData.totalRealCost==0)) ? toThousands(totalData.totalRealCost) : '--' }}</a-col>
  175. <a-col
  176. span="4">实时损失成本:{{ (totalData && (totalData.lossCost || totalData.lossCost==0)) ? toThousands(totalData.lossCost) : '--' }}</a-col>
  177. <a-col
  178. span="5">实时损失费用:{{ (totalData && (totalData.lossAmount || totalData.lossAmount==0)) ? toThousands(totalData.lossAmount) : '--' }}</a-col>
  179. </a-row>
  180. </a-col>
  181. </a-row>
  182. </template>
  183. </s-table>
  184. </a-card>
  185. </div>
  186. <!-- 导出提示框 -->
  187. <reportModal :visible="showExport" @close="showExport=false"></reportModal>
  188. </a-spin>
  189. </template>
  190. <script>
  191. import { commonMixin } from '@/utils/mixin'
  192. import { hdExportExcel } from '@/libs/exportExcel'
  193. import getDate from '@/libs/getDate.js'
  194. // 组件
  195. import { STable, VSelect } from '@/components'
  196. import reportModal from '@/views/common/reportModal.vue'
  197. import rangeDate from '@/views/common/rangeDate.vue'
  198. import customerService from '@/views/common/customerService.vue'
  199. import subarea from '@/views/common/subarea.js'
  200. import AreaList from '@/views/common/areaList.js'
  201. // 接口
  202. import { salesPromoRealReportList, salesPromoRealReportCount, exportSalesPromoRealReport } from '@/api/reportData'
  203. export default {
  204. name: 'PromotionSalesRealTimeList',
  205. mixins: [commonMixin],
  206. components: { STable, VSelect, reportModal, AreaList, rangeDate, subarea, customerService },
  207. data () {
  208. const _this = this
  209. return {
  210. spinning: false,
  211. advanced: true, // 高级搜索 展开/关闭
  212. disabled: false, // 查询、重置按钮是否可操作
  213. tableHeight: 0, // 表格高度
  214. exportLoading: false, // 导出按钮加载状态
  215. showExport: false, // 导出弹窗
  216. time: undefined, // 促销开始时间
  217. // 查询条件
  218. newQueryParam: {
  219. // 下推时间 默认值
  220. salesDate: [
  221. getDate.getCurrMonthDays().starttime, // 下推开始时间
  222. getDate.getCurrMonthDays().endtime// 下推结束时间
  223. ],
  224. beginAuditDate: getDate.getCurrMonthDays().starttime, // 审核开始时间
  225. endAuditDate: getDate.getCurrMonthDays().endtime, // 审核结束时间
  226. promoRuleReport: {
  227. promotionDateStart: undefined, // 促销时间-开始
  228. promotionDateEnd: undefined, // 促销时间-结束
  229. title: '', // 促销名称
  230. promotionRuleType: undefined, // 促销类型
  231. ruleInfo: '' // 规则
  232. },
  233. salesBillNo: '', // 销售单号
  234. buyerLevel: undefined, // 客户级别
  235. buyerName: '', // 客户名称
  236. subareaArea: {
  237. subareaSn: '', // 区域
  238. subareaAreaSn: ''// 分区
  239. },
  240. dealerProvinceSn: undefined, // 省份编码
  241. dealerCitySn: undefined, // 城市编码
  242. dealerDistrictSn: undefined, // 区域编码
  243. bizUserSn: undefined, // 客服
  244. customFlag: undefined // 客户类型
  245. },
  246. rules: {
  247. salesDate: [{ required: true, message: '请选择下推时间', trigger: 'change' }]
  248. },
  249. dateFormat: 'YYYY-MM-DD', // 时间格式
  250. totalData: null, // 统计合计
  251. // 表格列
  252. columns: [{
  253. title: '促销名称',
  254. dataIndex: 'promotion.title',
  255. width: '160px',
  256. align: 'left',
  257. customRender: function (text) {
  258. return text || '--'
  259. },
  260. fixed: 'left',
  261. ellipsis: true
  262. },
  263. {
  264. title: '促销时间',
  265. scopedSlots: {
  266. customRender: 'promotionTime'
  267. },
  268. width: '130px',
  269. align: 'center',
  270. fixed: 'left'
  271. },
  272. {
  273. title: '费用所属部门',
  274. dataIndex: 'departmentName',
  275. width: '160px',
  276. align: 'center',
  277. customRender: function (text) {
  278. return text || '--'
  279. },
  280. ellipsis: true,
  281. fixed: 'left'
  282. },
  283. {
  284. title: '促销类型',
  285. dataIndex: 'promotionRule.promotionRuleTypeDictValue',
  286. width: '100px',
  287. align: 'center',
  288. customRender: function (text) {
  289. return text || '--'
  290. },
  291. fixed: 'left'
  292. }, { title: '规则', dataIndex: 'promotionRule.ruleInfo', width: '180px', align: 'left', scopedSlots: { customRender: 'promotionDesc' }, fixed: 'left' },
  293. {
  294. title: '销售单号',
  295. dataIndex: 'salesBillNo',
  296. width: '120px',
  297. align: 'center',
  298. customRender: function (text) {
  299. return text || '--'
  300. },
  301. fixed: 'left'
  302. },
  303. {
  304. title: '区域',
  305. dataIndex: 'subareaArea.subareaName',
  306. width: '80px',
  307. align: 'center',
  308. customRender: function (text) {
  309. return text || '--'
  310. }
  311. },
  312. {
  313. title: '分区',
  314. dataIndex: 'subareaArea.subareaAreaName',
  315. width: '80px',
  316. align: 'center',
  317. customRender: function (text) {
  318. return text || '--'
  319. }
  320. },
  321. {
  322. title: '地区',
  323. dataIndex: 'provinceName',
  324. width: '160px',
  325. align: 'center',
  326. scopedSlots: { customRender: 'addressInfo' }
  327. },
  328. {
  329. title: '客户名称',
  330. dataIndex: 'buyerName',
  331. width: '140px',
  332. align: 'center',
  333. customRender: function (text) {
  334. return text || '--'
  335. },
  336. ellipsis: true
  337. },
  338. {
  339. title: '客户级别',
  340. dataIndex: 'buyerLevelDictValue',
  341. width: '80px',
  342. align: 'center',
  343. customRender: function (text) {
  344. return text || '--'
  345. }
  346. },
  347. {
  348. title: '销售审核时间',
  349. dataIndex: 'auditDate',
  350. width: '120px',
  351. align: 'center',
  352. customRender: function (text) {
  353. return text || '--'
  354. }
  355. },
  356. {
  357. title: '实时数量(非促)',
  358. dataIndex: 'notGiftQty',
  359. width: '100px',
  360. align: 'center',
  361. customRender: function (text) {
  362. return ((text || text == 0) ? text : '--')
  363. }
  364. },
  365. {
  366. title: '实时数量(促)',
  367. dataIndex: 'giftQty',
  368. width: '100px',
  369. align: 'center',
  370. customRender: function (text) {
  371. return ((text || text == 0) ? text : '--')
  372. }
  373. },
  374. {
  375. title: '实时实售金额',
  376. dataIndex: 'totalRealAmount',
  377. width: '100px',
  378. align: 'right',
  379. customRender: function (text) {
  380. return ((text || text == 0) ? _this.toThousands(text) : '--')
  381. }
  382. },
  383. {
  384. title: '实时开单金额',
  385. dataIndex: 'totalAmount',
  386. width: '100px',
  387. align: 'right',
  388. customRender: function (text) {
  389. return ((text || text == 0) ? _this.toThousands(text) : '--')
  390. }
  391. },
  392. {
  393. title: '实时成本金额',
  394. dataIndex: 'totalRealCost',
  395. width: '100px',
  396. align: 'right',
  397. customRender: function (text) {
  398. return ((text || text == 0) ? _this.toThousands(text) : '--')
  399. }
  400. },
  401. {
  402. title: '实时损失成本',
  403. dataIndex: 'lossCost',
  404. width: '100px',
  405. align: 'right',
  406. customRender: function (text) {
  407. return ((text || text == 0) ? _this.toThousands(text) : '--')
  408. }
  409. },
  410. {
  411. title: '实时损失费用',
  412. dataIndex: 'lossAmount',
  413. width: '100px',
  414. align: 'right',
  415. customRender: function (text) {
  416. return ((text || text == 0) ? _this.toThousands(text) : '--')
  417. }
  418. }
  419. ],
  420. // 加载数据方法 必须为 Promise 对象
  421. loadData: parameter => {
  422. this.spinning = true
  423. this.disabled = true
  424. const params = Object.assign(parameter, this.newQueryParam)
  425. // 促销销售单实时报表 列表 有分页
  426. return salesPromoRealReportList(params).then(res => {
  427. let data
  428. if (res.status == 200) {
  429. data = res.data
  430. // 计算列表序号
  431. for (var i = 0; i < data.length; i++) {
  432. data[i].no = i + 1
  433. }
  434. this.disabled = false
  435. }
  436. this.spinning = false
  437. return data
  438. })
  439. }
  440. }
  441. },
  442. watch: {
  443. // 展开关闭
  444. advanced (newValue, oldValue) {
  445. const _this = this
  446. this.$nextTick(() => { // 页面渲染完成后的回调
  447. _this.setTableH()
  448. })
  449. },
  450. '$store.state.app.winHeight' (newValue, oldValue) { // 窗口变更时,需同时更改表格高度
  451. this.setTableH()
  452. }
  453. },
  454. methods: {
  455. // 下推时间 change
  456. salesDateChange (date) {
  457. if (date[0] && date[1]) {
  458. this.newQueryParam.salesDate = date
  459. } else {
  460. this.newQueryParam.salesDate = []
  461. }
  462. this.newQueryParam.beginAuditDate = date[0] || ''
  463. this.newQueryParam.endAuditDate = date[1] || ''
  464. },
  465. // 地区
  466. areaChange (val) {
  467. this.newQueryParam.dealerProvinceSn = val[0] ? val[0] : ''
  468. this.newQueryParam.dealerCitySn = val[1] ? val[1] : ''
  469. this.newQueryParam.dealerDistrictSn = val[2] ? val[2] : ''
  470. },
  471. // 促销开始时间
  472. dateChange (date, dateString) {
  473. this.time = date
  474. if (dateString[0] != '' && dateString[1] != '') {
  475. this.newQueryParam.promoRuleReport.promotionDateStart = dateString[0] + ' 00:00:00'
  476. this.newQueryParam.promoRuleReport.promotionDateEnd = dateString[1] + ' 23:59:59'
  477. } else {
  478. this.$set(this.newQueryParam.promoRuleReport, 'promotionDateStart', undefined)
  479. this.$set(this.newQueryParam.promoRuleReport, 'promotionDateEnd', undefined)
  480. }
  481. },
  482. // 区域分区
  483. subareaChange (val) {
  484. this.newQueryParam.subareaArea.subareaSn = val[0] ? val[0] : undefined
  485. this.newQueryParam.subareaArea.subareaAreaSn = val[1] ? val[1] : undefined
  486. },
  487. // 查询
  488. testForm (type) {
  489. const _this = this
  490. if (!_this.newQueryParam.salesDate && (!_this.newQueryParam.salesDate[0] || !_this.newQueryParam.salesDate[1])) {
  491. _this.$message.error('请选择下推时间')
  492. return
  493. }
  494. _this.$refs.ruleForm.validate(valid => {
  495. if (valid) {
  496. if (type == 'search') {
  497. _this.resetCurForm()
  498. } else {
  499. _this.handleExport()
  500. }
  501. } else {
  502. _this.$message.error('请选择下推时间')
  503. return false
  504. }
  505. })
  506. },
  507. // 统计
  508. getCount (params) {
  509. salesPromoRealReportCount(params).then(res => {
  510. if (res.status == 200) {
  511. this.totalData = res.data
  512. } else {
  513. this.totalData = null
  514. }
  515. })
  516. },
  517. // 刷新当前页面
  518. resetCurForm () {
  519. const params = JSON.parse(JSON.stringify(this.newQueryParam))
  520. delete params.salesDate
  521. this.$nextTick(() => {
  522. this.getCount(params)
  523. this.$refs.table.refresh()
  524. })
  525. },
  526. // 导出
  527. handleExport () {
  528. const _this = this
  529. const params = this.newQueryParam
  530. _this.exportLoading = true
  531. _this.spinning = true
  532. hdExportExcel(exportSalesPromoRealReport, params, '促销销售单实时报表导出', function () {
  533. _this.exportLoading = false
  534. _this.spinning = false
  535. _this.showExport = true
  536. })
  537. },
  538. // 重置
  539. resetSearchForm () {
  540. this.$refs.ruleForm.resetFields()
  541. this.newQueryParam = {
  542. beginAuditDate: getDate.getCurrMonthDays().starttime, // 审核开始时间
  543. endAuditDate: getDate.getCurrMonthDays().endtime, // 审核结束时间
  544. promoRuleReport: {
  545. promotionDateStart: undefined, // 促销时间-开始
  546. promotionDateEnd: undefined, // 促销时间-结束
  547. title: '', // 促销名称
  548. promotionRuleType: undefined, // 促销类型
  549. ruleInfo: '' // 规则
  550. },
  551. salesBillNo: '', // 销售单号
  552. buyerLevel: undefined, // 客户级别
  553. buyerName: '', // 客户名称
  554. subareaArea: {
  555. subareaSn: '',
  556. subareaAreaSn: ''
  557. },
  558. dealerProvinceSn: undefined, // 省份编码
  559. dealerCitySn: undefined, // 城市编码
  560. dealerDistrictSn: undefined, // 区域编码
  561. bizUserSn: undefined,
  562. customFlag: undefined
  563. }
  564. this.$set(this.newQueryParam, 'salesDate', [
  565. getDate.getCurrMonthDays().starttime,
  566. getDate.getCurrMonthDays().endtime
  567. ])
  568. this.time = undefined
  569. this.$refs.subarea.clearData()
  570. this.$refs.areaList.clearData()
  571. this.$refs.rangeDate.resetDate(this.newQueryParam.salesDate)
  572. this.$refs.table.clearTable()
  573. this.totalData = null
  574. },
  575. // 初始化
  576. pageInit () {
  577. const _this = this
  578. this.$nextTick(() => { // 页面渲染完成后的回调
  579. _this.setTableH()
  580. })
  581. },
  582. // 计算表格高度
  583. setTableH () {
  584. const tableSearchH = this.$refs.tableSearch.offsetHeight
  585. this.tableHeight = window.innerHeight - tableSearchH - 270
  586. }
  587. },
  588. mounted () {
  589. if (!this.$store.state.app.isNewTab) { // 页签刷新时调用
  590. this.pageInit()
  591. }
  592. },
  593. activated () {
  594. // 如果是新页签打开,则重置当前页面
  595. if (this.$store.state.app.isNewTab) {
  596. this.pageInit()
  597. }
  598. }
  599. }
  600. </script>
  601. <style lang="less" scoped>
  602. .productInfoList-wrap {
  603. .ellipsisCon {
  604. display: flex;
  605. justify-content: space-between;
  606. align-items: center;
  607. .ellipsisText {
  608. width: 100%;
  609. overflow: hidden;
  610. text-overflow: ellipsis;
  611. display: box;
  612. display: -webkit-box;
  613. -webkit-line-clamp: 1;
  614. -webkit-box-orient: vertical;
  615. }
  616. }
  617. }
  618. </style>