wks 1 месяц назад
Родитель
Сommit
d1f6cd0c94
1 измененных файлов с 10 добавлено и 8 удалено
  1. 10 8
      src/views/channel/distributionRecord/pageList.vue

+ 10 - 8
src/views/channel/distributionRecord/pageList.vue

@@ -12,14 +12,16 @@
           {{ record.id }}
         </span>
         <template v-if="column.key === 'fileName'">
-          <span v-if="record.grantType == '3'" class="cursorstyle" @click="recipientFileDownload(record.fileUrl)">
-            {{ record.fileName }}
-          </span>
-          <a-popover title="全部字段" placement="bottom" v-else>
+          <a-popover title="接收人信息" placement="bottom">
             <template #content>
-              <p v-for="value in record.receiver.dynamicAttrs">{{ value.rulesName }}:{{ value.rulesValue }}</p>
+              <template v-if="record.grantType == '3'">
+                <p>接收人文件:{{ record.fileName }}</p>
+              </template>
+              <template v-else>
+                <p v-for="value in record.receiver?.dynamicAttrs">{{ value.rulesName }}:{{ value.rulesValue }}</p>
+              </template>
             </template>
-            <span v-if="record?.receiver?.dynamicAttrs">{{record.receiver.dynamicAttrs[0].rulesName}}</span>
+            <span class="cursorstyle">接收人信息</span>
           </a-popover>
         </template>
         <a-tag v-if="column.key === 'status'" :bordered="false"
@@ -87,8 +89,8 @@ const columns: BasicColumn[] = [
   },
   {
     title: '发放金额',
-    dataIndex: 'totalGrantAmount',
-    key: 'totalGrantAmount',
+    dataIndex: 'totalMarketAmount',
+    key: 'totalMarketAmount',
   },
   {
     title: '覆盖人数',