Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jilinzhongdianrenqun-web
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
jilinzhongdianrenqun-web
Commits
f4fa16c1
Commit
f4fa16c1
authored
Dec 30, 2025
by
wangchunyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员时间格式处理
parent
0bef0175
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
+3
-1
src/view/key-person/key_dm_user/index.vue
+3
-1
没有找到文件。
src/view/key-person/key_dm_user/index.vue
View file @
f4fa16c1
...
@@ -87,6 +87,7 @@
...
@@ -87,6 +87,7 @@
<
script
>
<
script
>
import
{
getDmUserList
,
syncDmUsersByOffice
,
saveDmUser
}
from
'@/api/key-dm-user'
import
{
getDmUserList
,
syncDmUsersByOffice
,
saveDmUser
}
from
'@/api/key-dm-user'
import
UserSelector
from
'./userSelector.vue'
import
UserSelector
from
'./userSelector.vue'
import
{
normalizeVisitTimeValue
}
from
'@/view/key-person/key_dm_conf/dates.js'
export
default
{
export
default
{
name
:
'key-dm-user-index'
,
name
:
'key-dm-user-index'
,
...
@@ -177,7 +178,7 @@ export default {
...
@@ -177,7 +178,7 @@ export default {
const
params
=
{
office_code
:
this
.
officeCode
}
const
params
=
{
office_code
:
this
.
officeCode
}
this
.
$Modal
.
confirm
({
this
.
$Modal
.
confirm
({
title
:
'确认同步'
,
title
:
'确认同步'
,
content
:
'将同步本机构及下属机构的用户,已存在的记录会被更新
(不覆盖 null 值)
,是否继续?'
,
content
:
'将同步本机构及下属机构的用户,已存在的记录会被更新,是否继续?'
,
onOk
:
()
=>
{
onOk
:
()
=>
{
this
.
loading
=
true
this
.
loading
=
true
syncDmUsersByOffice
(
params
).
then
(
ret
=>
{
syncDmUsersByOffice
(
params
).
then
(
ret
=>
{
...
@@ -211,6 +212,7 @@ export default {
...
@@ -211,6 +212,7 @@ export default {
this
.
$refs
.
editForm
.
validate
(
valid
=>
{
this
.
$refs
.
editForm
.
validate
(
valid
=>
{
// no strict validation here, just save
// no strict validation here, just save
this
.
editModal
.
saving
=
true
this
.
editModal
.
saving
=
true
this
.
editModal
.
form
.
in_work_time
=
this
.
editModal
.
form
.
in_work_time
?
normalizeVisitTimeValue
(
this
.
editModal
.
form
.
in_work_time
)
:
null
saveDmUser
(
this
.
editModal
.
form
).
then
(
ret
=>
{
saveDmUser
(
this
.
editModal
.
form
).
then
(
ret
=>
{
if
(
ret
.
data
&&
ret
.
data
.
errcode
===
0
)
{
if
(
ret
.
data
&&
ret
.
data
.
errcode
===
0
)
{
this
.
$Message
.
success
(
'保存成功'
)
this
.
$Message
.
success
(
'保存成功'
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论