doctor-admin-components 1.0.13-beta.9 → 1.0.13-pro.0

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.
@@ -2,7 +2,7 @@
2
2
  * @Author: zhangpengwei 15038779532@163.com
3
3
  * @Date: 2023-08-28 19:04:39
4
4
  * @LastEditors: zhangpengwei@1338418459736990.onaliyun.com zhangpengwei@1338418459736990.onaliyun.com
5
- * @LastEditTime: 2023-10-23 17:08:54
5
+ * @LastEditTime: 2024-03-20 09:46:11
6
6
  * @FilePath: /doctor-admin-components/packages/src/views/biz/contractTracing/contractSummary.vue
7
7
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
8
  -->
@@ -338,9 +338,10 @@
338
338
  >
339
339
  <!-- v-if="channel == 'official-website' && scope.row.showFallbackQuality" -->
340
340
  <el-button
341
- v-if="channel == 'official-website' && scope.row.showFallbackQuality"
341
+ v-if="
342
+ channel == 'official-website'"
342
343
  size="mini"
343
- type="primary"
344
+ :type="scope.row.showFallbackQuality ? 'primary': 'info'"
344
345
  style="padding-left: 5px; padding-right: 5px"
345
346
  @click.stop="qualityFeedback(scope.row)"
346
347
  >{{ $t('contract.Quality_Feedback') }}</el-button
@@ -546,7 +547,11 @@ export default {
546
547
  * @return {*}
547
548
  */
548
549
  qualityFeedback(row) {
549
- this.$buryingPoint({ data: { funcKey: 'click_feedback' } })
550
+ this.$buryingPoint({ data: { funcKey: 'click_feedback' } });
551
+ if(!row.showFallbackQuality) {
552
+ this.$message.warning(this.$t('contract.No_quality_feedback'));
553
+ return;
554
+ }
550
555
 
551
556
  this.$store.commit('setBillNoInfo', {
552
557
  eta: row.eta,