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
059f2a47
Commit
059f2a47
authored
Apr 11, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改抽奖活动 新增 任务
parent
e8996745
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
69 additions
and
24 deletions
+69
-24
zh.js
src/assets/common/lang/zh.js
+6
-1
ComplaintsDetail.vue
src/components/Complaints/ComplaintsDetail.vue
+3
-1
ChoiceAddFinancialDocuments2.vue
...mponents/FinancialModule/ChoiceAddFinancialDocuments2.vue
+20
-6
RecPayQuery.vue
src/components/FinancialModule/RecPayQuery.vue
+2
-2
CouponList.vue
src/components/activity/CouponList.vue
+3
-0
LuckyDraw.vue
src/components/activity/LuckyDraw.vue
+34
-11
awardList.vue
src/components/activity/awardList.vue
+1
-3
No files found.
src/assets/common/lang/zh.js
View file @
059f2a47
...
...
@@ -768,6 +768,9 @@ export const active = {
cjjiangxiang
:
'抽奖奖项'
,
cl_man
:
'满'
,
cl_keyong
:
'可用'
,
cl_cjleixing
:
'抽奖类型'
,
cl_huodong
:
'活动'
,
cl_renwu
:
'任务'
,
}
export
const
fnc
=
{
...
...
@@ -1736,4 +1739,6 @@ export const visaT = {
qxzzzdqzlx
:
'请选择正确的签证类型!'
,
qxzxybddry
:
"请选择需要绑定的人员"
,
v_Othervisas
:
'其他'
}
\ No newline at end of file
}
import
invoicesManager
from
'./H/h-invoicesManager'
export
const
invoices
=
invoicesManager
\ No newline at end of file
src/components/Complaints/ComplaintsDetail.vue
View file @
059f2a47
...
...
@@ -236,7 +236,7 @@
</li>
<li
v-if=
"ComplainInfo.DisposeStatus===4&&(getLocalStorage().EmployeeId===ComplainDetial[ComplainDetial.length-1].CreateBy||authority.indexOf('S_Complain_Finance')!=-1)"
>
<span>
赔偿列表
:
</span>
<span>
立即制单
:
</span>
<span
v-for=
"compensation in ComplainCompensation"
class=
"CD_dealResult"
href=
"javascript:void(0)"
@
click=
"setFinance(compensation)"
>
{{
compensation
.
CompensateMoney
}}
</span>
</li>
...
...
@@ -593,6 +593,7 @@
},
//设置财务单据
setFinance
(
compensation
)
{
let
id
=
[
11
];
//TODO跳转到财务单据
if
(
compensation
.
FinanceID
===
0
)
{
var
TCArr
=
[
this
.
PriceInfo
.
TCID
]
...
...
@@ -607,6 +608,7 @@
name
:
'ChoiceAddFinancialDocuments'
,
query
:
{
Type
:
2
,
templateID
:
JSON
.
stringify
(
id
),
companyID
:
this
.
PriceInfo
.
OutBranchId
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
)
...
...
src/components/FinancialModule/ChoiceAddFinancialDocuments2.vue
View file @
059f2a47
...
...
@@ -85,6 +85,7 @@
lastID
:
-
1
,
orderObj
:
null
,
showTab
:
0
,
templateID
:
null
,
}
},
methods
:{
goUrl
(
path
,
id
,
Name
,
Type
,
IsUploadPic
)
{
...
...
@@ -121,6 +122,18 @@
}
else
{
this
.
noData
=
false
;
}
let
newList
=
[];
if
(
this
.
templateID
)
{
this
.
templateID
.
forEach
(
x
=>
{
this
.
GetList
.
forEach
(
y
=>
{
if
(
x
===
y
.
Id
)
{
newList
.
push
(
y
)
}
})
})
this
.
GetList
=
newList
}
},
Financial_post_GetList
(){
//获取
this
.
apipost
(
'Financial_post_GetList'
,{},
res
=>
{
...
...
@@ -131,13 +144,13 @@
if
(
x
.
Type
==
1
){
this
.
collectList
.
push
(
x
);
}
else
if
(
x
.
Type
==
2
){
if
(
this
.
active
===
2
){
if
(
x
.
Id
!=
11
){
this
.
payList
.
push
(
x
);
}
}
else
{
//
if(this.active===2){
//
if(x.Id!=11){
//
this.payList.push(x);
//
}
//
}else{
this
.
payList
.
push
(
x
);
}
//
}
}
else
if
(
x
.
Type
==
7
){
this
.
GZList
.
push
(
x
);
}
...
...
@@ -156,6 +169,7 @@
},
err
=>
{})
},
},
mounted
(){
this
.
templateID
=
this
.
$route
.
query
.
templateID
?
JSON
.
parse
(
this
.
$route
.
query
.
templateID
)
:
null
this
.
Financial_post_GetList
();
this
.
showTab
=
this
.
$route
.
query
.
Type
?
this
.
$route
.
query
.
Type
:
0
;
if
(
this
.
showTab
==
1
){
...
...
src/components/FinancialModule/RecPayQuery.vue
View file @
059f2a47
...
...
@@ -918,7 +918,7 @@ export default {
if
(
!
this
.
msg
.
CurrencyId
)
this
.
msg
.
CurrencyId
=
0
;
if
(
!
this
.
msg
.
CostTypeID
)
this
.
msg
.
CostTypeID
=
0
;
if
(
!
this
.
msg
.
TemplateId
)
this
.
msg
.
TemplateId
=
0
;
if
(
!
this
.
msg
.
RB_Branch_Id
)
this
.
msg
.
RB_Branch_Id
=-
1
;
if
(
this
.
msg
.
RB_Branch_Id
===
''
)
this
.
msg
.
RB_Branch_Id
=-
1
;
if
(
!
this
.
msg
.
RB_Depart_Id
)
this
.
msg
.
RB_Depart_Id
=
0
;
if
(
!
this
.
msg
.
UpdateBy
)
this
.
msg
.
UpdateBy
=
0
;
if
(
!
this
.
msg
.
TCID
)
this
.
msg
.
TCID
=
0
;
...
...
@@ -958,7 +958,7 @@ export default {
if
(
!
this
.
msg
.
CurrencyId
)
this
.
msg
.
CurrencyId
=
0
;
if
(
!
this
.
msg
.
CostTypeID
)
this
.
msg
.
CostTypeID
=
0
;
if
(
!
this
.
msg
.
TemplateId
)
this
.
msg
.
TemplateId
=
0
;
if
(
!
this
.
msg
.
RB_Branch_Id
)
this
.
msg
.
RB_Branch_Id
=-
1
;
if
(
this
.
msg
.
RB_Branch_Id
===
''
)
this
.
msg
.
RB_Branch_Id
=-
1
;
if
(
!
this
.
msg
.
RB_Depart_Id
)
this
.
msg
.
RB_Depart_Id
=
0
;
if
(
!
this
.
msg
.
UpdateBy
)
this
.
msg
.
UpdateBy
=
0
;
if
(
!
this
.
msg
.
TCID
)
this
.
msg
.
TCID
=
0
;
...
...
src/components/activity/CouponList.vue
View file @
059f2a47
...
...
@@ -98,6 +98,7 @@
<th>
{{
$t
(
'active.cl_couponNum'
)
}}
</th>
<th>
{{
$t
(
'active.cl_ffzongliang'
)
}}
</th>
<th>
{{
$t
(
'active.ad_endNum'
)
}}
</th>
<th>
{{
$t
(
'fnc.sygongsi'
)
}}
</th>
<th>
{{
$t
(
'system.query_lineName'
)
}}
</th>
<th>
{{
$t
(
'active.ad_xlmc'
)
}}
</th>
<th>
{{
$t
(
'system.query_type'
)
}}
</th>
...
...
@@ -119,6 +120,7 @@
<span
class=
"_couponReceiveCount"
@
click=
"item.couponReceiveCount === 0 ? '' : goDetail('CouponDetail', item)"
>
{{
item
.
couponReceiveCount
}}
</span>
</td>
<td>
{{
(
item
.
couponCount
-
item
.
couponReceiveCount
)
>
0
?
(
item
.
couponCount
-
item
.
couponReceiveCount
)
:
0
}}
</td>
<td>
{{
item
.
branchName
}}
</td>
<td>
{{
item
.
lineId
<=
0
?
$t
(
'pub.unlimitedSel'
)
:
item
.
lineName
}}
</td>
<td>
{{
item
.
lineteamId
<=
0
?
$t
(
'pub.unlimitedSel'
)
:
item
.
lineTeamName
}}
</td>
<td>
{{
item
.
couponsType
===
1
?
$t
(
'active.cl_dyquan'
)
:
$t
(
'active.cl_zkquan'
)
}}
</td>
...
...
@@ -191,6 +193,7 @@
v-model=
"addMsg.branchId"
:placeholder=
"$t('system.ph_choice')"
>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"-1"
:key=
"-1"
></el-option>
<el-option
v-for=
"item in layerCompanyList"
:label=
"item.BName"
...
...
src/components/activity/LuckyDraw.vue
View file @
059f2a47
...
...
@@ -133,6 +133,7 @@
<tr>
<th>
{{
$t
(
'active.ld_name'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_company'
)
}}
</th>
<th>
{{
$t
(
'active.cl_cjleixing'
)
}}
</th>
<th>
{{
$t
(
'active.ld_cjcs'
)
}}
</th>
<th>
{{
$t
(
'hotel.hotel_StartDate'
)
}}
</th>
<th>
{{
$t
(
'hotel.hotel_EndDate'
)
}}
</th>
...
...
@@ -143,6 +144,7 @@
<tr
v-for=
"item in dataList"
>
<td>
{{
item
.
lotteryName
}}
</td>
<td>
{{
item
.
branchName
}}
</td>
<td>
{{
item
.
lotteryType
===
1
?
$t
(
'active.cl_huodong'
)
:
$t
(
'active.cl_renwu'
)
}}
</td>
<td>
{{
item
.
lotteryCount
}}
</td>
<td>
{{
item
.
startDate
}}
</td>
<td>
{{
item
.
endDate
}}
</td>
...
...
@@ -206,7 +208,17 @@
</el-form-item>
</td>
<td>
<el-form-item
:label=
"$t('system.table_company')"
prop=
"branchId"
>
<el-form-item
label=
"抽奖类型"
prop=
"lotteryType"
>
<el-select
filterable
class=
"w217"
v-model=
"addMsg.lotteryType"
:placeholder=
"$t('system.ph_choice')"
@
change=
"addMsg.branchId = ''"
>
<el-option
:label=
"$t('active.cl_huodong')"
:value=
"1"
:key=
"1"
></el-option>
<el-option
:label=
"$t('active.cl_renwu')"
:value=
"2"
:key=
"2"
></el-option>
</el-select>
</el-form-item>
</td>
</tr>
<tr>
<td>
<el-form-item
:label=
"$t('system.table_company')"
prop=
"branchId"
v-if=
"addMsg.lotteryType === 1"
>
<el-select
filterable
class=
"w217"
v-model=
"addMsg.branchId"
:placeholder=
"$t('system.ph_choice')"
>
<el-option
v-for=
"item in companyList"
...
...
@@ -216,21 +228,17 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('system.table_company')"
prop=
"branchId"
v-else
>
<el-select
filterable
class=
"w217"
v-model=
"addMsg.branchId"
:placeholder=
"$t('system.ph_choice')"
>
<el-option
label=
"不限"
:value=
"-1"
:key=
"-1"
></el-option>
</el-select>
</el-form-item>
</td>
</tr>
<td>
<el-form-item
:label=
"$t('active.ld_cjNum')"
prop=
"lotteryCount"
>
<el-input
v-model=
"addMsg.lotteryCount"
class=
"w217"
@
keyup
.
native=
"checkInteger(addMsg,'lotteryCount')"
:placeholder=
"$t('active.ld_cjNum')"
/>
</el-form-item>
</td>
<td>
<el-form-item
:label=
"$t('active.ld_status')"
prop=
"lotteryStatus"
>
<el-select
filterable
v-model=
"addMsg.lotteryStatus"
class=
"w217"
>
<el-option
:label=
"$t('pub.normalSel')"
:value=
"1"
></el-option>
<el-option
:label=
"$t('active.ld_jinyong')"
:value=
"2"
></el-option>
</el-select>
</el-form-item>
</td>
</tr>
<tr>
<td>
...
...
@@ -247,6 +255,16 @@
</el-form-item>
</td>
</tr>
<tr>
<td>
<el-form-item
:label=
"$t('active.ld_status')"
prop=
"lotteryStatus"
>
<el-select
filterable
v-model=
"addMsg.lotteryStatus"
class=
"w217"
>
<el-option
:label=
"$t('pub.normalSel')"
:value=
"1"
></el-option>
<el-option
:label=
"$t('active.ld_jinyong')"
:value=
"2"
></el-option>
</el-select>
</el-form-item>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('active.ld_cjRule')"
prop=
"lotteryRules"
>
...
...
@@ -331,6 +349,7 @@ export default {
lotteryPlatform
:
1
,
lotteryRules
:
''
,
image
:
''
,
lotteryType
:
1
,
},
toolbar
:
{
clean
:
true
,
//加粗
...
...
@@ -357,6 +376,7 @@ export default {
lotteryCount
:
[{
required
:
true
,
message
:
"请输入抽奖次数"
,
trigger
:
"blur"
}],
startDate
:
[{
required
:
true
,
message
:
"请选择开始日期"
,
trigger
:
"blur"
}],
endDate
:
[{
required
:
true
,
message
:
"请选择结束日期"
,
trigger
:
"blur"
}],
lotteryType
:
[{
required
:
true
,
message
:
"请选择抽奖类型"
,
trigger
:
"blur"
}],
},
loading
:
false
,
currentPage
:
1
,
...
...
@@ -406,6 +426,7 @@ export default {
lotteryPlatform
:
1
,
lotteryRules
:
''
,
image
:
''
,
lotteryType
:
''
,
}
this
.
addMsg
=
newMsg
;
},
...
...
@@ -484,8 +505,9 @@ export default {
this
.
addMsg
.
groupId
=
item
.
groupId
;
this
.
addMsg
.
branchId
=
item
.
branchId
;
this
.
addMsg
.
lotteryStatus
=
item
.
lotteryStatus
;
this
.
addMsg
.
lotteryRules
=
item
.
lotteryRules
,
this
.
addMsg
.
lotteryRules
=
item
.
lotteryRules
this
.
addMsg
.
image
=
item
.
image
this
.
addMsg
.
lotteryType
=
item
.
lotteryType
},
// 删除抽奖
deleteItem
:
function
(
item
)
{
...
...
@@ -515,6 +537,7 @@ export default {
name
:
'awardList'
,
query
:
{
lotteryId
:
item
.
id
,
branchId
:
item
.
branchId
,
blank
:
"y"
,
tab
:
this
.
$t
(
'active.cjjiangxiang'
)
}
...
...
src/components/activity/awardList.vue
View file @
059f2a47
...
...
@@ -193,7 +193,6 @@ export default {
},
//修改信息
updateData
(
item
){
console
.
log
(
item
);
this
.
addMsg
.
id
=
item
.
id
;
this
.
addMsg
.
lotteryId
=
item
.
lotteryId
;
this
.
addMsg
.
awardName
=
item
.
awardName
;
...
...
@@ -206,8 +205,7 @@ export default {
},
//根据奖项类型请求关联Id
getAwardRelationId
(
id
){
let
userInfo
=
localStorage
.
userInfo
?
JSON
.
parse
(
localStorage
.
userInfo
)
:
''
;
let
branchId
=
userInfo
.
RB_Branch_id
?
userInfo
.
RB_Branch_id
:
0
let
branchId
=
this
.
$route
.
query
.
branchId
;
if
(
id
==
3
){
let
msg
=
{
couponId
:
this
.
addMsg
.
awardRelationId
,
...
...
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