Commit b51bd934 by Lyan

bug

parent c25d55da
...@@ -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' })">
......
...@@ -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>
......
...@@ -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'
......
...@@ -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>
......
...@@ -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'
......
...@@ -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'
......
...@@ -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>
......
...@@ -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'
......
...@@ -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'
......
...@@ -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">
......
...@@ -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'
......
...@@ -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">
......
...@@ -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'
......
...@@ -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'
......
...@@ -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'
......
...@@ -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'
......
...@@ -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"
......
...@@ -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'
......
...@@ -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"
......
...@@ -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'
......
...@@ -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>
......
...@@ -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'
......
...@@ -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: '确定',
......
...@@ -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'
......
...@@ -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: '确定',
......
...@@ -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'
......
...@@ -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>
......
...@@ -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'
......
...@@ -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">
......
...@@ -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'
......
...@@ -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'
......
...@@ -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'
......
...@@ -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>
......
...@@ -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'
......
...@@ -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'
......
...@@ -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'
......
...@@ -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>
......
...@@ -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
}) })
......
...@@ -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'] = './' // 域名
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment