Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
仟微科技
Link Wechat
提交
f061c5c0
Link Wechat
项目概览
仟微科技
/
Link Wechat
通知
48
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Link Wechat
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
f061c5c0
编写于
10月 31, 2020
作者:
X
xinlaa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除已开放页面多余代码
上级
0f17076f
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
23 addition
and
220 deletion
+23
-220
linkwe-ui/src/views/contacts/organization.vue
linkwe-ui/src/views/contacts/organization.vue
+9
-2
linkwe-ui/src/views/customerManage/customer.vue
linkwe-ui/src/views/customerManage/customer.vue
+0
-6
linkwe-ui/src/views/customerManage/dimission/index.vue
linkwe-ui/src/views/customerManage/dimission/index.vue
+0
-10
linkwe-ui/src/views/customerManage/group.vue
linkwe-ui/src/views/customerManage/group.vue
+14
-68
linkwe-ui/src/views/customerManage/groupDetail.vue
linkwe-ui/src/views/customerManage/groupDetail.vue
+0
-68
linkwe-ui/src/views/customerManage/tag.vue
linkwe-ui/src/views/customerManage/tag.vue
+0
-66
未找到文件。
linkwe-ui/src/views/contacts/organization.vue
浏览文件 @
f061c5c0
...
...
@@ -214,7 +214,8 @@ export default {
);
this
.
dialogVisibleDepart
=
true
;
},
submitDepart
()
{
departRemove
()
{},
departSubmit
()
{
api
[
this
.
formDepart
.
id
?
"
updateDepart
"
:
"
addDepart
"
](
this
.
formDepart
)
.
then
(()
=>
{
this
.
msgSuccess
(
"
操作成功
"
);
...
...
@@ -324,6 +325,12 @@ export default {
v-hasPermi=
"['contacts:organization:addDep']"
@
click.stop=
"departEdit(data, 0)"
></i>
<i
class=
"el-icon-delete"
v-hasPermi=
"['contacts:organization:removeDep']"
v-if=
"node.level !== 1"
@
click.stop=
"departRemove(data)"
></i>
</span>
</div>
</el-tree>
...
...
@@ -509,7 +516,7 @@ export default {
</el-form>
<div
slot=
"footer"
>
<el-button
@
click=
"dialogVisibleDepart = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"
submitDepar
t"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"
departSubmi
t"
>
确 定
</el-button>
</div>
</el-dialog>
...
...
linkwe-ui/src/views/customerManage/customer.vue
浏览文件 @
f061c5c0
...
...
@@ -205,12 +205,6 @@ export default {
this
.
dateRange
=
[];
this
.
$refs
[
"
queryForm
"
].
resetFields
();
},
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
},
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
multipleSelection
=
selection
;
...
...
linkwe-ui/src/views/customerManage/dimission/index.vue
浏览文件 @
f061c5c0
...
...
@@ -90,16 +90,6 @@ export default {
this
.
loading
=
false
;
});
},
submitForm
(
formName
)
{
this
.
$refs
[
"
form
"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
alert
(
"
submit!
"
);
}
else
{
console
.
log
(
"
error submit!!
"
);
return
false
;
}
});
},
resetForm
(
formName
)
{
this
.
dateRange
=
[];
this
.
$refs
[
"
queryForm
"
].
resetFields
();
...
...
linkwe-ui/src/views/customerManage/group.vue
浏览文件 @
f061c5c0
...
...
@@ -21,20 +21,10 @@ export default {
ids
:
[],
// 非多个禁用
multiple
:
true
,
// 显示搜索条件
showSearch
:
true
,
// 总条数
total
:
0
,
// 表格数据
list
:
[],
// 是否显示弹出层
open
:
false
,
// 类型数据字典
typeOptions
:
[],
// 类型数据字典
statusOptions
:
[],
// 表单参数
form
:
{},
};
},
created
()
{
...
...
@@ -82,58 +72,21 @@ export default {
this
.
ids
=
selection
.
map
((
item
)
=>
item
.
id
);
this
.
multiple
=
!
selection
.
length
;
},
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
operIds
=
row
.
operId
||
this
.
ids
;
this
.
$confirm
(
'
是否确认删除日志编号为"
'
+
operIds
+
'
"的数据项?
'
,
"
警告
"
,
{
confirmButtonText
:
"
确定
"
,
cancelButtonText
:
"
取消
"
,
type
:
"
warning
"
,
}
)
.
then
(
function
()
{
return
delOperlog
(
operIds
);
})
.
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"
删除成功
"
);
})
.
catch
(
function
()
{});
},
/** 清空按钮操作 */
handleClean
()
{
this
.
$confirm
(
"
是否确认清空所有操作日志数据项?
"
,
"
警告
"
,
{
confirmButtonText
:
"
确定
"
,
cancelButtonText
:
"
取消
"
,
type
:
"
warning
"
,
})
.
then
(
function
()
{
return
cleanOperlog
();
})
.
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"
清空成功
"
);
})
.
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
()
{});
//
const query = this.query;
//
this.$confirm("是否确认导出所有数据项?", "警告", {
//
confirmButtonText: "确定",
//
cancelButtonText: "取消",
//
type: "warning",
//
})
//
.then(function () {
//
return exportOperlog(query);
//
})
//
.then((response) => {
//
this.download(response.msg);
//
})
//
.catch(function () {});
},
},
};
...
...
@@ -141,14 +94,7 @@ export default {
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"query"
ref=
"queryForm"
:inline=
"true"
v-show=
"showSearch"
class=
"top-search"
label-width=
"80px"
>
<el-form
:model=
"query"
ref=
"queryForm"
:inline=
"true"
class=
"top-search"
label-width=
"80px"
>
<el-form-item
label=
"群名"
>
<el-input
v-model=
"query.groupName"
placeholder=
"请输入群名"
clearable
/>
</el-form-item>
...
...
linkwe-ui/src/views/customerManage/groupDetail.vue
浏览文件 @
f061c5c0
...
...
@@ -11,20 +11,10 @@ export default {
ids
:
[],
// 非多个禁用
multiple
:
true
,
// 显示搜索条件
showSearch
:
true
,
// 总条数
total
:
0
,
// 表格数据
list
:
[],
// 是否显示弹出层
open
:
false
,
// 类型数据字典
typeOptions
:
[],
// 类型数据字典
statusOptions
:
[],
// 日期范围
dateRange
:
[],
// 群信息
group
:
{},
// 查询参数
...
...
@@ -61,64 +51,6 @@ export default {
this
.
ids
=
selection
.
map
((
item
)
=>
item
.
operId
);
this
.
multiple
=
!
selection
.
length
;
},
/** 详细按钮操作 */
handleView
(
row
)
{
this
.
open
=
true
;
this
.
form
=
row
;
},
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
operIds
=
row
.
operId
||
this
.
ids
;
this
.
$confirm
(
'
是否确认删除日志编号为"
'
+
operIds
+
'
"的数据项?
'
,
"
警告
"
,
{
confirmButtonText
:
"
确定
"
,
cancelButtonText
:
"
取消
"
,
type
:
"
warning
"
,
}
)
.
then
(
function
()
{
return
delOperlog
(
operIds
);
})
.
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"
删除成功
"
);
})
.
catch
(
function
()
{});
},
/** 清空按钮操作 */
handleClean
()
{
this
.
$confirm
(
"
是否确认清空所有操作日志数据项?
"
,
"
警告
"
,
{
confirmButtonText
:
"
确定
"
,
cancelButtonText
:
"
取消
"
,
type
:
"
warning
"
,
})
.
then
(
function
()
{
return
cleanOperlog
();
})
.
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"
清空成功
"
);
})
.
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
>
...
...
linkwe-ui/src/views/customerManage/tag.vue
浏览文件 @
f061c5c0
...
...
@@ -31,20 +31,10 @@ export default {
ids
:
[],
// 非多个禁用
multiple
:
true
,
// 显示搜索条件
showSearch
:
true
,
// 总条数
total
:
0
,
// 表格数据
list
:
[],
// 是否显示弹出层
open
:
false
,
// 类型数据字典
typeOptions
:
[],
// 类型数据字典
statusOptions
:
[],
// 日期范围
dateRange
:
[],
};
},
created
()
{
...
...
@@ -84,35 +74,11 @@ export default {
this
.
getList
();
});
},
// 操作日志状态字典翻译
statusFormat
(
row
,
column
)
{
return
this
.
selectDictLabel
(
this
.
statusOptions
,
row
.
status
);
},
// 操作日志类型字典翻译
typeFormat
(
row
,
column
)
{
return
this
.
selectDictLabel
(
this
.
typeOptions
,
row
.
businessType
);
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
query
.
pageNum
=
1
;
this
.
getList
();
},
/** 重置按钮操作 */
resetQuery
()
{
this
.
dateRange
=
[];
this
.
resetForm
(
"
queryForm
"
);
this
.
handleQuery
();
},
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
((
item
)
=>
item
.
groupId
);
this
.
multiple
=
!
selection
.
length
;
},
/** 详细按钮操作 */
handleView
(
row
)
{
this
.
open
=
true
;
this
.
form
=
row
;
},
/** 删除按钮操作 */
remove
(
id
)
{
const
operIds
=
id
||
this
.
ids
+
""
;
...
...
@@ -127,38 +93,6 @@ export default {
this
.
msgSuccess
(
"
删除成功
"
);
});
},
/** 清空按钮操作 */
handleClean
()
{
this
.
$confirm
(
"
是否确认清空所有操作日志数据项?
"
,
"
警告
"
,
{
confirmButtonText
:
"
确定
"
,
cancelButtonText
:
"
取消
"
,
type
:
"
warning
"
,
})
.
then
(
function
()
{
return
cleanOperlog
();
})
.
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"
清空成功
"
);
})
.
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
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录