Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
800392e6
Commit
800392e6
authored
5 years ago
by
华国豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修复填写意见调查表提交不成功;
2、考勤打卡设置新增可选 部门、员工项; 3、修复消息跳转财务单据审核页面显示出错问题。 4、修改旅客名单上传成功后弹窗不关闭
parent
37a90b8f
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
159 additions
and
44 deletions
+159
-44
login.css
src/assets/css/login.css
+6
-6
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+36
-24
Qzcommissions.vue
src/components/FinancialModule/Qzcommissions.vue
+8
-0
Login2019.vue
src/components/Login2019.vue
+1
-1
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+1
-1
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+1
-1
AttendanceRules.vue
src/components/administrative/AttendanceRules.vue
+95
-7
Survey.vue
src/components/administrative/Survey.vue
+9
-3
index.vue
src/components/index.vue
+2
-1
No files found.
src/assets/css/login.css
View file @
800392e6
input
:-webkit-autofill
{
-webkit-box-shadow
:
0
0
0px
1000px
white
inset
;}
input
:-webkit-autofill
{
-webkit-box-shadow
:
0
0
0px
1000px
white
inset
;}
.login-box
{
.login-box
{
position
:
absolute
;
/* position:absolute; */
/*background-repeat: no-repeat;*/
/*background-repeat: no-repeat;*/
width
:
100%
;
/*
width:100%;
height
:
100%
;
height:100%;
*/
font-family
:
MicrosoftYaHei
;
/*
font-family:MicrosoftYaHei;
overflow
:
hidden
;
overflow: hidden;
*/
/*background-size: cover;*/
/*background-size: cover;*/
/*background-position: center center;*/
/*background-position: center center;*/
background-color
:
white
;
/* background-color: white; */
}
}
.login-Div
{
.login-Div
{
width
:
380px
;
width
:
380px
;
...
...
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/BasicDocuments.vue
View file @
800392e6
...
@@ -571,7 +571,7 @@
...
@@ -571,7 +571,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"_right_content"
v-for=
"(son,sindex) in item.AuditRecordList"
v-if=
"son.AuditStatus!=2"
>
<div
class=
"_right_content"
v-for=
"(son,sindex) in item.AuditRecordList"
v-if=
"son.AuditStatus!=2
&& MsgUrl
"
>
<span
class=
"_sm"
>
<span
class=
"_sm"
>
<p
class=
"_name"
>
<p
class=
"_name"
>
<span
class=
"_n"
>
{{son.AuditName}}
</span>
<span
class=
"_n"
>
{{son.AuditName}}
</span>
...
@@ -584,7 +584,7 @@
...
@@ -584,7 +584,7 @@
<p><span>
由
</span>
{{
z
.
BeFrom
}}
<span><i
class=
"_color_green"
>
转交
</i>
给
</span>
{{
z
.
Target
}}
</p>
<p><span>
由
</span>
{{
z
.
BeFrom
}}
<span><i
class=
"_color_green"
>
转交
</i>
给
</span>
{{
z
.
Target
}}
</p>
<p
class=
"_pp_info"
>
转交备注:
{{
z
.
Remarks
?
z
.
Remarks
:
'无'
}}
</p>
<p
class=
"_pp_info"
>
转交备注:
{{
z
.
Remarks
?
z
.
Remarks
:
'无'
}}
</p>
</div>
</div>
</
template
>
</
template
>
</span>
</span>
</div>
</div>
<textarea
v-if=
"item.SpecialNode!=2||AuditOrRefundMsg.Status=='3'"
class=
"_textarea"
v-model=
"AuditOrRefundMsg.Description"
placeholder=
"请输入..."
></textarea>
<textarea
v-if=
"item.SpecialNode!=2||AuditOrRefundMsg.Status=='3'"
class=
"_textarea"
v-model=
"AuditOrRefundMsg.Description"
placeholder=
"请输入..."
></textarea>
...
@@ -880,7 +880,7 @@
...
@@ -880,7 +880,7 @@
</ul>
</ul>
</div>
</div>
</div>
</div>
<div
class=
"_pb_son clearfix"
v-if=
"item.NextStep==1 && GetDetail.Status==1 && item.AuditWay!=2"
>
<div
class=
"_pb_son clearfix"
v-if=
"item.NextStep==1 && GetDetail.Status==1 && item.AuditWay!=2
&& MsgUrl
"
>
<div
class=
"_left_radius _left_radius_sus"
v-if=
"item.Status==1"
>
待审
</div>
<div
class=
"_left_radius _left_radius_sus"
v-if=
"item.Status==1"
>
待审
</div>
<p
class=
"_name"
>
<span
class=
"_n"
>
{{item.AuditDescription}}
</span><span
class=
"_sm _huoqian"
v-if=
"item.AuditWay==3"
>
({{item.AuditWayName}})
</span></p>
<p
class=
"_name"
>
<span
class=
"_n"
>
{{item.AuditDescription}}
</span><span
class=
"_sm _huoqian"
v-if=
"item.AuditWay==3"
>
({{item.AuditWayName}})
</span></p>
<div
class=
"_right_content _padd_left_10"
>
<div
class=
"_right_content _padd_left_10"
>
...
@@ -1008,7 +1008,7 @@
...
@@ -1008,7 +1008,7 @@
</div>
</div>
<!-- 111 -->
<!-- 111 -->
<div
class=
"_pay_box"
v-if=
"AuditOrRefundMsg.Status=='5'&&item.SpecialNode==2"
>
<div
class=
"_pay_box"
v-if=
"AuditOrRefundMsg.Status=='5'&&item.SpecialNode==2"
>
<!-- <div class="_pay_box"> -->
<!-- <div class="_pay_box"> -->
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;"
>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;"
>
<tr>
<tr>
...
@@ -1250,7 +1250,7 @@
...
@@ -1250,7 +1250,7 @@
</div>
</div>
</template>
</template>
</div>
</div>
<div
class=
"_submit"
v-if=
"GetDetail.Is_Self!=1"
>
<div
class=
"_submit"
v-if=
"GetDetail.Is_Self!=1
&& MsgUrl
"
>
<div
class=
"chosenNextBox"
v-if=
"(GetDetail.IsHave==0||resultCode==11019)&&AuditOrRefundMsg.Status=='5'"
>
<div
class=
"chosenNextBox"
v-if=
"(GetDetail.IsHave==0||resultCode==11019)&&AuditOrRefundMsg.Status=='5'"
>
<
template
>
<
template
>
<div>
<div>
...
@@ -1278,7 +1278,7 @@
...
@@ -1278,7 +1278,7 @@
</template>
</template>
</div>
</div>
</div>
</div>
<div
class=
"_submit"
v-if=
"GetDetail.Is_Self==1"
>
<div
class=
"_submit"
v-if=
"GetDetail.Is_Self==1"
&&
MsgUrl
>
<div>
<div>
<label>
转交人:
</label>
<label>
转交人:
</label>
<el-select
size=
"mini"
style=
"width:300px"
v-model=
"zhuanMsg.AuditEmId"
filterable
remote
reserve-keyword
placeholder=
"请选择转交人"
:remote-method=
"remoteMethod"
:loading=
"loadingPeople"
>
<el-select
size=
"mini"
style=
"width:300px"
v-model=
"zhuanMsg.AuditEmId"
filterable
remote
reserve-keyword
placeholder=
"请选择转交人"
:remote-method=
"remoteMethod"
:loading=
"loadingPeople"
>
...
@@ -1466,6 +1466,7 @@ export default {
...
@@ -1466,6 +1466,7 @@ export default {
isChongDi
:
false
,
isChongDi
:
false
,
danjuType
:
''
,
danjuType
:
''
,
showModel
:
false
,
showModel
:
false
,
MsgUrl
:
true
,
}
}
},
components
:{
},
components
:{
"my-FlowChartModule"
:
myFlowChartModule
,
"my-FlowChartModule"
:
myFlowChartModule
,
...
@@ -1583,7 +1584,7 @@ export default {
...
@@ -1583,7 +1584,7 @@ export default {
this
.
ChongDiMsg
.
QEndDate
=
this
.
productionDate
[
1
];
this
.
ChongDiMsg
.
QEndDate
=
this
.
productionDate
[
1
];
}
}
},
},
payMsgListShow
:
function
(
type
,
index
)
{
payMsgListShow
:
function
(
type
,
index
)
{
if
(
this
.
choiceMsg
.
Status
==
1
){
if
(
this
.
choiceMsg
.
Status
==
1
){
this
.
payMsgList
.
forEach
(
x
=>
{
this
.
payMsgList
.
forEach
(
x
=>
{
x
.
show
=
false
x
.
show
=
false
...
@@ -1602,8 +1603,8 @@ export default {
...
@@ -1602,8 +1603,8 @@ export default {
}
}
this
.
payMsgList
[
index
].
show
=
true
this
.
payMsgList
[
index
].
show
=
true
}
}
},
},
addList
:
function
(
type
,
index
)
{
addList
:
function
(
type
,
index
)
{
if
(
type
)
{
if
(
type
)
{
if
(
this
.
payMsgList
[
index
].
AccountId
===
''
)
return
if
(
this
.
payMsgList
[
index
].
AccountId
===
''
)
return
if
(
this
.
payMsgList
[
index
].
Type
===
''
)
return
if
(
this
.
payMsgList
[
index
].
Type
===
''
)
return
...
@@ -1647,21 +1648,21 @@ export default {
...
@@ -1647,21 +1648,21 @@ export default {
}
}
this
.
allMoney
=
Math
.
round
(
allMoney
*
100
)
/
100
;
this
.
allMoney
=
Math
.
round
(
allMoney
*
100
)
/
100
;
},
},
Financial_post_GetFinancLogList
(){
// 获取单据日志
Financial_post_GetFinancLogList
(){
// 获取单据日志
if
(
this
.
checkboxShow
)
return
if
(
this
.
checkboxShow
)
return
this
.
LogLoading
=
true
;
this
.
LogLoading
=
true
;
this
.
apipost
(
'Financial_post_GetFinancLogList'
,{
ID
:
this
.
ID
,
Type
:
2
},
res
=>
{
this
.
apipost
(
'Financial_post_GetFinancLogList'
,{
ID
:
this
.
ID
,
Type
:
2
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
x
.
UpdateDate
=
this
.
$commonUtils
.
formatMsgTime
(
x
.
UpdateDate
)
x
.
UpdateDate
=
this
.
$commonUtils
.
formatMsgTime
(
x
.
UpdateDate
)
})
})
this
.
LogLoading
=
false
;
this
.
LogLoading
=
false
;
this
.
GetFinancLogList
=
data
;
this
.
GetFinancLogList
=
data
;
}
}
},
err
=>
{})
},
err
=>
{})
},
},
zanCun
()
{
zanCun
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
let
imgArr
=
[];
let
imgArr
=
[];
...
@@ -2242,6 +2243,7 @@ export default {
...
@@ -2242,6 +2243,7 @@ export default {
}
}
},
},
Financial_post_GetDetail
(
id
,
t
){
//获取单据详情
Financial_post_GetDetail
(
id
,
t
){
//获取单据详情
let
userInfo
=
this
.
getLocalStorage
();
this
.
apipost
(
'Financial_post_GetDetail'
,{
ID
:
id
,
Type
:
2
},
res
=>
{
this
.
apipost
(
'Financial_post_GetDetail'
,{
ID
:
id
,
Type
:
2
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
...
@@ -2276,6 +2278,7 @@ export default {
...
@@ -2276,6 +2278,7 @@ export default {
}
}
let
AuditSteps
=
this
.
GetDetail
.
AuditSteps
;
let
AuditSteps
=
this
.
GetDetail
.
AuditSteps
;
let
ChuNaShenHe
=
false
let
ChuNaShenHe
=
false
let
MsgUrl
=
false
;
for
(
let
i
=
0
;
i
<
AuditSteps
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
AuditSteps
.
length
;
i
++
)
{
if
(
AuditSteps
[
i
].
NextStep
==
1
&&
AuditSteps
[
i
].
SpecialNode
==
2
&&
AuditSteps
[
i
].
Status
==
1
){
if
(
AuditSteps
[
i
].
NextStep
==
1
&&
AuditSteps
[
i
].
SpecialNode
==
2
&&
AuditSteps
[
i
].
Status
==
1
){
ChuNaShenHe
=
true
ChuNaShenHe
=
true
...
@@ -2286,9 +2289,18 @@ export default {
...
@@ -2286,9 +2289,18 @@ export default {
return
return
}
}
})
})
}
if
(
AuditSteps
[
i
].
NextStep
==
1
){
AuditSteps
[
i
].
AuditRecordList
.
forEach
(
audit
=>
{
if
(
audit
.
AuditName
==
userInfo
.
emName
){
MsgUrl
=
true
return
}
})
}
}
}
}
this
.
MsgUrl
=
MsgUrl
// AuditSteps.forEach(item=>{
// AuditSteps.forEach(item=>{
// if(item.NextStep==1 && item.SpecialNode==2 && item.Status==1){
// if(item.NextStep==1 && item.SpecialNode==2 && item.Status==1){
// ChuNaShenHe = true
// ChuNaShenHe = true
...
...
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/Qzcommissions.vue
View file @
800392e6
...
@@ -18,6 +18,14 @@
...
@@ -18,6 +18,14 @@
<th>
占比
</th>
<th>
占比
</th>
<th>
设置
</th>
<th>
设置
</th>
</tr>
</tr>
<tr>
<td>
地接账户基金
</td>
<td>
{{
allzb
}}
%
</td>
<td>
<!--
<el-button
@
click=
"SetRules(item)"
style=
"padding:4px"
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
<el-button
@
click=
"Delete(item)"
style=
"padding:4px"
type=
"danger"
icon=
"el-icon-delete"
circle
></el-button>
-->
</td>
</tr>
<tbody
v-for=
"(item,i) in dataList"
:key=
"i"
>
<tbody
v-for=
"(item,i) in dataList"
:key=
"i"
>
<tr>
<tr>
<td>
{{
item
.
EmployeeName
}}
</td>
<td>
{{
item
.
EmployeeName
}}
</td>
...
...
This diff is collapsed.
Click to expand it.
src/components/Login2019.vue
View file @
800392e6
...
@@ -170,7 +170,7 @@ export default {
...
@@ -170,7 +170,7 @@ export default {
speed
:
3000
,
speed
:
3000
,
imgList
:
[
imgList
:
[
{
{
src
:
'http://imgfile.oytour.com/New/Upload/Cloud/2019-09/2019092
0032221373
.jpg'
,
src
:
'http://imgfile.oytour.com/New/Upload/Cloud/2019-09/2019092
3020945469
.jpg'
,
text
:
'京都独旅之秋'
,
text
:
'京都独旅之秋'
,
text1
:
'旅宿权威柏井寿的私房赏枫秘境'
,
text1
:
'旅宿权威柏井寿的私房赏枫秘境'
,
url
:
'http://www.oytour.com/#/JuanDetails?id=70'
url
:
'http://www.oytour.com/#/JuanDetails?id=70'
...
...
This diff is collapsed.
Click to expand it.
src/components/SalesModule/groupTourOrder.vue
View file @
800392e6
...
@@ -2926,7 +2926,7 @@
...
@@ -2926,7 +2926,7 @@
// 华国豪5-5新增
// 华国豪5-5新增
if
(
moment
().
format
(
"YYYY-MM-DD"
)
>=
obj
.
startDate
)
{
if
(
moment
().
format
(
"YYYY-MM-DD"
)
>=
obj
.
startDate
)
{
// 该团目前已是结团状态,不能随意修改备注信息,若强行修改备注,将会计入个人考核,是否确定修改备注信息?
// 该团目前已是结团状态,不能随意修改备注信息,若强行修改备注,将会计入个人考核,是否确定修改备注信息?
this
.
$confirm
(
"该团目前已是结团状态,无法修改备注
?
"
,
"提示"
,
{
this
.
$confirm
(
"该团目前已是结团状态,无法修改备注"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
showCancelButton
:
false
,
showCancelButton
:
false
,
type
:
"warning"
type
:
"warning"
...
...
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
800392e6
...
@@ -3430,8 +3430,8 @@
...
@@ -3430,8 +3430,8 @@
if
(
res
.
resultCode
==
1
)
{
if
(
res
.
resultCode
==
1
)
{
this
.
Success
(
res
.
message
);
this
.
Success
(
res
.
message
);
this
.
outerVisible
=
false
;
this
.
outerVisible
=
false
;
this
.
isShow
=
false
;
this
.
fillShow
=
true
;
this
.
fillShow
=
true
;
this
.
importNameFile
=
false
;
this
.
importData
=
res
.
data
;
this
.
importData
=
res
.
data
;
this
.
getList
()
this
.
getList
()
}
else
{
}
else
{
...
...
This diff is collapsed.
Click to expand it.
src/components/administrative/AttendanceRules.vue
View file @
800392e6
...
@@ -36,11 +36,15 @@
...
@@ -36,11 +36,15 @@
<table
v-if=
'this.signInDates.length>=1'
class=
"att_table"
cellspacing=
"0"
cellpadding=
"0"
>
<table
v-if=
'this.signInDates.length>=1'
class=
"att_table"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<tr>
<th>
日期
</th>
<th>
日期
</th>
<th>
部门
</th>
<th>
员工
</th>
<th>
考勤时间
</th>
<th>
考勤时间
</th>
<th
width=
"80"
>
操作
</th>
<th
width=
"80"
>
操作
</th>
</tr>
</tr>
<tr
v-for=
"(item,index) in signInDates"
>
<tr
v-for=
"(item,index) in signInDates"
>
<td>
{{
item
.
Date
}}
</td>
<td>
{{
item
.
Date
}}
</td>
<td>
{{
item
.
DepartmentName
}}
</td>
<td>
{{
item
.
EmployeeName
}}
</td>
<td>
{{
item
.
BeOnDutyTime
}}
~
{{
item
.
OffDutyTime
}}
</td>
<td>
{{
item
.
BeOnDutyTime
}}
~
{{
item
.
OffDutyTime
}}
</td>
<td>
<td>
<el-row>
<el-row>
...
@@ -180,8 +184,31 @@
...
@@ -180,8 +184,31 @@
</el-time-select>
</el-time-select>
</td>
</td>
</tr>
</tr>
<tr>
<td>
<span>
部门
</span>
<el-select
filterable
v-model=
'newSignIn.RB_Department_Id'
@
change=
'getEmployee(newSignIn.RB_Department_Id)'
>
<el-option
v-for=
'item in departmentList'
:label=
'item.DepartmentName'
:value=
'item.DepartmentID'
:key=
'item.DepartmentID'
>
</el-option>
</el-select>
</td>
</tr>
<tr>
<td>
<span>
员工
</span>
<el-select
filterable
v-model=
'newSignIn.EmployeeId'
@
change=
"getEmployeeName(newSignIn.EmployeeId)"
>
<el-option
v-for=
'item in employeeList'
:label=
'item.name'
:value=
'item.empId'
:key=
'item.empId'
>
</el-option>
</el-select>
</td>
</tr>
</table>
</table>
<table
class=
"layerTable"
v-if=
'this.signDateType==2'
>
<table
class=
"layerTable"
v-if=
'this.signDateType==2'
>
<tr>
<tr>
<td>
<td>
...
@@ -384,9 +411,51 @@
...
@@ -384,9 +411,51 @@
awList
:
[],
//Name,Address,TargetAddress,Scope awList:[{'Name':'xxx',Address:'xxx',TargetAddress:'xxx',Scope:'xxx'},{}]
awList
:
[],
//Name,Address,TargetAddress,Scope awList:[{'Name':'xxx',Address:'xxx',TargetAddress:'xxx',Scope:'xxx'},{}]
awWifiList
:
[]
//awWifiList:[{'Name':'xxxx',TargetAddress:'12.51.42.32'}]
awWifiList
:
[]
//awWifiList:[{'Name':'xxxx',TargetAddress:'12.51.42.32'}]
},
},
departmentMsg
:
{
RB_Group_Id
:
'0'
,
RB_Branch_Id
:
'0'
,
Status
:
'0'
,
ParentId
:
'-1'
,
Tier
:
'0'
,
},
employeeMsg
:
{
RB_Group_id
:
'0'
,
RB_Branch_id
:
'-1'
,
departmentId
:
'0'
,
IsLeave
:
'-1'
,
},
departmentList
:
[],
employeeList
:
[],
}
}
},
},
methods
:
{
methods
:
{
getEmployeeName
(
id
){
this
.
employeeList
.
map
(
x
=>
{
if
(
id
==
x
.
empId
)
{
this
.
newSignIn
.
EmployeeName
=
x
.
name
}
})
},
getEmployee
(
id
)
{
this
.
employeeMsg
.
departmentId
=
id
this
.
apipost
(
'app_get_company_employee'
,
this
.
employeeMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
employeeList
=
res
.
data
.
data
;
}
},
err
=>
{})
this
.
departmentList
.
map
(
x
=>
{
if
(
id
==
x
.
DepartmentID
)
{
this
.
newSignIn
.
DepartmentName
=
x
.
DepartmentName
}
})
},
getDepartment
()
{
this
.
apipost
(
'admin_get_DepartmentGetList'
,
this
.
departmentMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
departmentList
=
res
.
data
.
data
;
}
},
err
=>
{})
},
getDateArr
()
{
getDateArr
()
{
if
(
this
.
fwStartTime
!=
''
&&
this
.
fwEndTime
!=
''
)
{
if
(
this
.
fwStartTime
!=
''
&&
this
.
fwEndTime
!=
''
)
{
this
.
apipost
(
'User_get_AttendanceGetTimeSpanValue'
,
{
this
.
apipost
(
'User_get_AttendanceGetTimeSpanValue'
,
{
...
@@ -462,7 +531,9 @@
...
@@ -462,7 +531,9 @@
this
.
newSignIn
=
{
this
.
newSignIn
=
{
'Date'
:
''
,
'Date'
:
''
,
'BeOnDutyTime'
:
''
,
'BeOnDutyTime'
:
''
,
'OffDutyTime'
:
''
'OffDutyTime'
:
''
,
RB_Department_Id
:
''
,
EmployeeId
:
''
,
};
};
this
.
outerVisible
=
true
;
this
.
outerVisible
=
true
;
this
.
signDateType
=
1
;
this
.
signDateType
=
1
;
...
@@ -499,10 +570,20 @@
...
@@ -499,10 +570,20 @@
},
},
saveSignIn
()
{
saveSignIn
()
{
let
list
=
[...
this
.
signInDates
,
...
this
.
signOutDates
]
if
(
this
.
newSignIn
.
RB_Department_Id
==
''
)
{
this
.
newSignIn
.
RB_Department_Id
=
0
}
if
(
this
.
newSignIn
.
EmployeeId
==
''
)
{
this
.
newSignIn
.
EmployeeId
=
0
}
if
(
this
.
picked
==
'one'
)
{
// 单天设置
if
(
this
.
picked
==
'one'
)
{
// 单天设置
this
.
isRepetition
=
false
;
this
.
isRepetition
=
false
;
this
.
SpecialDates
.
forEach
(
item
=>
{
list
.
forEach
(
item
=>
{
if
(
this
.
newSignIn
.
Date
==
item
)
{
if
(
this
.
newSignIn
.
Date
==
item
.
Date
&&
(
this
.
newSignIn
.
RB_Department_Id
==
item
.
RB_Department_Id
||
this
.
newSignIn
.
RB_Department_Id
==
0
)
&&
(
this
.
newSignIn
.
EmployeeId
==
item
.
EmployeeId
||
this
.
newSignIn
.
EmployeeId
==
0
))
{
this
.
isRepetition
=
true
;
}
else
if
(
this
.
newSignIn
.
Date
==
item
.
Date
)
{
this
.
isRepetition
=
true
;
this
.
isRepetition
=
true
;
}
}
})
})
...
@@ -561,10 +642,14 @@
...
@@ -561,10 +642,14 @@
this
.
outerVisible
=
true
;
this
.
outerVisible
=
true
;
},
},
saveSignOut
()
{
saveSignOut
()
{
let
list
=
[...
this
.
signInDates
,
...
this
.
signOutDates
]
if
(
this
.
picked1
==
'one'
)
{
// 单天设置
if
(
this
.
picked1
==
'one'
)
{
// 单天设置
this
.
isRepetition
=
false
;
this
.
isRepetition
=
false
;
this
.
SpecialDates
.
forEach
(
item
=>
{
list
.
forEach
(
item
=>
{
if
(
this
.
newSignOut
.
Date
==
item
)
{
if
(
this
.
newSignIn
.
Date
==
item
.
Date
&&
(
this
.
newSignIn
.
RB_Department_Id
==
item
.
RB_Department_Id
||
this
.
newSignIn
.
RB_Department_Id
==
0
)
&&
(
this
.
newSignIn
.
EmployeeId
==
item
.
EmployeeId
||
this
.
newSignIn
.
EmployeeId
==
0
))
{
this
.
isRepetition
=
true
;
}
else
if
(
this
.
newSignIn
.
Date
==
item
.
Date
)
{
this
.
isRepetition
=
true
;
this
.
isRepetition
=
true
;
}
}
})
})
...
@@ -784,7 +869,10 @@
...
@@ -784,7 +869,10 @@
},
},
},
},
mounted
()
{
mounted
()
{
this
.
addMsg
.
RB_BranchId
=
this
.
$route
.
query
.
bId
;
let
userInfo
=
this
.
getLocalStorage
();
this
.
departmentMsg
.
RB_Group_Id
=
this
.
employeeMsg
.
RB_Group_id
=
userInfo
.
RB_Group_id
;
//集团
this
.
addMsg
.
RB_BranchId
=
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
$route
.
query
.
bId
;
this
.
getDepartment
()
if
(
this
.
$route
.
query
.
id
!=
undefined
)
{
if
(
this
.
$route
.
query
.
id
!=
undefined
)
{
this
.
addMsg
.
attendanceId
=
this
.
$route
.
query
.
id
;
this
.
addMsg
.
attendanceId
=
this
.
$route
.
query
.
id
;
this
.
getUpdateList
();
this
.
getUpdateList
();
...
...
This diff is collapsed.
Click to expand it.
src/components/administrative/Survey.vue
View file @
800392e6
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
center
center
:before-close=
"closeDialog"
>
:before-close=
"closeDialog"
>
<div
class=
"main NewSurveyList"
>
<div
class=
"main NewSurveyList"
>
<el-select
filterable
v-model=
"GuestId"
value-key=
"LineID"
>
<el-select
filterable
v-model=
"GuestId"
value-key=
"LineID"
@
change=
"getOrderID(GuestId)"
>
<el-option
v-for=
"item in ppList"
:label=
'item.GuestName'
:value=
'item.GuestId'
:key=
'item.GuestId'
></el-option>
<el-option
v-for=
"item in ppList"
:label=
'item.GuestName'
:value=
'item.GuestId'
:key=
'item.GuestId'
></el-option>
</el-select>
</el-select>
<div
class=
""
>
<div
class=
""
>
...
@@ -235,10 +235,16 @@ export default {
...
@@ -235,10 +235,16 @@ export default {
this
.
GetSurveyShowList
();
this
.
GetSurveyShowList
();
},
},
methods
:{
methods
:{
getOrderID
(
id
){
this
.
ppList
.
map
(
x
=>
{
if
(
id
===
x
.
GuestId
){
this
.
OrderID
=
x
.
OrderID
;
}
})
},
setInfo
(
obj
){
setInfo
(
obj
){
console
.
log
(
obj
)
console
.
log
(
obj
)
this
.
TCID
=
obj
.
tcid
;
this
.
TCID
=
obj
.
tcid
;
this
.
OrderID
=
obj
.
orderId
;
this
.
DiaoChaShow
=
true
;
this
.
DiaoChaShow
=
true
;
this
.
getppList
();
this
.
getppList
();
},
},
...
@@ -397,7 +403,7 @@ export default {
...
@@ -397,7 +403,7 @@ export default {
return
false
return
false
}
}
})
})
}
}
if
(
!
isHave
){
if
(
!
isHave
){
let
obj
=
{
let
obj
=
{
tcid
:
x
.
tCID
,
tcid
:
x
.
tCID
,
...
...
This diff is collapsed.
Click to expand it.
src/components/index.vue
View file @
800392e6
...
@@ -1698,12 +1698,13 @@ export default {
...
@@ -1698,12 +1698,13 @@ export default {
}
}
},
},
LogSetReadStatus
(
s
)
{
LogSetReadStatus
(
s
)
{
console
.
log
(
s
)
this
.
apipost
(
this
.
apipost
(
"SystemLog_post_LogSetReadStatus"
,
"SystemLog_post_LogSetReadStatus"
,
{
LogId
:
s
.
ID
},
{
LogId
:
s
.
ID
},
r
=>
{
r
=>
{
if
(
s
.
Link
)
{
if
(
s
.
Link
)
{
this
.
goUrl
(
s
.
Link
);
this
.
goUrl
(
s
.
Link
+
'&MsgUrl=1'
);
}
}
this
.
IM_bodyIsShow
=
false
;
this
.
IM_bodyIsShow
=
false
;
this
.
refreshSysNoteDate
();
this
.
refreshSysNoteDate
();
...
...
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