Commit 05712d9a by xinla

去除导出列表

1 parent ff4223fd
...@@ -220,22 +220,22 @@ export default { ...@@ -220,22 +220,22 @@ export default {
console.log(fail) console.log(fail)
}) })
}, },
/** 导出按钮操作 */ // /** 导出按钮操作 */
exportCustomer() { // exportCustomer() {
const queryParams = this.query // const queryParams = this.query
this.$confirm('是否确认导出所有客户数据项?', '警告', { // this.$confirm('是否确认导出所有客户数据项?', '警告', {
confirmButtonText: '确定', // confirmButtonText: '确定',
cancelButtonText: '取消', // cancelButtonText: '取消',
type: 'warning' // type: 'warning'
}) // })
.then(function() { // .then(function() {
return api.exportCustomer(queryParams) // return api.exportCustomer(queryParams)
}) // })
.then((response) => { // .then((response) => {
this.download(response.msg) // this.download(response.msg)
}) // })
.catch(function() {}) // .catch(function() {})
}, // },
selectedUser(list) { selectedUser(list) {
this.queryUser = list this.queryUser = list
}, },
...@@ -396,12 +396,12 @@ export default { ...@@ -396,12 +396,12 @@ export default {
@click="resetForm()" @click="resetForm()"
>重置</el-button >重置</el-button
> >
<el-button <!-- <el-button
v-hasPermi="['customerManage:customer:export']" v-hasPermi="['customerManage:customer:export']"
type="info" type="info"
@click="exportCustomer" @click="exportCustomer"
>导出列表</el-button >导出列表</el-button
> > -->
</el-form-item> </el-form-item>
</el-form> </el-form>
......
...@@ -154,23 +154,23 @@ export default { ...@@ -154,23 +154,23 @@ export default {
handleSelectionChange(selection) { handleSelectionChange(selection) {
this.ids = selection.map((item) => item.id) this.ids = selection.map((item) => item.id)
this.multiple = !selection.length this.multiple = !selection.length
},
/** 导出按钮操作 */
handleExport() {
// const query = this.query;
// this.$confirm("是否确认导出所有数据项?", "警告", {
// confirmButtonText: "确定",
// cancelButtonText: "取消",
// type: "warning",
// })
// .then(function () {
// return exportOperlog(query);
// })
// .then((response) => {
// this.download(response.msg);
// })
// .catch(function () {});
} }
// /** 导出按钮操作 */
// handleExport() {
// const query = this.query;
// this.$confirm("是否确认导出所有数据项?", "警告", {
// confirmButtonText: "确定",
// cancelButtonText: "取消",
// type: "warning",
// })
// .then(function () {
// return exportOperlog(query);
// })
// .then((response) => {
// this.download(response.msg);
// })
// .catch(function () {});
// }
} }
} }
</script> </script>
...@@ -210,9 +210,9 @@ export default { ...@@ -210,9 +210,9 @@ export default {
<el-button v-hasPermi="['customerManage:group:query']" type="info" @click="resetQuery" <el-button v-hasPermi="['customerManage:group:query']" type="info" @click="resetQuery"
>重置</el-button >重置</el-button
> >
<el-button v-hasPermi="['customerManage:group:export']" type="success" @click="handleExport" <!-- <el-button v-hasPermi="['customerManage:group:export']" type="success" @click="handleExport"
>导出列表</el-button >导出列表</el-button
> > -->
</el-form-item> </el-form-item>
</el-form> </el-form>
......
...@@ -114,22 +114,22 @@ export default { ...@@ -114,22 +114,22 @@ export default {
} }
this.dialogVisible = true this.dialogVisible = true
}, },
/** 导出按钮操作 */ // /** 导出按钮操作 */
exportCustomer() { // exportCustomer() {
const queryParams = this.query // const queryParams = this.query
this.$confirm('是否确认导出所有客户数据项?', '警告', { // this.$confirm('是否确认导出所有客户数据项?', '警告', {
confirmButtonText: '确定', // confirmButtonText: '确定',
cancelButtonText: '取消', // cancelButtonText: '取消',
type: 'warning' // type: 'warning'
}) // })
.then(function() { // .then(function() {
return exportCustomer(queryParams) // return exportCustomer(queryParams)
}) // })
.then((response) => { // .then((response) => {
this.download(response.msg) // this.download(response.msg)
}) // })
.catch(function() {}) // .catch(function() {})
}, // },
selectedUser(list) { selectedUser(list) {
this.queryUser = list this.queryUser = list
this.query.userIds = list.map((d) => d.userId) + '' this.query.userIds = list.map((d) => d.userId) + ''
...@@ -217,12 +217,12 @@ export default { ...@@ -217,12 +217,12 @@ export default {
@click="resetForm()" @click="resetForm()"
>重置</el-button >重置</el-button
> >
<el-button <!-- <el-button
v-hasPermi="['customerManage:customer:export']" v-hasPermi="['customerManage:customer:export']"
type="info" type="info"
@click="exportCustomer" @click="exportCustomer"
>导出列表</el-button >导出列表</el-button
> > -->
</el-form-item> </el-form-item>
</el-form> </el-form>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!