Browse Source

盯盘数据-修改头条经理的初始数据展示

朱鑫波 1 year ago
parent
commit
f453a9eb3c

+ 9 - 1
src/views/modules/stockWatch/modules/new-keepManage/group-keepManage.vue

@@ -347,6 +347,14 @@
                                     : '-'
                             }}
                         </div>
+                        <div slot="inventory" slot-scope="text,record">
+                            <div v-if="text">
+                                <p v-for="(item, index) in text.split(',')" :key="index" style="margin-bottom:0">
+                                    {{ item }}
+                                </p>
+                            </div>
+                            <div v-else>-</div>
+                        </div>
                     </a-table>
                 </a-card>
             </a-col>
@@ -622,7 +630,7 @@ export default {
     },
     mounted() {
 
-        if(this.userInfo().id == ''||this.userInfo().roleName == '头条运营经理'){
+        if(this.userInfo().id == '461857c245f54ba5813bcb5900a23092'||this.userInfo().roleName == '头条运营经理'){
             this.mediaId= '1'
             this.mediaIdGroup= '1'
             this.mediaIdAccount= '1'

+ 1 - 0
src/views/modules/stockWatch/modules/new-keepManage/new-keep-data.js

@@ -240,6 +240,7 @@ class keepPersonServer {
                 dataIndex: 'inventory',
                 tip: '',
                 align: 'center',
+                scopedSlots: { customRender: 'inventory' },
 
             },
         ]