imeik-bizui 2.6.0 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,11 +7,11 @@ import request from '../utils/userRequest.js'
7
7
 
8
8
  /**
9
9
  * 客户底价总览
10
- * POST /qxcollege/meeting/common/basePrice/query
10
+ * POST /qxcollege/meeting/meet/basePrice/query
11
11
  */
12
12
  export function queryBasePrice(data) {
13
13
  return request({
14
- url: '/qxcollege/meeting/common/basePrice/query',
14
+ url: '/qxcollege/meeting/meet/basePrice/query',
15
15
  method: 'post',
16
16
  data
17
17
  })
@@ -19,11 +19,11 @@ export function queryBasePrice(data) {
19
19
 
20
20
  /**
21
21
  * 客户底价明细(入参与总览相同;添加/编辑可不传 meetCode,按当前表单实时算)
22
- * POST /qxcollege/meeting/common/basePrice/detail
22
+ * POST /qxcollege/meeting/meet/basePrice/detail
23
23
  */
24
24
  export function getBasePriceDetail(data) {
25
25
  return request({
26
- url: '/qxcollege/meeting/common/basePrice/detail',
26
+ url: '/qxcollege/meeting/meet/basePrice/detail',
27
27
  method: 'post',
28
28
  data
29
29
  })
@@ -17,7 +17,12 @@
17
17
  <div class="fpb-result">
18
18
  <div class="fpb-result__main">
19
19
  <div class="fpb-result__heading">
20
- <span class="fpb-mark" aria-hidden="true">{{ statusMark }}</span>
20
+ <img
21
+ class="fpb-mark"
22
+ :src="statusIconSrc"
23
+ :alt="resolvedStatusLabel"
24
+ aria-hidden="true"
25
+ >
21
26
  <h2 class="fpb-result__title">{{ resolvedResultTitle }}</h2>
22
27
  <span class="fpb-badge">{{ resolvedStatusLabel }}</span>
23
28
  <button
@@ -134,6 +139,15 @@ import {
134
139
  formatNumber
135
140
  } from './utils'
136
141
  import FloorPriceSectionPager from './FloorPriceSectionPager.vue'
142
+ import iconBlocked from '../assets/icon-blocked.png'
143
+ import iconPass from '../assets/icon-pass.png'
144
+ import iconExempt from '../assets/icon-exempt.png'
145
+
146
+ const STATUS_ICON = {
147
+ [PANEL_STATE.BLOCKED]: iconBlocked,
148
+ [PANEL_STATE.PASS]: iconPass,
149
+ [PANEL_STATE.EXEMPT]: iconExempt
150
+ }
137
151
 
138
152
  export default {
139
153
  name: 'FloorPriceBoard',
@@ -272,10 +286,8 @@ export default {
272
286
  productCount: this.displayProducts.length
273
287
  }).description
274
288
  },
275
- statusMark() {
276
- if (this.resolvedStatus === PANEL_STATE.PASS) return '✓'
277
- if (this.resolvedStatus === PANEL_STATE.BLOCKED) return '!'
278
- return 'i'
289
+ statusIconSrc() {
290
+ return STATUS_ICON[this.resolvedStatus] || STATUS_ICON[PANEL_STATE.PASS]
279
291
  },
280
292
  panelThemeClass() {
281
293
  return `fpb-panel--${this.resolvedStatus}`
@@ -468,18 +480,13 @@ export default {
468
480
  }
469
481
 
470
482
  .fpb-mark {
471
- display: grid;
472
- place-items: center;
483
+ display: block;
473
484
  flex: none;
474
485
  width: 28px;
475
486
  height: 28px;
476
- color: var(--fpb-state);
477
- background: #fff;
478
- border: 1px solid var(--fpb-state-border);
479
- border-radius: 50%;
480
- font-size: 15px;
481
- font-weight: 700;
482
- line-height: 1;
487
+ object-fit: contain;
488
+ user-select: none;
489
+ pointer-events: none;
483
490
  }
484
491
 
485
492
  .fpb-result__title {