chengkun
2025-08-29 a370f8c298c691b18f713d4db19919162fbd3299
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="zh-cn">
 
    <head>
        <meta charset="utf-8">
        <include file="common:title" />
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
        <include file="common:header" />
        <include file="common:element-plus" />
        <style>
            .el-table th.el-table__cell,
            .el-table td.el-table__cell,
            .el-select,
            .el-select__wrapper {
                position: unset;
            }
 
            .el-image-viewer__img {
                width: 50%;
            }
        </style>
    </head>
 
    <body>
        <div id="vue_item" v-cloak>
            <el-container>
                <el-aside class="el-menu-container" :width="el_aside_width">
                    <!-- 侧边菜单 -->
                    <include file="common:side_menu" />
                </el-aside>
                <el-container>
                    <el-header>
                        <include file="common:guide" one_word="{$guide['one']['text']}" two_word="{$guide['two']['text']}" />
                    </el-header>
                    <el-main>
                        <el-card style="width: 100%">
                            <template #header>
                                <div class="card-header">
                                    <span data-i18n="goods_brand_management">{$other['title']}</span>
                                </div>
                            </template>
                            <el-form label-width="auto">
                                <el-input v-model="searchData.kw" placeholder="请输入关键词" style="width: 300px"></el-input>
                                &ensp;
                                <el-button type="success" icon="Search" @click="getBigvInfoList()">搜索</el-button>
                            </el-form>
                            <br />
                            <el-table :data="bigvInfoList" v-loading="loading" border style="width: 100%" :stripe="true" ref="tableRef">
                                <el-table-column prop="first_name" label="名称"></el-table-column>
                                <el-table-column prop="preferred_product_type" label="偏好带货产品类型"></el-table-column>
                                <el-table-column prop="nationality" label="国籍"></el-table-column>
                                <el-table-column prop="graduation_school" label="毕业学院"></el-table-column>
                                <el-table-column prop="personal_images" label="个人图像">
                                    <template #default="scope">
                                        <template v-for="item in scope.row.personal_images">
                                            <el-image style="width: 60px; height: 60px; margin-right: 5px;" :src="item.url" fit="cover" :preview-src-list="[item.url]" lazy>
                                                <div slot="error" class="image-slot">
                                                    <i class="el-icon-picture-outline"></i>
                                                </div>
                                            </el-image>
                                        </template>
                                    </template>
                                </el-table-column>
                                <el-table-column label="是否显示官网" width="150" align="center">
                                    <template #default="scope">
                                        <el-switch @change="updateExt(scope.row,'is_show')" v-model="scope.row.is_show"
                                                   style="--el-switch-on-color: #13ce66; --el-switch-off-color: #ccc" :active-value="1" :inactive-value="0" inline-prompt active-text="是"
                                                   inactive-text="否" />
                                    </template>
                                </el-table-column>
 
 
 
                                <!-- <el-table-column prop="brand_type" label="品牌类型" width="200" align="center">
                                    <template #default="scope">
                                        <template v-if="scope.row.brand_type==1">
                                            <span data-i18n="brand_type_1">非自有品牌</span>
                                        </template>
                                        <template v-else>
                                            <span data-i18n="brand_type_2">自有品牌</span>
                                        </template>
                                    </template>
                                </el-table-column>
                                <el-table-column prop="need_filings" label="是否需要备案" width="200" align="center">
                                    <template #default="scope">
                                        <template v-if="scope.row.need_filings==1">
                                            <span data-i18n="need_filings_1">是</span>
                                        </template>
                                        <template v-else>
                                            <span data-i18n="need_filings_0">否</span>
                                        </template>
                                    </template>
                                </el-table-column>
                                <el-table-column prop="real_name" label="审核状态" width="200" align="center">
                                    <template #default="scope">
                                        <template v-if="scope.row.status==0"><el-tag type="danger">未审核</el-tag></template>
                                        <template v-else-if="scope.row.status==1"><el-tag type="success">已审核</el-tag></template>
                                        <template v-else-if="scope.row.status==2"><el-tag type="info">未通过审核</el-tag></template>
                                    </template>
                                </el-table-column>
                                <el-table-column label="操作选项" fixed="right" min-width="140" :align="alignValue(200)">
                                    <template #default="scope">
                                        <el-button type="primary" :disabled="scope.row.status==0?false:true" @click="showBrand(scope.row)">审核</el-button>
                                    </template>
                                </el-table-column> -->
                            </el-table>
                            <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="searchData.page" :page-sizes="[20, 30, 40, 50]"
                                           :page-size="searchData.page_size" layout="total, sizes, prev, pager, next" :total="other.count">
                            </el-pagination>
                        </el-card>
                    </el-main>
                </el-container>
            </el-container>
            <el-dialog title="品牌信息" width="1200px" align-center="true" class="icon-dialog" v-model="dialogBrand" :before-close="closeForm" append-to-body>
                <el-card style="width: 100%">
                    <el-form label-width="auto">
                        <el-form-item label="品牌名称:">
                            {{brandInfo.brand_name}}
                        </el-form-item>
                        <el-form-item label="品牌类型:">
                            <template v-if="brandInfo.brand_type==1">
                                <span data-i18n="brand_type_1">非自有品牌</span>
                            </template>
                            <template v-else>
                                <span data-i18n="brand_type_2">自有品牌</span>
                            </template>
                        </el-form-item>
                        <el-form-item label="是否需要备案:">
                            <template v-if="brandInfo.need_filings==1">
                                <span data-i18n="need_filings_1">是</span>
                            </template>
                            <template v-else>
                                <span data-i18n="need_filings_0">否</span>
                            </template>
                        </el-form-item>
                        <el-form-item label="品牌介绍">
                            {{brandInfo.brand_desc}}
                        </el-form-item>
                        <el-form-item label="品牌LOGO">
                            <template v-if="brandInfo.brand_logo">
                                <img :src="brandInfo.brand_logo" @click="previewPictureCard(brandInfo.brand_logo)" :zoom-rate="1.2" :max-scale="7" :min-scale="0.2"
                                     style="width: 100px;height: 100px;" />
                            </template>
                        </el-form-item>
                    </el-form></el-card>
 
                <br />
                <el-card style="width: 100%">
                    <template #header>
                        <div class="card-header">
                            <span>品牌证书</span>
                        </div>
                    </template>
                    <el-table :data="brandCertList" v-loading="loading_brand_cert" border style="width: 100%" :stripe="true">
                        <el-table-column prop="title" label="文件名称" align="center">
                            <template #default="scope">
                                <el-link :href="scope.row.filename" target="_blank" type="success">{{ scope.row.title }}</el-link>
                            </template>
                        </el-table-column>
                        <el-table-column prop="filesize" label="文件大小" align="center"></el-table-column>
                    </el-table>
                </el-card>
                <br />
                <el-card style="width: 100%">
                    <template #header>
                        <div class="card-header">
                            <span>备案范围</span>
                        </div>
                    </template>
                    <el-table :data="bigvInfoFilingsList" border style="width: 100%" :stripe="true">
                        <el-table-column prop="country" label="销售国家" align="center"></el-table-column>
                        <el-table-column prop="platform_name" label="销售平台" align="center"></el-table-column>
                        <el-table-column prop="amount" label="店铺数量上限" align="center"></el-table-column>
                    </el-table>
                </el-card>
                <br />
                <el-card style="width: 100%">
                    <template #header>
                        <div class="card-header">
                            <span>授权协议</span>
                        </div>
                    </template>
                    <el-table :data="brandAgreementList" v-loading="loading_brand_agreement" border style="width: 100%" :stripe="true">
                        <el-table-column prop="title" label="文件名称" align="center">
                            <template #default="scope">
                                <el-link :href="scope.row.filename" target="_blank" type="success">{{ scope.row.title }}</el-link>
                            </template>
                        </el-table-column>
                        <el-table-column prop="filesize" label="文件大小" align="center"></el-table-column>
                    </el-table>
                </el-card>
                <el-row>
                    <el-col :span="24" style="text-align: center;margin:30px 0px;">
                        <el-button type="success" @click="reviewBigvInfo(1)">通过审核</el-Button>
                        <el-button type="danger" @click="reviewBigvInfo(2)">不通过审核</el-button>
                    </el-col>
                </el-row>
            </el-dialog>
            <el-dialog v-model="dialogVisible_Picture">
                <img w-full :src="previewImageUrl" alt="Preview Image" style="width: 100%;" />
            </el-dialog>
        </div>
    </body>
    <!-- 共用的方法 -->
    <script src="/static/vue/mixin_admin.js"></script>
    <script src="/static/admin/js/bigv_info/index.js?v=<?php echo rand(1000,9999)?>"></script>
 
</html>