Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
e3cdf48e
Commit
e3cdf48e
authored
Aug 19, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
45462d72
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
361 additions
and
105 deletions
+361
-105
wechat.js
src/api/system/wechat.js
+1
-1
chaneelcode-form.vue
src/components/enterprise/chaneelcode-form.vue
+11
-11
welcome-from.vue
src/components/enterprise/welcome-from.vue
+1
-2
addchannelcode.vue
src/pages/enterprise/addchannelcode.vue
+348
-91
No files found.
src/api/system/wechat.js
View file @
e3cdf48e
...
...
@@ -312,7 +312,7 @@ export function SetSynvEduEmployee(data) {
*/
export
function
getWeChatChannelInfo
(
data
)
{
return
request
({
url
:
'/QYWeChat/GetWeChatChannelInfo'
,
url
:
'/QYWeChat/GetWeChatChannelInfo
_V2
'
,
method
:
'post'
,
data
})
...
...
src/components/enterprise/chaneelcode-form.vue
View file @
e3cdf48e
...
...
@@ -93,11 +93,11 @@
<el-form-item
label=
"固定时段:"
v-if=
"peopletype==1"
>
<div
v-for=
"(x,y) in addMsg "
:key=
"y"
style=
"display: flex;align-items: center;margin-top: 10px;"
>
<el-time-select
:disabled=
"y==0"
placeholder=
"起始时间"
v-model=
"x.S
r
artHours"
<el-time-select
:disabled=
"y==0"
placeholder=
"起始时间"
v-model=
"x.S
t
artHours"
:picker-options=
"
{ start: '00:00', step: '01:00', end: '23:00', }">
</el-time-select>
<el-time-select
:disabled=
"y==0"
placeholder=
"结束时间"
v-model=
"x.EndHours"
:picker-options=
"
{ start: '00:00', step: '01:00', end: '23:00', minTime: x.S
r
artHours}">
:picker-options=
"
{ start: '00:00', step: '01:00', end: '23:00', minTime: x.S
t
artHours}">
</el-time-select>
<el-select
v-model=
"x.EmpId"
placeholder=
"请选择"
@
change=
"selectPersonnel(y)"
>
<el-option
filterable
v-for=
"item in Employeelist"
:key=
"item.Id"
...
...
@@ -112,11 +112,11 @@
<el-form-item
label=
"固定时段:"
v-if=
"peopletype==2"
>
<div
v-for=
"(x,y) in addMsg "
:key=
"y"
>
<div
style=
"display: flex;align-items: flex-start;margin-top: 10px;"
>
<el-time-select
:disabled=
"y==0"
placeholder=
"起始时间"
v-model=
"x.S
r
artHours"
<el-time-select
:disabled=
"y==0"
placeholder=
"起始时间"
v-model=
"x.S
t
artHours"
:picker-options=
"
{ start: '00:00', step: '01:00', end: '23:00', }">
</el-time-select>
<el-time-select
:disabled=
"y==0"
placeholder=
"结束时间"
v-model=
"x.EndHours"
:picker-options=
"
{ start: '00:00', step: '01:00', end: '23:00', minTime: x.S
r
artHours}">
:picker-options=
"
{ start: '00:00', step: '01:00', end: '23:00', minTime: x.S
t
artHours}">
</el-time-select>
<div
style=
"max-width: 320px;"
>
<div>
...
...
@@ -184,7 +184,7 @@
default
:
''
,
},
peopletype
:
{
type
:
String
,
type
:
Number
,
default
:
1
,
},
...
...
@@ -212,11 +212,11 @@
created
()
{
if
(
this
.
peopletype
==
1
)
{
//单人模式
this
.
addMsg
=
[
{
Id
:
0
,
Week
:
''
,
IsDefault
:
1
,
S
r
artHours
:
'00:00'
,
EndHours
:
"00:00"
,
EmpId
:
''
,
EmpName
:
''
,
}
{
Id
:
0
,
Week
:
''
,
IsDefault
:
1
,
S
t
artHours
:
'00:00'
,
EndHours
:
"00:00"
,
EmpId
:
''
,
EmpName
:
''
,
}
]
}
else
{
this
.
addMsg
=
[
{
Id
:
0
,
Week
:
''
,
IsDefault
:
1
,
S
r
artHours
:
'00:00'
,
EndHours
:
"00:00"
,
EmpList
:
[],
DeptList
:
[],
returnString
:[],}
{
Id
:
0
,
Week
:
''
,
IsDefault
:
1
,
S
t
artHours
:
'00:00'
,
EndHours
:
"00:00"
,
EmpList
:
[],
DeptList
:
[],
returnString
:[],}
]
}
if
(
this
.
lsday
!=
''
)
{
//修改单独周几
...
...
@@ -271,10 +271,10 @@
},
adddata
()
{
if
(
this
.
peopletype
==
1
)
{
//单人模式
let
obj
=
{
Id
:
0
,
Week
:
''
,
IsDefault
:
2
,
S
r
artHours
:
''
,
EndHours
:
""
,
EmpId
:
''
,
EmpName
:
''
,
}
let
obj
=
{
Id
:
0
,
Week
:
''
,
IsDefault
:
2
,
S
t
artHours
:
''
,
EndHours
:
""
,
EmpId
:
''
,
EmpName
:
''
,
}
this
.
addMsg
.
push
(
obj
)
}
else
{
let
obj
=
{
Id
:
0
,
Week
:
''
,
IsDefault
:
2
,
S
r
artHours
:
''
,
EndHours
:
""
,
EmpList
:
[],
DeptList
:
[],
returnString
:[],}
let
obj
=
{
Id
:
0
,
Week
:
''
,
IsDefault
:
2
,
S
t
artHours
:
''
,
EndHours
:
""
,
EmpList
:
[],
DeptList
:
[],
returnString
:[],}
this
.
addMsg
.
push
(
obj
)
}
},
...
...
@@ -306,7 +306,7 @@
let
isHours
=
false
;
this
.
addMsg
.
map
((
x
,
i
)
=>
{
if
(
i
>
0
)
{
if
(
x
.
S
r
artHours
==
''
||
x
.
EndHours
==
''
)
{
if
(
x
.
S
t
artHours
==
''
||
x
.
EndHours
==
''
)
{
isHours
=
true
;
return
}
...
...
@@ -386,7 +386,7 @@
let
isHours
=
false
;
this
.
addMsg
.
map
((
x
,
i
)
=>
{
if
(
i
>
0
)
{
if
(
x
.
S
r
artHours
==
''
||
x
.
EndHours
==
''
)
{
if
(
x
.
S
t
artHours
==
''
||
x
.
EndHours
==
''
)
{
isHours
=
true
;
return
}
...
...
src/components/enterprise/welcome-from.vue
View file @
e3cdf48e
...
...
@@ -98,7 +98,7 @@
</div>
</el-form-item>
<el-form-item
label=
"添加内容:"
>
<div
v-if=
"addMsg.MediumModel.length>0"
>
<div
v-if=
"addMsg.MediumModel
&& addMsg.MediumModel
.length>0"
>
<div
class=
"row items-center"
v-for=
"(x,y) in addMsg.MediumModel"
:key=
"y"
>
<i
class=
"el-icon-link"
></i>
<span
style=
"margin-left: 10px;cursor: pointer;"
>
{{
getType
(
x
,
'title'
)
}}
</span>
...
...
@@ -229,7 +229,6 @@
if
(
type
==
1
){
this
.
outerVisible
=
true
}
this
.
dialogTitle
=
this
.
$t
(
'fnc.xzrenyuan'
);
queryEmployee
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
memberList
=
res
.
Data
;
...
...
src/pages/enterprise/addchannelcode.vue
View file @
e3cdf48e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment