doctor-admin-components 1.0.9 → 1.0.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doctor-admin-components",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "version1": "1.0.6-beta.4",
5
5
  "private": false,
6
6
  "main1": "lib/index.umd.min.js",
@@ -183,9 +183,11 @@ export default {
183
183
  if (this.lang == 'zh') {
184
184
  lang = 'zh-CN'
185
185
  }
186
-
186
+ const encryptedContractId = this.$encryptId(this.contract.contractId)
187
+ const encryptedDealId = this.$encryptId(this.contract.dealId)
188
+
187
189
  window.open(
188
- `${url}${this.contract.dealId}&contractId=${this.contract.contractId}&language=${lang}`
190
+ `${url}${this.contract.dealId}&contractId=${this.contract.contractId}&language=${lang}&encryptedContractId=${encryptedContractId}&encryptedDealId=${encryptedDealId}`
189
191
  );
190
192
  },
191
193
  /**
@@ -11,7 +11,7 @@
11
11
  : "")
12
12
  }}
13
13
  </el-col>
14
- <el-col :span="12">
14
+ <el-col v-if="channel !== 'official-website'" :span="12">
15
15
  <div
16
16
  v-if="
17
17
  contract.contractSignTime &&
@@ -237,7 +237,7 @@
237
237
  <el-table-column
238
238
  prop="askName"
239
239
  :label="$t('contractDetail.askName')"
240
- width="100"
240
+ :width="channel === 'official-website' ? 200 : 100"
241
241
  >
242
242
  </el-table-column>
243
243
  <el-table-column
@@ -261,13 +261,13 @@
261
261
  <el-table-column
262
262
  prop="descriptions"
263
263
  :label="$t('contractDetail.description')"
264
- width="160"
264
+ :width="channel === 'official-website' ? 200 : 160"
265
265
  >
266
266
  </el-table-column>
267
267
  <el-table-column
268
268
  prop="weight"
269
269
  :label="$t('contractDetail.weight')"
270
- width="90px"
270
+ width="120px"
271
271
  >
272
272
  </el-table-column>
273
273
  <el-table-column
@@ -292,6 +292,7 @@
292
292
  prop="quotePrice"
293
293
  :label="$t('contractDetail.quotePrice')"
294
294
  width="120"
295
+ :width="channel === 'official-website' ? 180 : 120"
295
296
  >
296
297
  <template slot-scope="scope">
297
298
  <span v-if="dealRecord.quoteType == 'FIXED'">
@@ -308,7 +309,7 @@
308
309
  <el-table-column
309
310
  prop="totalQuote"
310
311
  :label="$t('contractDetail.totalQuote')"
311
- width="120"
312
+ :width="channel === 'official-website' ? 180 : 120"
312
313
  >
313
314
  </el-table-column>
314
315
  </el-table>
@@ -388,12 +389,14 @@
388
389
  :show-overflow-tooltip="true"
389
390
  />
390
391
  <el-table-column
392
+ v-if="channel !== 'official-website'"
391
393
  label="未付/未收金额"
392
394
  align="center"
393
395
  prop="remainingAmount"
394
396
  width="120"
395
397
  />
396
398
  <el-table-column
399
+ v-if="channel !== 'official-website'"
397
400
  label="已付/已收金额"
398
401
  align="center"
399
402
  prop="remainingAmount"
@@ -404,11 +407,39 @@
404
407
  </template>
405
408
  </el-table-column>
406
409
  <el-table-column
410
+ v-if="channel !== 'official-website'"
407
411
  label="总金额"
408
412
  align="center"
409
413
  prop="amount"
410
414
  width="100"
411
415
  />
416
+
417
+ <!-- 官网 -->
418
+ <el-table-column
419
+ v-if="channel == 'official-website'"
420
+ :label="$t('contract.Payable_Amount')"
421
+ align="center"
422
+ prop="amount"
423
+ width="100"
424
+ />
425
+ <el-table-column
426
+ v-if="channel == 'official-website'"
427
+ :label="$t('contract.Amount_Paid')"
428
+ align="center"
429
+ prop="amount"
430
+ width="100"
431
+ >
432
+ <template slot-scope="{ row }">
433
+ {{ row.amount - row.remainingAmount }}
434
+ </template>
435
+ </el-table-column>
436
+ <el-table-column
437
+ v-if="channel == 'official-website'"
438
+ :label="$t('contract.Balance_Due')"
439
+ align="center"
440
+ prop="remainingAmount"
441
+ width="100"
442
+ />
412
443
  <el-table-column
413
444
  :label="$t('contractDetail.quoteType')"
414
445
  align="center"
@@ -601,6 +632,9 @@
601
632
  class-name="small-padding fixed-width"
602
633
  width="150px"
603
634
  >
635
+ <template slot-scope="scope">
636
+ <el-button size="mini" type="primary" @click.stop="activeNameFun(scope.$index)">{{ $t('contract.Track_Shipment') }}</el-button>
637
+ </template>
604
638
  </el-table-column>
605
639
  </el-table>
606
640
 
@@ -1004,6 +1038,9 @@ ETA: ${eta}
1004
1038
  });
1005
1039
  });
1006
1040
  },
1041
+ activeNameFun(v) {
1042
+ this.activeName = "" + v;
1043
+ },
1007
1044
  },
1008
1045
  };
1009
1046
  </script>
@@ -2,7 +2,7 @@
2
2
  * @Author: zhangpengwei 15038779532@163.com
3
3
  * @Date: 2023-07-20 17:13:54
4
4
  * @LastEditors: zhangpengwei 15038779532@163.com
5
- * @LastEditTime: 2023-08-11 17:50:13
5
+ * @LastEditTime: 2023-08-15 10:25:31
6
6
  * @FilePath: /recycle-vue-ui再生博士后台管理/src/views/biz/contractTracing/contractTracingDetail.vue
7
7
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
8
  -->