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
ddfc1c3c
Commit
ddfc1c3c
authored
Oct 11, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
1b38111c
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
966 additions
and
715 deletions
+966
-715
investigationDetail.vue
src/components/SalesModule/investigationDetail.vue
+61
-59
investigationList.vue
src/components/SalesModule/investigationList.vue
+83
-91
LianMengManagement.vue
src/components/administrative/LianMengManagement.vue
+276
-257
Survey.vue
src/components/administrative/Survey.vue
+2
-1
VoucherInquiry.vue
src/components/administrative/VoucherInquiry.vue
+296
-299
guestSign.vue
src/components/guestSign.vue
+123
-0
guestlogin.vue
src/components/guestlogin.vue
+75
-0
YearLimit.vue
src/components/public/YearLimit.vue
+0
-1
index.js
src/plug/index.js
+26
-7
config.js
src/router/config.js
+24
-0
No files found.
src/components/SalesModule/investigationDetail.vue
View file @
ddfc1c3c
<
style
>
.investigationDetail
.item
{
.investigationDetail
.item
{
padding
:
20px
0
10px
20px
;
}
}
</
style
>
<
template
>
<el-form
class=
"investigationDetail"
>
<div
v-for=
"(item, index) in details"
:key=
"index"
>
<div
v-for=
"(item, index) in details"
:key=
"index"
>
<p>
{{
index
+
1
}}
、
{{
item
.
Title
}}
</p>
<div
class=
"item"
>
<el-rate
disabled=
"disabled"
v-if=
"item.SurveyType === 1"
v-model=
"item.ScoreNum"
:texts=
"texts"
show-text
>
<el-rate
disabled=
"disabled"
v-if=
"item.SurveyType === 1"
v-model=
"item.ScoreNum"
:texts=
"texts"
show-text
>
</el-rate>
<template
v-else-if=
"item.SurveyType === 2"
>
<template
v-for=
"(r, i) in item.SurveyOptionsList"
v-if=
"r.IsCheck!=='0'"
>
...
...
@@ -33,32 +29,37 @@
</el-form>
</template>
<
script
>
export
default
{
props
:
[
'ID'
],
data
()
{
return
{
export
default
{
props
:
[
'ID'
],
data
()
{
return
{
details
:
[],
texts
:
[
'非常不满意'
,
'不满意'
,
'感觉一般'
,
'满意'
,
'非常满意'
]
}
},
watch
:
{
},
watch
:
{
ID
:
{
handler
:
function
(
val
,
oldVal
)
{
if
(
val
!==
oldVal
)
{
handler
:
function
(
val
,
oldVal
)
{
if
(
val
!==
oldVal
)
{
this
.
getDetails
()
}
},
deep
:
true
}
},
mounted
()
{
},
mounted
()
{
this
.
getDetails
()
},
methods
:
{
},
methods
:
{
getDetails
:
function
()
{
this
.
apipost
(
'survey_post_GetGuestSurvey'
,
{
SurveyID
:
this
.
ID
},
res
=>
{
this
.
apipost
(
'survey_post_GetGuestSurvey'
,
{
SurveyID
:
this
.
ID
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
let
data
=
res
.
data
.
data
data
.
map
(
x
=>
{
data
.
map
(
x
=>
{
if
(
x
.
SurveyType
===
2
)
{
x
.
SurveyOptionsList
.
map
(
y
=>
{
x
.
SurveyOptionsList
.
map
(
y
=>
{
if
(
y
.
IsCheck
===
'1'
)
{
x
.
lable
=
y
.
ID
}
...
...
@@ -66,7 +67,7 @@ export default {
}
if
(
x
.
SurveyType
===
3
)
{
let
ckeckList
=
[]
x
.
SurveyOptionsList
.
map
(
y
=>
{
x
.
SurveyOptionsList
.
map
(
y
=>
{
if
(
y
.
IsCheck
===
'1'
)
{
ckeckList
.
push
(
y
.
ID
)
}
...
...
@@ -79,5 +80,6 @@ export default {
},
null
)
}
}
}
}
</
script
>
src/components/SalesModule/investigationList.vue
View file @
ddfc1c3c
<
style
>
.investigationList
td
button
{
.investigationList
td
button
{
width
:
30px
;
height
:
30px
;
display
:
inline-block
;
...
...
@@ -11,10 +11,12 @@
cursor
:
pointer
;
outline
:
none
;
padding
:
0
;
}
.investigationList
.el-button.is-circle
{
}
.investigationList
.el-button.is-circle
{
padding
:
0
;
}
}
</
style
>
<
template
>
<div
class=
"investigationList"
>
...
...
@@ -27,7 +29,7 @@
<th>
分数
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
<tr
v-for=
"
item in dataList
"
>
<tr
v-for=
"
(item,index) in dataList"
:key=
"index
"
>
<td>
{{
item
.
OrderID
}}
</td>
<td>
{{
item
.
GuestName
}}
</td>
<td>
{{
item
.
EnterName
}}
</td>
...
...
@@ -35,22 +37,13 @@
<td>
{{
item
.
ScoreNum
}}
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看问券"
placement=
"top"
>
<el-button
type=
"primary"
icon=
"iconfont icon-sousuo"
circle
@
click=
"dialogTitle = '游客问券', openPage(item)"
></el-button>
<!-- showID = item.ID, DiaoChaShow = true -->
<el-button
type=
"primary"
icon=
"iconfont icon-sousuo"
circle
@
click=
"dialogTitle = '游客问券',DiaoChaShow=true, openPage(item)"
>
</el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看游记"
placement=
"top"
>
<el-button
v-if=
"item.NotesId > 0"
type=
"primary"
icon=
"iconfont icon-youji"
circle
@
click=
"dialogTitle = '游记', showID = item.NotesId, YouJiShow = true"
></el-button>
<el-button
v-if=
"item.NotesId > 0"
type=
"primary"
icon=
"iconfont icon-youji"
circle
@
click=
"dialogTitle = '游记', showID = item.NotesId, YouJiShow = true"
></el-button>
</el-tooltip>
</td>
</tr>
...
...
@@ -59,35 +52,25 @@
<i
class=
"iconfont icon-kong"
></i>
<p>
{{
$t
(
"active.ld_noData"
)
}}
</p>
</div>
<el-dialog
custom-class=
"w400"
:title=
"dialogTitle"
:visible
.
sync=
"DiaoChaShow"
center
:before-close=
"closeDialog"
>
<DiaoCha
:ID=
"showID"
/>
<el-dialog
custom-class=
"w400"
:title=
"dialogTitle"
:visible
.
sync=
"DiaoChaShow"
center
:before-close=
"closeDialog"
>
<DiaoCha
:ID=
"showID"
/>
</el-dialog>
<el-dialog
custom-class=
"w500"
:title=
"dialogTitle"
:visible
.
sync=
"YouJiShow"
center
:before-close=
"closeDialog"
>
<YouJi
:ID=
"showID"
/>
<el-dialog
custom-class=
"w500"
:title=
"dialogTitle"
:visible
.
sync=
"YouJiShow"
center
:before-close=
"closeDialog"
>
<YouJi
:ID=
"showID"
/>
</el-dialog>
<a
href=
""
id=
"blankLink"
target=
"_blank"
style=
"display:none"
>
1
</a>
</div>
</
template
>
<
script
>
import
DiaoCha
from
'./investigationDetail'
;
import
YouJi
from
'./investigationYouDetail'
;
export
default
{
components
:
{
import
DiaoCha
from
'./investigationDetail'
;
import
YouJi
from
'./investigationYouDetail'
;
export
default
{
components
:
{
DiaoCha
:
DiaoCha
,
YouJi
:
YouJi
,
},
data
()
{
return
{
data
()
{
return
{
loading
:
false
,
dataList
:
[],
DiaoChaShow
:
false
,
...
...
@@ -95,27 +78,36 @@ export default {
showID
:
0
,
dialogTitle
:
''
,
}
},
mounted
()
{
let
TCID
=
this
.
$route
.
query
.
TCID
,
OrderID
=
this
.
$route
.
query
.
OrderId
;
},
mounted
()
{
let
TCID
=
this
.
$route
.
query
.
TCID
;
let
OrderID
=
this
.
$route
.
query
.
OrderId
;
this
.
getList
(
TCID
,
OrderID
);
},
methods
:
{
openPage
:
function
(
obj
){
let
dom
=
document
.
querySelector
(
"#blankLink"
);
dom
.
href
=
"http://activity.oytour.com/html/invesDetails2.html"
+
'?ID='
+
obj
.
ID
+
'&name='
+
encodeURI
(
obj
.
GuestName
)
+
'&MobilePhone='
+
obj
.
CustomerPhone
dom
.
click
();
},
methods
:
{
openPage
:
function
(
obj
)
{
this
.
showID
=
obj
.
ID
;
// let dom = document.querySelector("#blankLink");
// dom.href = "http://activity.oytour.com/html/invesDetails2.html" + '?ID=' + obj.ID + '&name=' + encodeURI(obj
// .GuestName) + '&MobilePhone=' + obj.CustomerPhone
// dom.click();
},
closeDialog
:
function
()
{
this
.
DiaoChaShow
=
false
;
this
.
YouJiShow
=
false
;
},
getList
:
function
(
TCID
,
OrderID
)
{
this
.
apipost
(
'survey_post_GetTotalList'
,
{
TCID
:
TCID
,
OrderID
:
OrderID
},
res
=>
{
this
.
apipost
(
'survey_post_GetTotalList'
,
{
TCID
:
TCID
,
OrderID
:
OrderID
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
dataList
=
res
.
data
.
data
;
console
.
log
(
"this.dataList"
,
this
.
dataList
);
}
},
null
)
}
}
}
}
</
script
>
src/components/administrative/LianMengManagement.vue
View file @
ddfc1c3c
<
style
>
.heightauto
.el-input
{
.heightauto
.el-input
{
height
:
auto
!important
;
}
.LianMengManagement
._icon_btn
i
{
width
:
30px
;
height
:
30px
;
display
:
inline-block
;
color
:
white
!important
;
border-radius
:
50%
;
text-align
:
center
;
line-height
:
30px
;
margin-right
:
10px
;
cursor
:
pointer
;
outline
:
none
;}
.LianMengManagement
._icon_btn
i
.el-icon-edit
{
background-color
:
#47BF8C
;}
.LianMengManagement
._icon_btn
i
.el-icon-check
{
background-color
:
#E95252
;}
.LianMengManagement
._icon_btn
i
.el-icon-search
{
background-color
:
#E6A23C
;}
}
.LianMengManagement
._icon_btn
i
{
width
:
30px
;
height
:
30px
;
display
:
inline-block
;
color
:
white
!important
;
border-radius
:
50%
;
text-align
:
center
;
line-height
:
30px
;
margin-right
:
10px
;
cursor
:
pointer
;
outline
:
none
;
}
.LianMengManagement
._icon_btn
i
.el-icon-edit
{
background-color
:
#47BF8C
;
}
.LianMengManagement
._icon_btn
i
.el-icon-check
{
background-color
:
#E95252
;
}
.LianMengManagement
._icon_btn
i
.el-icon-search
{
background-color
:
#E6A23C
;
}
</
style
>
<
template
>
<div
class=
"LianMengManagement"
>
...
...
@@ -18,8 +40,9 @@
</span>
</li>
<li>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
@
click=
"dialogFormVisible = true,addType = 1, iniTAddMsg"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
@
click=
"dialogFormVisible = true,addType = 1, iniTAddMsg"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
</li>
</ul>
</div>
...
...
@@ -34,70 +57,55 @@
</tr>
<tr
v-for=
"item in dataList"
>
<td>
{{
item
.
AllianceName
}}
</td>
<td><span
class=
"cursorpointer text-decoration"
@
click=
"goCustomerList(item.ID)"
>
{{
item
.
CustomerCount
}}
</span></td>
<td><span
class=
"cursorpointer text-decoration"
@
click=
"goCustomerList(item.ID)"
>
{{
item
.
CustomerCount
}}
</span>
</td>
<td>
{{
item
.
StartYear
}}
-
{{
item
.
EndYear
}}
</td>
<td>
{{
moneyFormat
(
item
.
TradeMoney
)
}}
</td>
<td><span
class=
"cursorpointer text-decoration"
@
click=
"jiesuan(item.ID, 'happyMoneyDetails')"
>
{{
item
.
TotalGuestNum
}}
</span></td>
<td><span
class=
"cursorpointer text-decoration"
@
click=
"jiesuan(item.ID, 'happyMoneyDetails')"
>
{{
item
.
TotalGuestNum
}}
</span></td>
<td
class=
"_icon_btn"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"新增客户"
placement=
"top"
>
<i
class=
"edit el-icon-edit"
@
click=
"addCustorm(item)"
></i>
<i
class=
"edit el-icon-edit"
@
click=
"addCustorm(item)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"结算"
placement=
"top"
>
<i
class=
"edit el-icon-check"
v-if=
"item.IsClearing == 1"
@
click=
"jiesuan(item.ID, 'happyMoney')"
></i>
<i
class=
"edit el-icon-check"
v-if=
"item.IsClearing == 1"
@
click=
"jiesuan(item.ID, 'happyMoney')"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top"
>
<i
class=
"edit el-icon-search"
v-if=
"item.IsClearing == 2"
@
click=
"jiesuan(item.ID, 'happyMoneyDetails')"
></i>
<i
class=
"edit el-icon-search"
v-if=
"item.IsClearing == 2"
@
click=
"jiesuan(item.ID, 'happyMoneyDetails')"
></i>
</el-tooltip>
</td>
</tr>
</table>
<el-dialog
:title=
"addType == 1 ? '新增联盟' : '新增客户'"
width=
"600px"
:visible
.
sync=
"dialogFormVisible"
center
:before-close=
"closeChangeMachie"
>
<el-dialog
:title=
"addType == 1 ? '新增联盟' : '新增客户'"
width=
"600px"
:visible
.
sync=
"dialogFormVisible"
center
:before-close=
"closeChangeMachie"
>
<el-form
label-width=
"110px"
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
class=
"demo-ruleForm"
>
<div
v-if=
"addType == 1"
>
<el-form-item
label=
"联盟名称"
prop=
"AllianceName"
>
<el-form-item
label=
"联盟名称"
prop=
"AllianceName"
>
<el-input
type=
"text"
v-model=
"addMsg.AllianceName"
class=
""
></el-input>
</el-form-item>
<el-form-item
label=
"开始时间"
prop=
"StartYear"
>
<el-date-picker
class=
"h34 "
v-model=
"addMsg.StartYear"
@
change=
"EndYearChange"
type=
"year"
value-format=
"yyyy"
:range-separator=
"$t('restaurant.res_To')"
>
<el-date-picker
class=
"h34 "
v-model=
"addMsg.StartYear"
@
change=
"EndYearChange"
type=
"year"
value-format=
"yyyy"
:range-separator=
"$t('restaurant.res_To')"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"结束时间"
prop=
"EndYear"
>
<el-date-picker
class=
"h34"
@
change=
"EndYearChange"
v-model=
"addMsg.EndYear"
type=
"year"
value-format=
"yyyy"
<el-date-picker
class=
"h34"
@
change=
"EndYearChange"
v-model=
"addMsg.EndYear"
type=
"year"
value-format=
"yyyy"
:range-separator=
"$t('restaurant.res_To')"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"销售"
prop=
"Contact"
>
<el-select
filterable
v-model=
'addMsg.Contact'
class=
""
>
<el-option
v-for=
'item in EmployeeList'
:label=
'item.EmName'
:value=
'item.EmployeeId'
<el-option
v-for=
'item in EmployeeList'
:label=
'item.EmName'
:value=
'item.EmployeeId'
:key=
'item.EmployeeId'
>
</el-option>
</el-select>
</el-form-item>
</div>
<el-form-item
label=
"客户"
prop=
"CustomerIDs"
>
<el-select
v-model=
"addMsg.CustomerIDs"
multiple
filterable
remote
reserve-keyword
:placeholder=
"$t('pub.PleaseKeyWords')"
:remote-method=
"getAllListBy"
class=
"heightauto "
>
<el-option
v-for=
"item in AllListBy"
:key=
"item.CustomerId"
:label=
"item.CustomerName"
<el-select
v-model=
"addMsg.CustomerIDs"
multiple
filterable
remote
reserve-keyword
:placeholder=
"$t('pub.PleaseKeyWords')"
:remote-method=
"getAllListBy"
class=
"heightauto "
>
<el-option
v-for=
"item in AllListBy"
:key=
"item.CustomerId"
:label=
"item.CustomerName"
:value=
"item.CustomerId"
>
<span
style=
"float: left"
>
{{
item
.
CustomerName
}}
</span>
<span
style=
"float: right; color: #8492a6; font-size: 13px"
>
{{
item
.
Contact
+
item
.
ContactNumber
}}
</span>
...
...
@@ -110,13 +118,8 @@
<button
class=
"normalBtn"
type=
"primary"
@
click=
"UpdateDate('addMsg')"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</el-dialog>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
'msg.pageSize'
:total=
'total'
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
'msg.pageSize'
:total=
'total'
>
</el-pagination>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
>
<i
class=
"iconfont icon-kong"
></i>
...
...
@@ -125,9 +128,9 @@
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
export
default
{
data
()
{
return
{
loading
:
false
,
dataList
:
[],
DiaoChaShow
:
false
,
...
...
@@ -151,42 +154,55 @@ export default {
CustomerIDs
:
[],
ID
:
0
,
},
currentPage
:
1
,
total
:
0
,
currentPage
:
1
,
total
:
0
,
AllListBy
:
[],
employeeMsg
:
{
GroupId
:
''
,
BranchId
:
-
1
,
DepartmentId
:
0
,
PostId
:
0
,
IsLeave
:
0
,
GroupId
:
''
,
BranchId
:
-
1
,
DepartmentId
:
0
,
PostId
:
0
,
IsLeave
:
0
,
},
EmployeeList
:
[],
rules
:
{
AllianceName
:
[
{
required
:
true
,
message
:
'请输入联盟名称'
,
trigger
:
'blur'
},
],
StartYear
:
[
{
required
:
true
,
message
:
'请选择开始年份'
,
trigger
:
'change'
},
],
EndYear
:
[
{
required
:
true
,
message
:
'请选择结束年份'
,
trigger
:
'change'
},
],
Contact
:
[
{
required
:
true
,
message
:
'请选择销售'
,
trigger
:
'change'
},
],
CustomerIDs
:
[
{
type
:
'array'
,
required
:
true
,
message
:
'请至少选择一个客户'
,
trigger
:
'change'
},
],
AllianceName
:
[{
required
:
true
,
message
:
'请输入联盟名称'
,
trigger
:
'blur'
},
],
StartYear
:
[{
required
:
true
,
message
:
'请选择开始年份'
,
trigger
:
'change'
},
],
EndYear
:
[{
required
:
true
,
message
:
'请选择结束年份'
,
trigger
:
'change'
},
],
Contact
:
[{
required
:
true
,
message
:
'请选择销售'
,
trigger
:
'change'
},
],
CustomerIDs
:
[{
type
:
'array'
,
required
:
true
,
message
:
'请至少选择一个客户'
,
trigger
:
'change'
},
],
}
}
},
mounted
()
{
},
mounted
()
{
this
.
getList
();
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
employeeMsg
.
GroupId
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
getEmployee
()
},
methods
:
{
jiesuan
:
function
(
ID
,
path
,
t
){
},
methods
:
{
jiesuan
:
function
(
ID
,
path
,
t
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
...
...
@@ -217,7 +233,7 @@ export default {
},
getList
:
function
()
{
this
.
loading
=
true
this
.
apipost
(
'app_customer_GetAlliancePageList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'app_customer_GetAlliancePageList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
loading
=
false
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
...
...
@@ -235,16 +251,16 @@ export default {
this
.
dialogFormVisible
=
true
;
},
// 保存
UpdateDate
:
function
(
formName
)
{
UpdateDate
:
function
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
apipost
(
'app_customer_SetAlliance'
,
this
.
addMsg
,
res
=>
{
this
.
apipost
(
'app_customer_SetAlliance'
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
dialogFormVisible
=
false
;
this
.
iniTAddMsg
();
this
.
getList
();
this
.
$message
.
success
(
res
.
data
.
message
);
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
null
)
...
...
@@ -254,12 +270,14 @@ export default {
});
},
getAllListBy
:
function
(
query
)
{
if
(
query
==
''
)
{
if
(
query
==
''
)
{
this
.
AllListBy
=
[];
return
}
this
.
optionloading
=
true
this
.
apipost
(
'app_customer_GetAllListByGroupId'
,
{
CustomerName
:
query
},
res
=>
{
this
.
apipost
(
'app_customer_GetAllListByGroupId'
,
{
CustomerName
:
query
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
optionloading
=
false
this
.
AllListBy
=
res
.
data
.
data
...
...
@@ -282,8 +300,8 @@ export default {
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
(){
// 重置页码
this
.
msg
.
pageIndex
=
1
;
resetPageIndex
()
{
// 重置页码
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
closeChangeMachie
(
done
)
{
// 转交窗口关闭
...
...
@@ -295,11 +313,12 @@ export default {
},
getEmployee
()
{
//员工
this
.
apipost
(
'admin_get_EmployeeGetList'
,
this
.
employeeMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
;
}
},
err
=>
{})
},
}
}
}
</
script
>
src/components/administrative/Survey.vue
View file @
ddfc1c3c
...
...
@@ -32,7 +32,8 @@
<em>
发团时间
</em>
</span>
<el-date-picker
value-format=
"yyyy-MM-dd"
:picker-options=
"pickerDisabled"
size=
"small"
v-model=
"dateList"
type=
"daterange"
:range-separator=
"$t('OrderList.zhi')"
:start-placeholder=
"$t('OrderList.star')"
:end-placeholder=
"$t('OrderList.end')"
>
type=
"daterange"
:range-separator=
"$t('OrderList.zhi')"
:start-placeholder=
"$t('OrderList.star')"
:end-placeholder=
"$t('OrderList.end')"
>
</el-date-picker>
</li>
<li>
...
...
src/components/administrative/VoucherInquiry.vue
View file @
ddfc1c3c
<
style
>
.height_auto.el-select
.el-input
{
.height_auto.el-select
.el-input
{
height
:
auto
;
}
.CommodityType
._addUpload_box
{
}
.CommodityType
._addUpload_box
{
display
:
block
;
margin
:
10px
0
0
;
}
.CommodityType
._addUpload_box
img
{
}
.CommodityType
._addUpload_box
img
{
height
:
15px
;
display
:
block
;
margin-right
:
25px
;
}
.CommodityType
._addUpload_box
>
div
.el-upload
{
}
.CommodityType
._addUpload_box
>
div
.el-upload
{
float
:
left
;
width
:
138px
;
height
:
92px
;
...
...
@@ -22,8 +25,9 @@
padding
:
5px
;
margin-right
:
10px
;
position
:
relative
;
}
.CommodityType
._addUpload_box
.icon-guanbi1
{
}
.CommodityType
._addUpload_box
.icon-guanbi1
{
font-size
:
12px
;
color
:
white
;
display
:
inline-block
;
...
...
@@ -37,25 +41,30 @@
width
:
15px
;
text-align
:
center
;
line-height
:
15px
;
}
.CommodityType
._addUpload_box
>
div
:hover
{
}
.CommodityType
._addUpload_box
>
div
:hover
{
background-color
:
#f5f5f5
;
}
.CommodityType
.el-upload-dragger
{
}
.CommodityType
.el-upload-dragger
{
font-size
:
28px
;
color
:
#8c939d
;
width
:
126px
;
height
:
80px
;
line-height
:
41px
;
text-align
:
center
;
}
.CommodityType
.bg_color_delete
{
}
.CommodityType
.bg_color_delete
{
background-color
:
#ee4454
;
border-color
:
#ee4454
;
}
.comType_Img
{
}
.comType_Img
{
max-height
:
50px
;
}
}
</
style
>
<
template
>
...
...
@@ -89,12 +98,8 @@
</li>
<li>
<input
type=
"button"
@
click=
"getList"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
>
<input
type=
"button"
@
click=
"outerVisible = true,dialogTitle='新增', addMsg.reqType = 'add',resetInfo()"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
>
<input
type=
"button"
@
click=
"outerVisible = true,dialogTitle='新增', addMsg.reqType = 'add',resetInfo()"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
>
</li>
</ul>
</div>
...
...
@@ -103,13 +108,15 @@
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th
width=
"600px"
>
问题名称
</th>
<th
width=
"600px"
>
所属问卷
</th>
<th>
类型
</th>
<th>
排序
</th>
<th>
是否显示
</th>
<th
width=
"120px"
>
{{
$t
(
'hotel.table_operat'
)
}}
</th>
</tr>
<tr
v-for=
"
item in dataList
"
>
<tr
v-for=
"
(item,index) in dataList"
:key=
"index
"
>
<td>
{{
item
.
Title
}}
</td>
<td>
{{
item
.
MainTitle
}}
</td>
<td>
{{
getTypeName
(
item
.
SurveyType
)
}}
</td>
<td>
{{
item
.
Sort
}}
...
...
@@ -118,21 +125,13 @@
{{
item
.
IsShow
===
1
?
'显示'
:
'不显示'
}}
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('active.ld_editInfo')"
placement=
"top"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"outerVisible=true,dialogTitle='修改',updateData(item)"
></el-button>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('active.ld_editInfo')"
placement=
"top"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"outerVisible=true,dialogTitle='修改',updateData(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top"
>
<el-button
type=
"primary"
class=
"bg_color_delete"
icon=
"el-icon-delete"
circle
@
click=
"Delete(item)"
></el-button>
<el-button
type=
"primary"
class=
"bg_color_delete"
icon=
"el-icon-delete"
circle
@
click=
"Delete(item)"
>
</el-button>
</el-tooltip>
</td>
</tr>
...
...
@@ -141,18 +140,14 @@
<i
class=
"iconfont icon-kong"
></i>
<p>
{{
$t
(
"active.ld_noData"
)
}}
</p>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
</el-pagination>
<el-dialog
custom-class=
"w400"
:title=
"dialogTitle"
:visible
.
sync=
"outerVisible"
center
:before-close=
"closeChangeMachie"
>
<el-dialog
custom-class=
"w400"
:title=
"dialogTitle"
:visible
.
sync=
"outerVisible"
center
:before-close=
"closeChangeMachie"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"130px"
>
<el-form-item
label=
"问题名称"
prop=
"Title"
>
<el-input
v-model=
"addMsg.Title"
class=
"w217"
/>
<el-input
v-model=
"addMsg.Title"
class=
"w217"
/>
</el-form-item>
<el-form-item
label=
"问题类型"
prop=
"SurveyType"
>
<el-select
filterable
v-model=
"addMsg.SurveyType"
@
change=
"changeType(addMsg.SurveyType)"
>
...
...
@@ -163,39 +158,37 @@
<el-radio
v-model=
"addMsg.IsShow"
:label=
"1"
>
显示
</el-radio>
<el-radio
v-model=
"addMsg.IsShow"
:label=
"0"
>
不显示
</el-radio>
</el-form-item>
<el-form-item
label=
"排序"
prop=
"Sort"
>
<el-input
v-model=
"addMsg.Sort"
class=
"w217"
/>
<el-form-item
label=
"
题目
排序"
prop=
"Sort"
>
<el-input
v-model=
"addMsg.Sort"
class=
"w217"
/>
</el-form-item>
<template>
<div
v-if=
"addMsg.SurveyType === '2' || addMsg.SurveyType === '3'"
>
<template
v-for=
"(item, index) in addMsg.SurveyOptionsList"
>
<el-form-item
:label=
"`选项$
{index+1}`" >
<el-form-item
:label=
"`选项$
{index+1}`"
:key="`x_`+index"
>
<el-input
v-model=
"item.OptionsName"
class=
"w217"
>
<el-button
@
click=
"deleItem(index)"
slot=
"append"
icon=
"el-icon-delete"
></el-button>
</el-input>
</el-form-item>
<el-form-item
label=
"
排序"
>
<el-input
v-model=
"item.Sort"
class=
"w217"
/>
<el-form-item
label=
"
选项排序"
:key=
"`p_`+index"
>
<el-input
v-model=
"item.Sort"
class=
"w217"
/>
</el-form-item>
</
template
>
<el-form-item
label=
""
>
<span
@
click=
"addList()"
>
增加
</span>
<el-form-item
label=
""
>
<span
@
click=
"addList()"
style=
"color:blue;cursor:pointer;"
>
增加
</span>
</el-form-item>
</div>
</template>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false, resetForm('addMsg')"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false, resetForm('addMsg')"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
@
click=
"submitForm('addMsg')"
>
{{$t('pub.saveBtn')}}
</button>
</div>
</el-dialog>
</div>
</template>
<
script
>
export
default
{
export
default
{
data
()
{
return
{
//请求
...
...
@@ -204,29 +197,33 @@ export default {
pageSize
:
15
,
IsShow
:
-
1
,
SurveyType
:
-
1
,
Title
:
''
Title
:
''
,
MainId
:
0
,
},
addMsg
:
{
MainId
:
0
,
Title
:
""
,
SurveyType
:
'1'
,
IsShow
:
1
,
Sort
:
0
,
SurveyOptionsList
:
[
{
SurveyOptionsList
:
[{
OptionsName
:
''
,
Sort
:
0
,
ID
:
0
,
}
]
}]
},
total
:
0
,
total
:
0
,
rules
:
{
Title
:
[
{
required
:
true
,
message
:
"请输入名称"
,
trigger
:
"blur"
}
],
Sort
:
[
{
required
:
true
,
message
:
"请输入排序"
,
trigger
:
"blur"
}
]
Title
:
[{
required
:
true
,
message
:
"请输入名称"
,
trigger
:
"blur"
}],
Sort
:
[{
required
:
true
,
message
:
"请输入排序"
,
trigger
:
"blur"
}]
},
loading
:
false
,
outerVisible
:
false
,
...
...
@@ -235,16 +232,20 @@ export default {
TypeList
:
[],
};
},
created
()
{
if
(
this
.
$route
.
query
.
MainId
&&
this
.
$route
.
query
.
MainId
>
0
)
{
this
.
msg
.
MainId
=
this
.
$route
.
query
.
MainId
;
this
.
addMsg
.
MainId
=
this
.
$route
.
query
.
MainId
;
}
},
mounted
()
{
this
.
getList
();
this
.
getTypeList
();
},
filters
:
{},
methods
:
{
// 获取类型名称
getTypeName
:
function
(
type
)
{
if
(
type
===
1
)
{
return
'打分'
}
else
if
(
type
===
2
)
{
...
...
@@ -258,13 +259,11 @@ export default {
// 切换类型
changeType
:
function
(
i
)
{
if
(
i
===
'1'
||
i
===
'4'
)
{
this
.
addMsg
.
SurveyOptionsList
=
[
{
this
.
addMsg
.
SurveyOptionsList
=
[{
OptionsName
:
''
,
Sort
:
0
,
ID
:
0
,
}
]
}]
}
},
// 删除选项
...
...
@@ -281,7 +280,7 @@ export default {
})
},
getTypeList
:
function
()
{
this
.
apipost
(
'survey_post_GetSurveyTypeEnumList'
,
{},
res
=>
{
this
.
apipost
(
'survey_post_GetSurveyTypeEnumList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
TypeList
=
res
.
data
.
data
}
...
...
@@ -296,8 +295,9 @@ export default {
})
.
then
(()
=>
{
this
.
apipost
(
"survey_post_DelSurvey"
,
{
SurveyID
:
item
.
ID
},
"survey_post_DelSurvey"
,
{
SurveyID
:
item
.
ID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
...
...
@@ -321,7 +321,7 @@ export default {
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -361,12 +361,13 @@ export default {
updateData
(
item
)
{
this
.
outerVisible
=
true
;
this
.
apipost
(
"survey_post_GetSurvey"
,
{
SurveyID
:
item
.
ID
},
"survey_post_GetSurvey"
,
{
SurveyID
:
item
.
ID
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
let
data
=
res
.
data
.
data
data
.
SurveyType
=
''
+
data
.
SurveyType
data
.
SurveyType
=
''
+
data
.
SurveyType
this
.
addMsg
=
data
this
.
getList
();
}
else
{
...
...
@@ -378,20 +379,15 @@ export default {
},
//重置信息
resetInfo
()
{
var
newMsg
=
{
Title
:
""
,
SurveyType
:
"1"
,
IsShow
:
1
,
Sort
:
0
,
SurveyOptionsList
:
[
{
this
.
addMsg
.
Title
=
""
;
this
.
addMsg
.
SurveyType
=
""
;
this
.
addMsg
.
IsShow
=
1
;
this
.
addMsg
.
Sort
=
0
;
this
.
addMsg
.
SurveyOptionsList
=
[{
OptionsName
:
''
,
Sort
:
0
,
ID
:
0
,
}
]
};
this
.
addMsg
=
newMsg
;
}];
},
closeChangeMachie
(
done
)
{
//弹出框关闭初始化弹框内表单
...
...
@@ -401,10 +397,11 @@ export default {
resetForm
(
formName
)
{
this
.
$refs
[
formName
].
resetFields
();
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
}
};
};
</
script
>
src/components/guestSign.vue
0 → 100644
View file @
ddfc1c3c
<
style
scoped
>
.guestSign
{
font-size
:
40px
;
margin-top
:
10px
;
margin-bottom
:
10px
;
}
/* 自定义评分组件的样式 */
.guestSign
.custom-rate
.el-rate__item
{
font-size
:
38px
;
/* 调整星星的大小 */
}
/
deep
/
.guestSign
.custom-rate
.el-rate__icon
{
font-size
:
60px
;
}
/
deep
/
.guestSign
.custom-rate
.el-rate__text
{
font-size
:
60px
;
}
</
style
>
<
template
>
<div
class=
"guestSign"
>
<span>
感谢
{{
qMsg
.
SurName
}}
{{
qMsg
.
Sex
==
1
?
"先生"
:
"女士"
}}
参与意见调查
</span>
<span>
领队:王 ,导游:张
</span>
<span>
团期:2022.01.01-2024.08.01
</span>
<template
v-for=
"(item,index) in dataList "
>
<span
:key=
"`t_`+index"
>
{{
index
+
1
}}
、
{{
item
.
Title
}}
</span>
<template
v-if=
"item.SurveyType === 1"
>
<el-rate
:key=
"`s_`+index"
v-model=
"item.ScoreNum"
show-text
:texts=
"texts"
class=
"custom-rate"
>
</el-rate>
</
template
>
<
template
v-if=
"item.SurveyType === 2"
>
<el-radio-group
v-model=
"item.ScoreNum"
:key=
"`ss_`+index"
>
<el-radio
v-for=
"(radio, rIndex) in item.SurveyOptionsList"
:label=
"radio.ID"
:key=
"rIndex"
>
{{
radio
.
OptionsName
}}
</el-radio>
</el-radio-group>
</
template
>
<
template
v-if=
"item.SurveyType === 3"
>
<el-checkbox-group
v-model=
"item.SurveyOptionsList"
:key=
"`sss_`+index"
>
<el-checkbox
v-for=
"(radio, rIndex) in item.SurveyOptionsList"
:label=
"radio.ID"
:key=
"rIndex"
>
{{
radio
.
OptionsName
}}
</el-checkbox>
</el-checkbox-group>
</
template
>
<
template
v-if=
"item.SurveyType === 4"
>
<el-input
:key=
"`ssss_`+index"
type=
"textarea"
:rows=
"2"
:placeholder=
"$t('fnc.qsrneirong')"
v-model=
"item.TextContent"
>
</el-input>
</
template
>
</template>
<el-button
type=
"primary"
>
提交
</el-button>
</div>
</template>
<
script
>
export
default
{
data
()
{
return
{
qMsg
:
{
TCID
:
21633
,
GuestId
:
0
,
SurName
:
""
,
//中文姓
Sex
:
0
,
//性别 1-男 2-女
},
dataList
:
[],
};
},
created
()
{
if
(
this
.
$route
.
query
.
TCID
)
{
this
.
qMsg
.
TCID
=
this
.
$route
.
query
.
TCID
;
}
if
(
this
.
$route
.
query
.
GuestId
)
{
this
.
qMsg
.
GuestId
=
this
.
$route
.
query
.
GuestId
;
}
if
(
this
.
$route
.
query
.
SurName
)
{
this
.
qMsg
.
SurName
=
this
.
$route
.
query
.
SurName
;
}
if
(
this
.
$route
.
query
.
Sex
)
{
this
.
qMsg
.
Sex
=
this
.
$route
.
query
.
Sex
;
}
},
mounted
()
{
this
.
GetSurveyShowList
();
},
methods
:
{
GetSurveyShowList
:
function
()
{
let
data
=
{
IsShow
:
1
,
SurveyType
:
-
1
}
this
.
apipost
(
'survey_post_GetSurveyShowList'
,
data
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
let
data
=
res
.
data
.
data
data
.
map
(
item
=>
{
if
(
item
.
SurveyType
===
2
)
{
item
.
SurveyOptionsList
.
map
((
cItem
,
cIndex
)
=>
{
cItem
.
IsCheckS
=
false
})
}
if
(
item
.
SurveyType
===
3
)
{
item
.
SurveyOptionsList
.
map
((
cItem
,
cIndex
)
=>
{
cItem
.
IsCheckS
=
false
})
}
if
(
item
.
SurveyType
===
1
)
{
item
.
ScoreNum
=
5
;
}
})
this
.
dataList
=
data
;
}
},
null
)
},
}
}
</
script
>
src/components/guestlogin.vue
0 → 100644
View file @
ddfc1c3c
<
style
>
</
style
>
<
template
>
<div>
<input
type=
"button"
value=
"手机号验证"
style=
"width:95%;height:200px;"
@
click=
"changeLoginType(1)"
/>
<br
/>
<input
type=
"button"
value=
"护照号验证"
style=
"width:95%;height:200px;"
@
click=
"changeLoginType(2)"
/>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
activeName
:
'first'
,
postMsg
:
{
type
:
1
,
//1-手机号码验证登录,2-护照号码验证登录
//E75385750 13970261014
guestMobile
:
"13970261014"
,
//1-为手机号码,2-护照号码
TCID
:
21633
},
qMsg
:
{
TCID
:
21633
,
GuestId
:
0
,
SurName
:
""
,
//中文姓
Sex
:
0
,
//性别 1-男 2-女
}
};
},
created
()
{
if
(
this
.
$route
.
query
.
TCID
)
{
this
.
postMsg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
qMsg
.
TCID
=
this
.
$route
.
query
.
TCID
;
}
},
mounted
()
{
this
.
guestLogin
();
},
methods
:
{
changeLoginType
(
type
)
{
this
.
postMsg
.
type
=
type
;
},
guestLogin
()
{
this
.
apipost
(
"miniProgram_price_GetGuestByPhone_V2"
,
this
.
postMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
console
.
log
(
tempData
);
this
.
qMsg
.
GuestId
=
tempData
[
0
].
Id
;
this
.
qMsg
.
SurName
=
tempData
[
0
].
SurName
;
this
.
qMsg
.
Sex
=
tempData
[
0
].
Sex
;
this
.
$router
.
push
({
name
:
"guestSign"
,
query
:
{
TCID
:
this
.
qMsg
.
TCID
,
GuestId
:
this
.
qMsg
.
GuestId
,
SurName
:
this
.
qMsg
.
SurName
,
Sex
:
this
.
qMsg
.
Sex
,
}
})
}
},
err
=>
{}
);
}
}
}
</
script
>
src/components/public/YearLimit.vue
View file @
ddfc1c3c
...
...
@@ -57,7 +57,6 @@
this
.
isQueryHistoryData
=
true
;
}
});
},
}
}
...
...
src/plug/index.js
View file @
ddfc1c3c
...
...
@@ -123,7 +123,7 @@ export default {
let
isOnline
=
0
;
//0-本地测试,1-线上
let
ocrUrl
=
"http://192.168.5.46:8888"
;
domainUrl
=
"http://192.168.5.46"
;
domainUrl
=
"http://192.168.5.39:8083"
;
//
domainUrl = "http://192.168.5.39:8083";
let
crmLocalFileStreamDownLoadUrl
=
""
;
crmLocalFileStreamDownLoadUrl
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://crm.oytour.com"
:
"http://testcrm.oytour.com"
;
let
javaUrldo
=
""
;
...
...
@@ -291,7 +291,7 @@ export default {
this
.
$route
.
name
.
indexOf
(
'confirmationOrderDownLoadNew'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'PrintPage'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'TravelContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'ViittoContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'OrderProfitLossList'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientProtocol'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientDisclaimerProtocol'
)
===
-
1
this
.
$route
.
name
.
indexOf
(
'clientDisclaimerProtocol'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'guestLogin'
)
===
-
1
)
{
let
previousPathInfo
=
{
path
:
this
.
$route
.
name
,
...
...
@@ -374,6 +374,14 @@ export default {
Id
:
Id
}
})
}
else
if
(
this
.
$route
.
path
==
"/guestLogin"
)
{
let
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
$router
.
push
({
name
:
"guestLogin"
,
query
:
{
TCID
:
TCID
}
})
}
else
{
if
(
!
localStorage
.
userInfo
&&
localStorage
.
userInfo
!=
""
&&
this
.
$route
.
path
.
toLowerCase
()
!=
"/login"
)
{
this
.
goToLogin
(
1
);
...
...
@@ -672,9 +680,20 @@ export default {
}
successCall
(
res
);
}
else
{
if
(
authCode
!=
this
.
$AuthCode
.
isQueryHistoryData
)
{
this
.
apipost
(
"userauth_get_GetCheckUserAuthService"
,
{
actionMenuCode
:
authCode
},
successCall
,
faildCall
);
}
else
{
var
data
=
{
resultCode
:
1
,
data
:
0
,
};
var
res
=
{
data
:
data
}
successCall
(
res
);
}
}
},
//供应商版请求接口方法
...
...
@@ -1931,8 +1950,8 @@ export default {
}
Vue
.
prototype
.
TourDateRestrictions
=
function
(
date1
,
date2
)
{
var
endDate
=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
var
data_1
=
Date
.
parse
(
date1
?
date1
:
'2021-12-31'
);
var
data_2
=
Date
.
parse
(
date2
?
date2
:
endDate
);
var
data_1
=
Date
.
parse
(
date1
?
date1
:
'2021-12-31'
);
var
data_2
=
Date
.
parse
(
date2
?
date2
:
endDate
);
var
dateNum
=
Math
.
abs
(
data_2
-
data_1
);
var
days
=
Math
.
floor
(
dateNum
/
(
24
*
3600
*
1000
));
let
endTime
=
new
Date
(
this
.
getBeforeDate
(
days
,
new
Date
().
Format
(
"yyyy-MM-dd"
)));
...
...
src/router/config.js
View file @
ddfc1c3c
...
...
@@ -508,6 +508,14 @@ export default {
title
:
'公告管理'
},
},
{
path
:
'/SurveyManager'
,
//问卷管理
name
:
'SurveyManager'
,
component
:
resolve
=>
require
([
'@/components/administrative/SurveyManager'
],
resolve
),
meta
:
{
title
:
'问券调查'
},
},
{
path
:
'/VoucherInquiry'
,
//问券调查
name
:
'VoucherInquiry'
,
...
...
@@ -6410,5 +6418,21 @@ export default {
title
:
'财务批量打印页面'
},
},
{
path
:
'/guestlogin'
,
//意见调查表登录
name
:
'guestlogin'
,
component
:
resolve
=>
require
([
'@/components/guestlogin'
],
resolve
),
meta
:
{
title
:
'意见调查表登录'
},
},
{
path
:
'/guestSign'
,
//意见调查表填写
name
:
'guestSign'
,
component
:
resolve
=>
require
([
'@/components/guestSign'
],
resolve
),
meta
:
{
title
:
'意见调查表填写'
},
},
]
}
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