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
44af9935
Commit
44af9935
authored
Jun 09, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
2b4e3448
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
135 additions
and
121 deletions
+135
-121
TravelNotice.vue
...ents/newTravelmanager/TravelGroupControl/TravelNotice.vue
+135
-121
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelNotice.vue
View file @
44af9935
<
style
>
<
style
>
@import
"../../../assets/css/font"
;
@import
"../../../assets/css/font"
;
</
style
>
</
style
>
<
template
>
<
template
>
<div>
<div>
...
@@ -49,27 +50,30 @@
...
@@ -49,27 +50,30 @@
</td>
</td>
<td>
<td>
<span
v-if=
"selfItem.IsShow==0"
>
{{
selfItem
.
EstimatedCost
}}
</span>
<span
v-if=
"selfItem.IsShow==0"
>
{{
selfItem
.
EstimatedCost
}}
</span>
<el-input
v-model=
"selfItem.EstimatedCost"
class=
'w200'
<el-input
v-model=
"selfItem.EstimatedCost"
class=
'w200'
v-else
></el-input>
v-else
></el-input>
</td>
</td>
<td>
<td>
<span
v-if=
"selfItem.IsShow==0"
>
{{
selfItem
.
Explain
}}
</span>
<span
v-if=
"selfItem.IsShow==0"
>
{{
selfItem
.
Explain
}}
</span>
<el-input
v-model=
"selfItem.Explain"
class=
'w400'
v-else
></el-input>
<el-input
v-model=
"selfItem.Explain"
class=
'w400'
v-else
></el-input>
</td>
</td>
<td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_edit')"
placement=
"top-start"
v-if=
"(selfItem.IsShow==0)"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_edit')"
placement=
"top-start"
v-if=
"(selfItem.IsShow==0)"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"SelfpayingShow(selfItem)"
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"SelfpayingShow(selfItem)"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.saveBtn')"
placement=
"top-start"
v-if=
"selfItem.IsShow==1"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.saveBtn')"
placement=
"top-start"
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
circle
v-if=
"selfItem.IsShow==1"
>
@
click=
"SaveSelfpaying(selfItem)"
></el-button>
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
circle
@
click=
"SaveSelfpaying(selfItem)"
>
</el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.cancelBtn')"
placement=
"top-start"
v-if=
"selfItem.IsShow==1 "
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.cancelBtn')"
placement=
"top-start"
v-if=
"selfItem.IsShow==1 "
>
<el-button
type=
"danger"
icon=
"iconfont icon-guanbi"
circle
<el-button
type=
"danger"
icon=
"iconfont icon-guanbi"
circle
@
click=
"SelfpayingHide(selfItem,selfIndex)"
></el-button>
@
click=
"SelfpayingHide(selfItem,selfIndex)"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
v-if=
"selfItem.IsShow==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
v-if=
"selfItem.IsShow==0"
>
<el-button
type=
"danger"
icon=
"iconfont icon-guanbi"
circle
<el-button
type=
"danger"
icon=
"iconfont icon-guanbi"
circle
@
click=
"DelSelfpaying(selfItem,selfIndex)"
></el-button>
@
click=
"DelSelfpaying(selfItem,selfIndex)"
></el-button>
</el-tooltip>
</el-tooltip>
...
@@ -121,13 +125,12 @@
...
@@ -121,13 +125,12 @@
<tbody>
<tbody>
<tr
v-for=
"(shopItem,shopIndex) in ShopAllList"
>
<tr
v-for=
"(shopItem,shopIndex) in ShopAllList"
>
<td
class=
'w250'
>
<td
class=
'w250'
>
{{
shopItem
.
CityName
}}
{{
shopItem
.
CityName
}}
dddd
</td>
</td>
<td>
<td>
<span
v-if=
"shopItem.IsShow==0"
>
{{
shopItem
.
ShopName
}}
</span>
<span
v-if=
"shopItem.IsShow==0"
>
{{
shopItem
.
ShopName
}}
</span>
<el-select
class=
'w250'
:placeholder=
"$t('pub.pleaseSel')"
filterable
v-model=
"shopItem.ShopId"
<el-select
class=
'w250'
:placeholder=
"$t('pub.pleaseSel')"
filterable
v-model=
"shopItem.ShopId"
@
visible-change=
"getShopItemList($event)"
@
change=
"GetCityName(shopItem.ShopId,shopItem)"
@
visible-change=
"getShopItemList($event)"
@
change=
"GetCityName(shopItem.ShopId,shopItem)"
v-else
>
v-else
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'DefaultSelectValue'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'DefaultSelectValue'
></el-option>
<el-option
v-for=
"item in ShopItemList"
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
<el-option
v-for=
"item in ShopItemList"
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-option>
...
@@ -138,20 +141,24 @@
...
@@ -138,20 +141,24 @@
<el-input
v-model=
"shopItem.VisitTime"
class=
'w400'
v-else
></el-input>
<el-input
v-model=
"shopItem.VisitTime"
class=
'w400'
v-else
></el-input>
</td>
</td>
<td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_edit')"
placement=
"top-start"
v-if=
"(shopItem.IsShow==0)"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_edit')"
placement=
"top-start"
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"ShopShow(shopItem)"
></el-button>
v-if=
"(shopItem.IsShow==0)"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"ShopShow(shopItem),getShopItemList()"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.saveBtn')"
placement=
"top-start"
v-if=
"shopItem.IsShow==1"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.saveBtn')"
placement=
"top-start"
v-if=
"shopItem.IsShow==1"
>
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
circle
@
click=
"SaveShop(shopItem)"
></el-button>
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
circle
@
click=
"SaveShop(shopItem)"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.cancelBtn')"
placement=
"top-start"
v-if=
"shopItem.IsShow==1 "
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.cancelBtn')"
placement=
"top-start"
<el-button
type=
"danger"
icon=
"iconfont icon-guanbi"
circle
v-if=
"shopItem.IsShow==1 "
>
@
click=
"ShopHide(shopItem,shopIndex)"
></el-button>
<el-button
type=
"danger"
icon=
"iconfont icon-guanbi"
circle
@
click=
"ShopHide(shopItem,shopIndex)"
>
</el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
v-if=
"shopItem.IsShow==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
<el-button
type=
"danger"
icon=
"iconfont icon-guanbi"
circle
v-if=
"shopItem.IsShow==0"
>
@
click=
"DelShop(shopItem,shopIndex)"
></el-button>
<el-button
type=
"danger"
icon=
"iconfont icon-guanbi"
circle
@
click=
"DelShop(shopItem,shopIndex)"
>
</el-button>
</el-tooltip>
</el-tooltip>
</td>
</td>
</tr>
</tr>
...
@@ -176,7 +183,9 @@
...
@@ -176,7 +183,9 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
quillEditor
}
from
"vue-quill-editor"
;
import
{
quillEditor
}
from
"vue-quill-editor"
;
import
*
as
Quill
from
"quill"
;
//引入编辑器
import
*
as
Quill
from
"quill"
;
//引入编辑器
import
MyEdit
from
"../../EditTemplate.vue"
;
import
MyEdit
from
"../../EditTemplate.vue"
;
//quill编辑器的字体
//quill编辑器的字体
...
@@ -254,10 +263,15 @@
...
@@ -254,10 +263,15 @@
if
(
obj
!=
undefined
)
{
if
(
obj
!=
undefined
)
{
item
.
CityName
=
obj
.
CityName
;
item
.
CityName
=
obj
.
CityName
;
item
.
CityId
=
obj
.
CityId
;
item
.
CityId
=
obj
.
CityId
;
item
.
ShopName
=
obj
.
Name
;
}
}
}
}
},
},
onEditorChange
({
editor
,
html
,
text
},
typeStr
)
{
onEditorChange
({
editor
,
html
,
text
},
typeStr
)
{
//富文本编辑器 文本改变时 设置字段值
//富文本编辑器 文本改变时 设置字段值
switch
(
typeStr
)
{
switch
(
typeStr
)
{
case
"FeeInclude"
:
case
"FeeInclude"
:
...
@@ -331,27 +345,27 @@
...
@@ -331,27 +345,27 @@
});
});
}
}
},
},
err
=>
{
err
=>
{}
}
);
);
},
},
getVisaDescribe
()
{
getVisaDescribe
()
{
this
.
apipost
(
this
.
apipost
(
"dmc_get_visa_GetAllVisaDescribe"
,
"dmc_get_visa_GetAllVisaDescribe"
,
{},
{},
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
VisaRemarkArr
=
res
.
data
.
data
;
this
.
VisaRemarkArr
=
res
.
data
.
data
;
}
}
},
},
err
=>
{
err
=>
{}
}
);
);
},
},
//获取购物店下拉框
//获取购物店下拉框
getShopItemList
()
{
getShopItemList
()
{
console
.
log
(
"1111"
);
if
(
event
)
{
if
(
event
)
{
var
qmsg
=
{
QCountry
:
this
.
CountryID
};
var
qmsg
=
{
QCountry
:
this
.
CountryID
};
this
.
apipost
(
this
.
apipost
(
"Shopping_Post_GetList"
,
"Shopping_Post_GetList"
,
qmsg
,
qmsg
,
...
@@ -360,8 +374,7 @@
...
@@ -360,8 +374,7 @@
this
.
ShopItemList
=
res
.
data
.
data
;
this
.
ShopItemList
=
res
.
data
.
data
;
}
}
},
},
err
=>
{
err
=>
{}
}
);
);
}
}
},
},
...
@@ -497,4 +510,5 @@
...
@@ -497,4 +510,5 @@
}
}
}
}
};
};
</
script
>
</
script
>
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