Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-notice
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4a95e788
authored
Apr 23, 2019
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
附件下载;集采
1 parent
4aa651e6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
src/views/noticeCenter/DetailDialog.vue
src/views/noticeCenter/index.vue
src/views/noticeManage/DetailDialog.vue
src/views/noticeCenter/DetailDialog.vue
View file @
4a95e78
...
@@ -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=
"展示方式:"
...
...
src/views/noticeCenter/index.vue
View file @
4a95e78
...
@@ -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
)
{
...
...
src/views/noticeManage/DetailDialog.vue
View file @
4a95e78
...
@@ -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=
"展示方式:"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment