2023-3-25

This commit is contained in:
2023-03-25 11:34:50 +08:00
parent 85bac23bf2
commit 1639e0ec9a
6 changed files with 18 additions and 14 deletions

View File

@@ -272,7 +272,7 @@
}) })
}, },
handleDelete(index, row) { handleDelete(index, row) {
this.$confirm('是否要删除该品牌', '提示', { this.$confirm('是否要删除该取货点', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'

View File

@@ -175,7 +175,7 @@
this.$router.push({path: '/build/updateWuyeCompany', query: {id: row.id}}) this.$router.push({path: '/build/updateWuyeCompany', query: {id: row.id}})
}, },
handleDelete(index, row) { handleDelete(index, row) {
this.$confirm('是否要删除该品牌', '提示', { this.$confirm('是否要删除该社区', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'

View File

@@ -133,16 +133,6 @@
name: 'subjectList', name: 'subjectList',
data() { data() {
return { return {
operates: [
{
label: "显示品牌",
value: "showSubject"
},
{
label: "隐藏品牌",
value: "hideSubject"
}
],
operateType: null, operateType: null,
listQuery: { listQuery: {
keyword: null, keyword: null,
@@ -219,7 +209,7 @@
this.$router.push({path: '/cms/updateSubject', query: {id: row.id}}) this.$router.push({path: '/cms/updateSubject', query: {id: row.id}})
}, },
handleDelete(index, row) { handleDelete(index, row) {
this.$confirm('是否要删除该品牌', '提示', { this.$confirm('是否要删除该条资讯', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'

View File

@@ -121,6 +121,9 @@
<el-card class="operate-container" shadow="never"> <el-card class="operate-container" shadow="never">
<i class="el-icon-tickets"></i> <i class="el-icon-tickets"></i>
<span>数据列表</span> <span>数据列表</span>
<el-button style="margin-top: -5px;" type="primary" class="btn-add" @click="doExport()" size="small">
导出Excel
</el-button>
</el-card> </el-card>
<!-- <div class="batch-operate-container"> <!-- <div class="batch-operate-container">
<el-checkbox v-model="printChecked" @change="batchSelection" <el-checkbox v-model="printChecked" @change="batchSelection"
@@ -710,6 +713,10 @@
default: default:
break; break;
} }
},
// 导出
doExport(){
}, },
handleExportOption(val) { handleExportOption(val) {
let list = this.checkList; let list = this.checkList;

View File

@@ -115,6 +115,9 @@
<el-card class="operate-container" shadow="never"> <el-card class="operate-container" shadow="never">
<i class="el-icon-tickets"></i> <i class="el-icon-tickets"></i>
<span>数据列表</span> <span>数据列表</span>
<el-button style="margin-top: -5px;" type="primary" class="btn-add" @click="doExport()" size="small">
导出Excel
</el-button>
</el-card> </el-card>
<div class="table-container"> <div class="table-container">
<el-table ref="orderTable" :data="list" style="width: 100%;" v-loading="listLoading" border> <el-table ref="orderTable" :data="list" style="width: 100%;" v-loading="listLoading" border>
@@ -379,6 +382,10 @@
this.caculateInfo = response.data; this.caculateInfo = response.data;
}); });
}, },
// 导出
doExport(){
}
} }
}; };

View File

@@ -215,7 +215,7 @@
}); });
}, },
handleDelete(index, row) { handleDelete(index, row) {
this.$confirm('是否要删除该品牌', '提示', { this.$confirm('是否要删除该分类', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'