Commit 05712d9a by xinla

去除导出列表

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