Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-admin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-admin
Commits
b51bd934
Commit
b51bd934
authored
Oct 30, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
c25d55da
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
171 additions
and
166 deletions
+171
-166
main-navbar.vue
src/views/main-navbar.vue
+5
-0
news-add-or-update.vue
src/views/modules/application/news-add-or-update.vue
+1
-1
news.vue
src/views/modules/application/news.vue
+7
-7
announce-add-or-update.vue
src/views/modules/info/announce-add-or-update.vue
+1
-1
announce.vue
src/views/modules/info/announce.vue
+7
-7
indexcarouselmanage.vue
src/views/modules/info/indexcarouselmanage.vue
+7
-7
news-add-or-update.vue
src/views/modules/info/news-add-or-update.vue
+1
-1
news.vue
src/views/modules/info/news.vue
+7
-7
newsmovie.vue
src/views/modules/info/newsmovie.vue
+7
-7
newtopic-add-or-update.vue
src/views/modules/info/newtopic-add-or-update.vue
+1
-1
newtopic.vue
src/views/modules/info/newtopic.vue
+7
-7
picture-add-or-update.vue
src/views/modules/info/picture-add-or-update.vue
+1
-1
picture.vue
src/views/modules/info/picture.vue
+7
-7
logistics.vue
src/views/modules/logistics/logistics.vue
+7
-7
medical.vue
src/views/modules/medical/medical.vue
+7
-7
center.vue
src/views/modules/party/center.vue
+7
-7
hotFlow-add-or-update.vue
src/views/modules/party/hotFlow-add-or-update.vue
+1
-1
hotFlow.vue
src/views/modules/party/hotFlow.vue
+7
-7
rules-add-or-update.vue
src/views/modules/party/rules-add-or-update.vue
+2
-2
rules.vue
src/views/modules/party/rules.vue
+4
-4
topicnews-add-or-update.vue
src/views/modules/party/topicnews-add-or-update.vue
+1
-1
topicnews.vue
src/views/modules/party/topicnews.vue
+7
-7
glossary.vue
src/views/modules/plate/glossary.vue
+3
-3
knowledgeinfo.vue
src/views/modules/plate/knowledgeinfo.vue
+7
-7
pcategory.vue
src/views/modules/plate/pcategory.vue
+3
-3
product.vue
src/views/modules/plate/product.vue
+7
-7
policy-add-or-update.vue
src/views/modules/policy/policy-add-or-update.vue
+2
-2
policy.vue
src/views/modules/policy/policy.vue
+7
-7
picture-add-or-update.vue
src/views/modules/retail/picture-add-or-update.vue
+1
-1
picture.vue
src/views/modules/retail/picture.vue
+7
-7
branch.vue
src/views/modules/service/branch.vue
+3
-3
doc.vue
src/views/modules/service/doc.vue
+7
-7
cases-add-or-update.vue
src/views/modules/standard/cases-add-or-update.vue
+1
-1
cases.vue
src/views/modules/standard/cases.vue
+7
-7
partners.vue
src/views/modules/standard/partners.vue
+7
-7
menu.vue
src/views/modules/sys/menu.vue
+3
-3
role.vue
src/views/modules/sys/role.vue
+1
-1
user.vue
src/views/modules/sys/user.vue
+2
-2
index.js
static/config/index.js
+1
-1
No files found.
src/views/main-navbar.vue
View file @
b51bd934
...
@@ -15,6 +15,11 @@
...
@@ -15,6 +15,11 @@
</el-menu-item>
</el-menu-item>
</el-menu>
</el-menu>
<el-menu
<el-menu
class=
"site-navbar__menu"
mode=
"horizontal"
>
<span
style=
"color:red;line-height: 50px;"
>
严禁在本网站上处理涉密文件、信息!
</span>
</el-menu>
<el-menu
class=
"site-navbar__menu site-navbar__menu--right"
class=
"site-navbar__menu site-navbar__menu--right"
mode=
"horizontal"
>
mode=
"horizontal"
>
<!--
<el-menu-item
index=
"1"
@
click=
"$router.push(
{ name: 'theme' })">
<!--
<el-menu-item
index=
"1"
@
click=
"$router.push(
{ name: 'theme' })">
...
...
src/views/modules/application/news-add-or-update.vue
View file @
b51bd934
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
v-model=
"dataForm.showtime"
v-model=
"dataForm.showtime"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
type=
"date"
type=
"date"
placeholder=
"
选择日期
"
placeholder=
"
请选择显示时间
"
>
>
</el-date-picker>
</el-date-picker>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
...
...
src/views/modules/application/news.vue
View file @
b51bd934
...
@@ -155,12 +155,12 @@
...
@@ -155,12 +155,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('application:news:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('application:news:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('application:news:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('application:news:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('application:news:check')"
/>
<br
v-if=
"isAuth('application:news:check')"
/>
<el-button
v-if=
"isAuth('application:news:info')"
type=
"text"
size=
"small"
@
click=
"previewHandle(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('application:news:info')"
type=
"text"
size=
"small"
@
click=
"previewHandle(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('application:news:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('application:news:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('application:news:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('application:news:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -317,11 +317,11 @@ export default {
...
@@ -317,11 +317,11 @@ export default {
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -347,14 +347,14 @@ export default {
...
@@ -347,14 +347,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/info/announce-add-or-update.vue
View file @
b51bd934
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
v-model=
"dataForm.showtime"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
value-format=
'yyyy-MM-dd'
type=
"date"
type=
"date"
placeholder=
"
选择日期
"
>
placeholder=
"
请选择显示时间
"
>
</el-date-picker>
</el-date-picker>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
</el-form-item>
...
...
src/views/modules/info/announce.vue
View file @
b51bd934
...
@@ -148,12 +148,12 @@
...
@@ -148,12 +148,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:announce:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:announce:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:announce:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:announce:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:announce:check')"
/>
<br
v-if=
"isAuth('manage:announce:check')"
/>
<el-button
v-if=
"isAuth('manage:announce:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:announce:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:announce:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:announce:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:announce:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:announce:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -296,11 +296,11 @@ export default {
...
@@ -296,11 +296,11 @@ export default {
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -326,14 +326,14 @@ export default {
...
@@ -326,14 +326,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/info/indexcarouselmanage.vue
View file @
b51bd934
...
@@ -136,12 +136,12 @@
...
@@ -136,12 +136,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:indexcarouselmanage:check')"
/>
<br
v-if=
"isAuth('manage:indexcarouselmanage:check')"
/>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
<br
v-if=
"scope.row.classnum=='大轮播'"
/>
<br
v-if=
"scope.row.classnum=='大轮播'"
/>
<el-button
v-if=
"scope.row.classnum=='大轮播'"
type=
"text"
size=
"small"
>
<el-button
v-if=
"scope.row.classnum=='大轮播'"
type=
"text"
size=
"small"
>
<span
v-if=
"scope.row.isShow==1"
@
click=
"updateIsShow(scope.row.id,0)"
>
了解更多隐藏
</span>
<span
v-if=
"scope.row.isShow==1"
@
click=
"updateIsShow(scope.row.id,0)"
>
了解更多隐藏
</span>
...
@@ -318,11 +318,11 @@ export default {
...
@@ -318,11 +318,11 @@ export default {
window
.
open
(
`
${
this
.
$store
.
state
.
config
.
urls
}
/home?indexCarouselManageId=
${
data
.
id
}
`
,
'_blank'
)
window
.
open
(
`
${
this
.
$store
.
state
.
config
.
urls
}
/home?indexCarouselManageId=
${
data
.
id
}
`
,
'_blank'
)
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -348,14 +348,14 @@ export default {
...
@@ -348,14 +348,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/info/news-add-or-update.vue
View file @
b51bd934
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
v-model=
"dataForm.showtime"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
value-format=
'yyyy-MM-dd'
type=
"date"
type=
"date"
placeholder=
"
选择日期
"
>
placeholder=
"
请选择展示时间
"
>
</el-date-picker>
</el-date-picker>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
</el-form-item>
...
...
src/views/modules/info/news.vue
View file @
b51bd934
...
@@ -147,12 +147,12 @@
...
@@ -147,12 +147,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:news:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:news:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:news:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:news:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:news:check')"
/>
<br
v-if=
"isAuth('manage:news:check')"
/>
<el-button
v-if=
"isAuth('manage:news:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:news:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:news:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:news:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:news:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:news:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -291,11 +291,11 @@ export default {
...
@@ -291,11 +291,11 @@ export default {
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -321,14 +321,14 @@ export default {
...
@@ -321,14 +321,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/info/newsmovie.vue
View file @
b51bd934
...
@@ -191,12 +191,12 @@
...
@@ -191,12 +191,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:newsmovie:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:newsmovie:check')"
/>
<br
v-if=
"isAuth('manage:newsmovie:check')"
/>
<el-button
v-if=
"isAuth('manage:newsmovie:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -335,11 +335,11 @@ export default {
...
@@ -335,11 +335,11 @@ export default {
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -365,14 +365,14 @@ export default {
...
@@ -365,14 +365,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/info/newtopic-add-or-update.vue
View file @
b51bd934
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
v-model=
"dataForm.showtime"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
value-format=
'yyyy-MM-dd'
type=
"date"
type=
"date"
placeholder=
"
选择日期
"
>
placeholder=
"
请选择显示时间
"
>
</el-date-picker>
</el-date-picker>
</el-col>
</el-col>
<el-col
:span=
"2"
class=
"iconStyle"
>
<el-col
:span=
"2"
class=
"iconStyle"
>
...
...
src/views/modules/info/newtopic.vue
View file @
b51bd934
...
@@ -119,12 +119,12 @@
...
@@ -119,12 +119,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:newtopic:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.classid,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.classid,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.classid,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.classid,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:newtopic:check')"
/>
<br
v-if=
"isAuth('manage:newtopic:check')"
/>
<el-button
v-if=
"isAuth('manage:newtopic:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.classid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.classid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.classid)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.classid
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -251,11 +251,11 @@ export default {
...
@@ -251,11 +251,11 @@ export default {
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
classid
return
item
.
classid
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -281,14 +281,14 @@ export default {
...
@@ -281,14 +281,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/info/picture-add-or-update.vue
View file @
b51bd934
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
v-model=
"dataForm.showtime"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
value-format=
'yyyy-MM-dd'
type=
"date"
type=
"date"
placeholder=
"
选择日期
"
>
placeholder=
"
请选择显示时间
"
>
</el-date-picker>
</el-date-picker>
</el-col>
</el-col>
<el-col
:span=
"2"
class=
"icon-list__tips"
>
<el-col
:span=
"2"
class=
"icon-list__tips"
>
...
...
src/views/modules/info/picture.vue
View file @
b51bd934
...
@@ -97,12 +97,12 @@
...
@@ -97,12 +97,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:picture:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:picture:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:picture:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:picture:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:picture:check')"
/>
<br
v-if=
"isAuth('manage:picture:check')"
/>
<el-button
v-if=
"isAuth('manage:picture:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:picture:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:picture:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.pictureid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:picture:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.pictureid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:picture:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.pictureid)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:picture:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.pictureid
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -243,11 +243,11 @@ export default {
...
@@ -243,11 +243,11 @@ export default {
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -273,14 +273,14 @@ export default {
...
@@ -273,14 +273,14 @@ export default {
}).
catch
(
e
=>
e
)
}).
catch
(
e
=>
e
)
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/logistics/logistics.vue
View file @
b51bd934
...
@@ -87,12 +87,12 @@
...
@@ -87,12 +87,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:logistics:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:logistics:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:logistics:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:logistics:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:logistics:check')"
/>
<br
v-if=
"isAuth('manage:logistics:check')"
/>
<!--
<el-button
v-if=
"isAuth('manage:logistics:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
-->
<!--
<el-button
v-if=
"isAuth('manage:logistics:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
-->
<el-button
v-if=
"isAuth('manage:logistics:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:logistics:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:logistics:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:logistics:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -218,11 +218,11 @@
...
@@ -218,11 +218,11 @@
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
title=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -261,14 +261,14 @@
...
@@ -261,14 +261,14 @@
})
})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
title=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/medical/medical.vue
View file @
b51bd934
...
@@ -85,12 +85,12 @@
...
@@ -85,12 +85,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:medical:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:medical:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:medical:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:medical:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:medical:check')"
/>
<br
v-if=
"isAuth('manage:medical:check')"
/>
<el-button
v-if=
"isAuth('manage:medical:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:medical:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:medical:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:medical:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:medical:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:medical:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -198,11 +198,11 @@
...
@@ -198,11 +198,11 @@
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -241,14 +241,14 @@
...
@@ -241,14 +241,14 @@
})
})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/party/center.vue
View file @
b51bd934
...
@@ -145,12 +145,12 @@
...
@@ -145,12 +145,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:center:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:center:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:center:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:center:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:center:check')"
/>
<br
v-if=
"isAuth('manage:center:check')"
/>
<el-button
v-if=
"isAuth('manage:center:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:center:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:center:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:center:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:center:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:center:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -286,11 +286,11 @@ export default {
...
@@ -286,11 +286,11 @@ export default {
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -316,14 +316,14 @@ export default {
...
@@ -316,14 +316,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题]=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/party/hotFlow-add-or-update.vue
View file @
b51bd934
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<el-form-item
label=
"上传图片命名规则"
>
<el-form-item
label=
"上传图片命名规则"
>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"图片:"
prop=
"pic"
class=
"pic"
>
<el-form-item
label=
"图片:"
prop=
"pic"
>
<el-upload
<el-upload
v-show=
"!showInfo"
v-show=
"!showInfo"
class=
"avatar-uploader avatar2"
class=
"avatar-uploader avatar2"
...
...
src/views/modules/party/hotFlow.vue
View file @
b51bd934
...
@@ -142,12 +142,12 @@
...
@@ -142,12 +142,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:hotFlow:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:hotFlow:check')"
/>
<br
v-if=
"isAuth('manage:hotFlow:check')"
/>
<el-button
v-if=
"isAuth('manage:hotFlow:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -282,11 +282,11 @@ export default {
...
@@ -282,11 +282,11 @@ export default {
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -312,14 +312,14 @@ export default {
...
@@ -312,14 +312,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
title=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/party/rules-add-or-update.vue
View file @
b51bd934
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
v-model=
"dataForm.showtime"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
value-format=
'yyyy-MM-dd'
type=
"date"
type=
"date"
placeholder=
"
选择日期
"
>
placeholder=
"
请选择显示时间
"
>
</el-date-picker>
</el-date-picker>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
</el-form-item>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<el-form-item
label=
"上传图片命名规则"
>
<el-form-item
label=
"上传图片命名规则"
>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"图片:"
prop=
"pic"
class=
"pic"
>
<el-form-item
label=
"图片:"
prop=
"pic"
>
<el-upload
<el-upload
v-show=
"!showInfo"
v-show=
"!showInfo"
class=
"avatar-uploader avatar2"
class=
"avatar-uploader avatar2"
...
...
src/views/modules/party/rules.vue
View file @
b51bd934
...
@@ -285,11 +285,11 @@ export default {
...
@@ -285,11 +285,11 @@ export default {
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -315,14 +315,14 @@ export default {
...
@@ -315,14 +315,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/party/topicnews-add-or-update.vue
View file @
b51bd934
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
v-model=
"dataForm.showtime"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
value-format=
'yyyy-MM-dd'
type=
"date"
type=
"date"
placeholder=
"
选择日期
"
>
placeholder=
"
请选择显示时间
"
>
</el-date-picker>
</el-date-picker>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
</el-form-item>
...
...
src/views/modules/party/topicnews.vue
View file @
b51bd934
...
@@ -143,12 +143,12 @@
...
@@ -143,12 +143,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:topicnews:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:topicnews:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:topicnews:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:topicnews:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:topicnews:check')"
/>
<br
v-if=
"isAuth('manage:topicnews:check')"
/>
<el-button
v-if=
"isAuth('manage:topicnews:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:topicnews:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:topicnews:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:topicnews:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:topicnews:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:topicnews:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -283,11 +283,11 @@ export default {
...
@@ -283,11 +283,11 @@ export default {
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -313,14 +313,14 @@ export default {
...
@@ -313,14 +313,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/plate/glossary.vue
View file @
b51bd934
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
v-if=
"isAuth('plate:glossary:delete')"
v-if=
"isAuth('plate:glossary:delete')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button
>
删除
</el-button
>
>
</
template
>
</
template
>
...
@@ -212,14 +212,14 @@ export default {
...
@@ -212,14 +212,14 @@ export default {
})
})
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
var
ids
=
id
?
[
id
]
?
[
id
]
:
this
.
dataListSelections
.
map
((
item
)
=>
{
:
this
.
dataListSelections
.
map
((
item
)
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
`确定对[
title=
${
title
}
]进行[
${
title
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
'提示'
,
{
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
...
src/views/modules/plate/knowledgeinfo.vue
View file @
b51bd934
...
@@ -125,12 +125,12 @@
...
@@ -125,12 +125,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.knowledgeinfoid,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.knowledgeinfoid,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.knowledgeinfoid,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.knowledgeinfoid,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:knowledgeinfo:check')"
/>
<br
v-if=
"isAuth('manage:knowledgeinfo:check')"
/>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.knowledgeinfoid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.knowledgeinfoid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.knowledgeinfoid)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:knowledgeinfo:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.knowledgeinfoid
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -268,11 +268,11 @@ export default {
...
@@ -268,11 +268,11 @@ export default {
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -327,14 +327,14 @@ export default {
...
@@ -327,14 +327,14 @@ export default {
})
})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/plate/pcategory.vue
View file @
b51bd934
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
v-if=
"isAuth('plate:pcategory:delete')"
v-if=
"isAuth('plate:pcategory:delete')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"deleteHandle(scope.row.categoryid)"
@
click=
"deleteHandle(scope.row.categoryid
,scope.row.title
)"
>
删除
</el-button
>
删除
</el-button
>
>
</
template
>
</
template
>
...
@@ -144,14 +144,14 @@ export default {
...
@@ -144,14 +144,14 @@ export default {
})
})
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
var
ids
=
id
?
[
id
]
?
[
id
]
:
this
.
dataListSelections
.
map
((
item
)
=>
{
:
this
.
dataListSelections
.
map
((
item
)
=>
{
return
item
.
categoryid
return
item
.
categoryid
})
})
this
.
$confirm
(
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
'提示'
,
{
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
...
src/views/modules/plate/product.vue
View file @
b51bd934
...
@@ -108,14 +108,14 @@
...
@@ -108,14 +108,14 @@
v-if=
"isAuth('plate:product:check')"
v-if=
"isAuth('plate:product:check')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"checkHandle(scope.row.id, 1)"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button
>
[成功]
</el-button
>
>
<el-button
<el-button
v-if=
"isAuth('plate:product:check')"
v-if=
"isAuth('plate:product:check')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"checkHandle(scope.row.id, -1)"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button
>
[失败]
</el-button
>
>
<br
v-if=
"isAuth('plate:product:check')"
/>
<br
v-if=
"isAuth('plate:product:check')"
/>
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
v-if=
"isAuth('plate:product:delete')"
v-if=
"isAuth('plate:product:delete')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button
>
删除
</el-button
>
>
</
template
>
</
template
>
...
@@ -262,14 +262,14 @@ export default {
...
@@ -262,14 +262,14 @@ export default {
window
.
open
(
this
.
$store
.
state
.
config
.
urls
+
'/Service/Book?id='
+
data
.
id
,
'_blank'
)
window
.
open
(
this
.
$store
.
state
.
config
.
urls
+
'/Service/Book?id='
+
data
.
id
,
'_blank'
)
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
var
ids
=
id
?
[
id
]
?
[
id
]
:
this
.
dataListSelections
.
map
((
item
)
=>
{
:
this
.
dataListSelections
.
map
((
item
)
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
'提示'
,
{
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
@@ -298,14 +298,14 @@ export default {
...
@@ -298,14 +298,14 @@ export default {
})
})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/policy/policy-add-or-update.vue
View file @
b51bd934
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
v-model=
"dataForm.publicdate"
v-model=
"dataForm.publicdate"
value-format=
'yyyy-MM-dd HH:mm:ss'
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
type=
"datetime"
placeholder=
"
选择日期
"
>
placeholder=
"
请选择发布
"
>
</el-date-picker>
</el-date-picker>
<p
v-show=
"showInfo"
>
{{
dataForm
.
publicdate
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
publicdate
}}
</p>
</el-form-item>
</el-form-item>
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
v-model=
"dataForm.startdate"
v-model=
"dataForm.startdate"
value-format=
'yyyy-MM-dd HH:mm:ss'
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
type=
"datetime"
placeholder=
"
选择
日期"
>
placeholder=
"
请选择实施
日期"
>
</el-date-picker>
</el-date-picker>
<p
v-show=
"showInfo"
>
{{
dataForm
.
startdate
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
startdate
}}
</p>
</el-form-item>
</el-form-item>
...
...
src/views/modules/policy/policy.vue
View file @
b51bd934
...
@@ -136,12 +136,12 @@
...
@@ -136,12 +136,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:policy:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:policy:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:policy:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:policy:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:policy:check')"
/>
<br
v-if=
"isAuth('manage:policy:check')"
/>
<el-button
v-if=
"isAuth('manage:policy:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:policy:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:policy:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:policy:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:policy:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:policy:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -281,11 +281,11 @@ export default {
...
@@ -281,11 +281,11 @@ export default {
}
}
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -311,14 +311,14 @@ export default {
...
@@ -311,14 +311,14 @@ export default {
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/retail/picture-add-or-update.vue
View file @
b51bd934
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
v-model=
"dataForm.showtime"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
value-format=
'yyyy-MM-dd'
type=
"date"
type=
"date"
placeholder=
"
选择日期
"
>
placeholder=
"
请选择显示时间
"
>
</el-date-picker>
</el-date-picker>
</el-col>
</el-col>
<el-col
:span=
"2"
class=
"icon-list__tips"
>
<el-col
:span=
"2"
class=
"icon-list__tips"
>
...
...
src/views/modules/retail/picture.vue
View file @
b51bd934
...
@@ -97,12 +97,12 @@
...
@@ -97,12 +97,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:retailPicture:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:retailPicture:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:retailPicture:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:retailPicture:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:retailPicture:check')"
/>
<br
v-if=
"isAuth('manage:retailPicture:check')"
/>
<el-button
v-if=
"isAuth('manage:retailPicture:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:retailPicture:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:retailPicture:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.pictureid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:retailPicture:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.pictureid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:retailPicture:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.pictureid)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:retailPicture:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.pictureid
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -243,11 +243,11 @@ export default {
...
@@ -243,11 +243,11 @@ export default {
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -273,14 +273,14 @@ export default {
...
@@ -273,14 +273,14 @@ export default {
}).
catch
(
e
=>
e
)
}).
catch
(
e
=>
e
)
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/service/branch.vue
View file @
b51bd934
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
label=
"操作"
>
label=
"操作"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.branchCode)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.branchCode)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.branchCode)"
>
删除
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.branchCode
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -141,11 +141,11 @@
...
@@ -141,11 +141,11 @@
})
})
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
branchCode
return
item
.
branchCode
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/service/doc.vue
View file @
b51bd934
...
@@ -88,12 +88,12 @@
...
@@ -88,12 +88,12 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('manage:doc:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:doc:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:doc:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<el-button
v-if=
"isAuth('manage:doc:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:doc:check')"
/>
<br
v-if=
"isAuth('manage:doc:check')"
/>
<el-button
v-if=
"isAuth('manage:doc:info')"
type=
"text"
size=
"small"
@
click=
"downFile(scope.row.docfile)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:doc:info')"
type=
"text"
size=
"small"
@
click=
"downFile(scope.row.docfile)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:doc:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,false)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:doc:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,false)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:doc:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:doc:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -203,11 +203,11 @@ export default {
...
@@ -203,11 +203,11 @@ export default {
})
})
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
@@ -233,14 +233,14 @@ export default {
...
@@ -233,14 +233,14 @@ export default {
})
})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/standard/cases-add-or-update.vue
View file @
b51bd934
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
v-model=
"dataForm.showtime"
v-model=
"dataForm.showtime"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
type=
"date"
type=
"date"
placeholder=
"
选择日期
"
placeholder=
"
请选择显示时间
"
>
>
</el-date-picker>
</el-date-picker>
...
...
src/views/modules/standard/cases.vue
View file @
b51bd934
...
@@ -194,14 +194,14 @@
...
@@ -194,14 +194,14 @@
v-if=
"isAuth('standard:cases:check')"
v-if=
"isAuth('standard:cases:check')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"checkHandle(scope.row.id, 1)"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button
>
[成功]
</el-button
>
>
<el-button
<el-button
v-if=
"isAuth('standard:cases:check')"
v-if=
"isAuth('standard:cases:check')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"checkHandle(scope.row.id, -1)"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button
>
[失败]
</el-button
>
>
<br
v-if=
"isAuth('standard:cases:check')"
/>
<br
v-if=
"isAuth('standard:cases:check')"
/>
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
v-if=
"isAuth('standard:cases:delete')"
v-if=
"isAuth('standard:cases:delete')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button
>
删除
</el-button
>
>
</
template
>
</
template
>
...
@@ -415,14 +415,14 @@ export default {
...
@@ -415,14 +415,14 @@ export default {
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
var
ids
=
id
?
[
id
]
?
[
id
]
:
this
.
dataListSelections
.
map
((
item
)
=>
{
:
this
.
dataListSelections
.
map
((
item
)
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
`确定对[
标题=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
'提示'
,
{
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
@@ -453,14 +453,14 @@ export default {
...
@@ -453,14 +453,14 @@ export default {
.
catch
(()
=>
{})
.
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/standard/partners.vue
View file @
b51bd934
...
@@ -217,14 +217,14 @@
...
@@ -217,14 +217,14 @@
v-if=
"isAuth('standard:partners:check')"
v-if=
"isAuth('standard:partners:check')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"checkHandle(scope.row.id, 1)"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
1)"
>
[成功]
</el-button
>
[成功]
</el-button
>
>
<el-button
<el-button
v-if=
"isAuth('standard:partners:check')"
v-if=
"isAuth('standard:partners:check')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"checkHandle(scope.row.id, -1)"
@
click=
"checkHandle(scope.row.id,
scope.row.title,
-1)"
>
[失败]
</el-button
>
[失败]
</el-button
>
>
<br
v-if=
"isAuth('standard:partners:check')"
/>
<br
v-if=
"isAuth('standard:partners:check')"
/>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
v-if=
"isAuth('standard:partners:delete')"
v-if=
"isAuth('standard:partners:delete')"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
@
click=
"deleteHandle(scope.row.id
,scope.row.title
)"
>
删除
</el-button
>
删除
</el-button
>
>
</
template
>
</
template
>
...
@@ -463,14 +463,14 @@ export default {
...
@@ -463,14 +463,14 @@ export default {
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
ids
=
id
var
ids
=
id
?
[
id
]
?
[
id
]
:
this
.
dataListSelections
.
map
((
item
)
=>
{
:
this
.
dataListSelections
.
map
((
item
)
=>
{
return
item
.
id
return
item
.
id
})
})
this
.
$confirm
(
this
.
$confirm
(
`确定对[
id=
${
ids
.
join
(
','
)
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
`确定对[
title=
${
title
}
]进行[
${
id
?
'删除'
:
'批量删除'
}
]操作?`
,
'提示'
,
'提示'
,
{
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
@@ -501,14 +501,14 @@ export default {
...
@@ -501,14 +501,14 @@ export default {
.
catch
(()
=>
{})
.
catch
(()
=>
{})
},
},
// 审核
// 审核
checkHandle
(
id
,
status
)
{
checkHandle
(
id
,
title
,
status
)
{
let
str
=
''
let
str
=
''
if
(
status
===
1
)
{
if
(
status
===
1
)
{
str
=
'成功'
str
=
'成功'
}
else
{
}
else
{
str
=
'失败'
str
=
'失败'
}
}
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/sys/menu.vue
View file @
b51bd934
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('sys:menu:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.menuId)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('sys:menu:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.menuId)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('sys:menu:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.menuId)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('sys:menu:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.menuId
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -120,8 +120,8 @@
...
@@ -120,8 +120,8 @@
})
})
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
this
.
$confirm
(
`确定对[
id=
${
id
}
]进行[删除]操作?`
,
'提示'
,
{
this
.
$confirm
(
`确定对[
标题=
${
title
}
]进行[删除]操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
...
...
src/views/modules/sys/role.vue
View file @
b51bd934
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
label=
"操作"
>
label=
"操作"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('sys:role:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.roleId)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('sys:role:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.roleId)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('sys:role:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.roleId)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('sys:role:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.roleId
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/modules/sys/user.vue
View file @
b51bd934
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isAuth('sys:user:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.userId)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('sys:user:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.userId)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('sys:user:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.userId)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('sys:user:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.userId
,scope.row.title
)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
})
})
},
},
// 删除
// 删除
deleteHandle
(
id
)
{
deleteHandle
(
id
,
title
)
{
var
userIds
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
var
userIds
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
return
item
.
userId
return
item
.
userId
})
})
...
...
static/config/index.js
View file @
b51bd934
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
window
.
SITE_CONFIG
=
{}
window
.
SITE_CONFIG
=
{}
// api接口请求地址
// api接口请求地址
window
.
SITE_CONFIG
[
'baseUrl'
]
=
'http://
81.68.189.225:9091
'
window
.
SITE_CONFIG
[
'baseUrl'
]
=
'http://
wudi.natapp1.cc
'
// window.SITE_CONFIG['baseUrl'] = ' http://192.168.0.77:9091'
// window.SITE_CONFIG['baseUrl'] = ' http://192.168.0.77:9091'
// cdn地址 = 域名 + 版本号
// cdn地址 = 域名 + 版本号
window
.
SITE_CONFIG
[
'domain'
]
=
'./'
// 域名
window
.
SITE_CONFIG
[
'domain'
]
=
'./'
// 域名
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment