Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 05712d9a
authored
Dec 17, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去除导出列表
1 parent
ff4223fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
54 deletions
linkwe-ui/src/views/customerManage/customer.vue
linkwe-ui/src/views/customerManage/group.vue
linkwe-ui/src/views/customerManage/lossRemind.vue
linkwe-ui/src/views/customerManage/customer.vue
View file @
05712d9
...
...
@@ -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>
...
...
linkwe-ui/src/views/customerManage/group.vue
View file @
05712d9
...
...
@@ -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>
...
...
linkwe-ui/src/views/customerManage/lossRemind.vue
View file @
05712d9
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment