Commit 4a95e788 by cwq0219

附件下载;集采

1 parent 4aa651e6
...@@ -66,7 +66,8 @@ ...@@ -66,7 +66,8 @@
> >
<!-- <a href="http://down8.5156edu.com/showzipdown4.php?f_type1=2&id=96098">下载附件</a> --> <!-- <a href="http://down8.5156edu.com/showzipdown4.php?f_type1=2&id=96098">下载附件</a> -->
<!-- <a href="https://cdn.shopify.com/s/files/1/1545/3617/files/SH01_User_Manaul.pdf" download="SH01_User_Manaul.pdf">下载附件</a> --> <!-- <a href="https://cdn.shopify.com/s/files/1/1545/3617/files/SH01_User_Manaul.pdf" download="SH01_User_Manaul.pdf">下载附件</a> -->
<a :href="detail.attachment" v-show="detail.attachment">下载附件</a> <a :href="detail.attachment" v-if="detail.attachment">下载附件</a>
<span v-else>暂无附件</span>
</gl-form-item> </gl-form-item>
<gl-form-item <gl-form-item
label="展示方式:" label="展示方式:"
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
v-model="searchParams.personalCode" v-model="searchParams.personalCode"
placeholder="全部"> placeholder="全部">
<gl-option label="全部" value=""></gl-option> <gl-option label="全部" value=""></gl-option>
<gl-option label="采集类" value="1"></gl-option> <gl-option label="集采类" value="1"></gl-option>
<gl-option label="售后类" value="2"></gl-option> <gl-option label="售后类" value="2"></gl-option>
</gl-select> </gl-select>
</gl-form-item> </gl-form-item>
...@@ -657,8 +657,8 @@ export default { ...@@ -657,8 +657,8 @@ export default {
{ {
label: '下载附件', label: '下载附件',
type: 'text', type: 'text',
formatter(row) { formatter(cellValue) {
return row.publishStatus === 3 ? null : '下载附件' return cellValue.attachment ? '下载附件' : null
}, },
callback: (index, row) => { callback: (index, row) => {
if (row[index].attachment) { if (row[index].attachment) {
......
...@@ -53,7 +53,8 @@ ...@@ -53,7 +53,8 @@
> >
<!-- <a href="http://down8.5156edu.com/showzipdown4.php?f_type1=2&id=96098">下载附件</a> --> <!-- <a href="http://down8.5156edu.com/showzipdown4.php?f_type1=2&id=96098">下载附件</a> -->
<!-- <a href="https://cdn.shopify.com/s/files/1/1545/3617/files/SH01_User_Manaul.pdf" download="SH01_User_Manaul.pdf">下载附件</a> --> <!-- <a href="https://cdn.shopify.com/s/files/1/1545/3617/files/SH01_User_Manaul.pdf" download="SH01_User_Manaul.pdf">下载附件</a> -->
<a :href="noticeForm.attachment" v-show="noticeForm.attachment">下载附件</a> <a :href="noticeForm.attachment" v-if="noticeForm.attachment">下载附件</a>
<span v-else>暂无附件</span>
</gl-form-item> </gl-form-item>
<gl-form-item <gl-form-item
label="展示方式:" label="展示方式:"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!