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
169b07c8
Commit
169b07c8
authored
4 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d6b3b4f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
14 deletions
+22
-14
WebSiteService.vue
src/components/WebSet/WebSiteService.vue
+4
-4
WebSiteTrip.vue
src/components/WebSet/WebSiteTrip.vue
+18
-10
No files found.
src/components/WebSet/WebSiteService.vue
View file @
169b07c8
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
class=
"query-box"
>
<div
class=
"query-box"
>
<ul>
<ul>
<li>
<li>
<label>
名称
</label>
<label>
稱呼
</label>
<el-input
v-model=
"msg.Name"
:placeholder=
"$t('system.ph_in')"
@
keyup
.
native
.
enter=
"getData"
class=
"w210"
>
<el-input
v-model=
"msg.Name"
:placeholder=
"$t('system.ph_in')"
@
keyup
.
native
.
enter=
"getData"
class=
"w210"
>
</el-input>
</el-input>
</li>
</li>
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<div>
<div>
<el-table
:data=
"dataList"
style=
"width: 100%"
v-loading=
"loading"
<el-table
:data=
"dataList"
style=
"width: 100%"
v-loading=
"loading"
:default-sort=
"
{prop: 'date', order: 'descending'}">
:default-sort=
"
{prop: 'date', order: 'descending'}">
<el-table-column
prop=
"Name"
label=
"
名称
"
sortable
>
<el-table-column
prop=
"Name"
label=
"
稱呼
"
sortable
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"Mobile"
label=
"聯絡電話"
sortable
>
<el-table-column
prop=
"Mobile"
label=
"聯絡電話"
sortable
>
</el-table-column>
</el-table-column>
...
@@ -58,8 +58,8 @@
...
@@ -58,8 +58,8 @@
<el-form
:model=
"addMsg"
ref=
"addMsg"
label-width=
"120px"
>
<el-form
:model=
"addMsg"
ref=
"addMsg"
label-width=
"120px"
>
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"
名称
"
>
<el-form-item
label=
"
稱呼
"
>
<el-input
type=
"text"
v-model=
"addMsg.Name"
maxlength=
"50"
placeholder=
"
名称
"
>
<el-input
type=
"text"
v-model=
"addMsg.Name"
maxlength=
"50"
placeholder=
"
稱呼
"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"聯絡電話"
>
<el-form-item
label=
"聯絡電話"
>
...
...
This diff is collapsed.
Click to expand it.
src/components/WebSet/WebSiteTrip.vue
View file @
169b07c8
...
@@ -227,8 +227,8 @@
...
@@ -227,8 +227,8 @@
<h2
class=
"layout_temp_title"
>
注意事項
</h2>
<h2
class=
"layout_temp_title"
>
注意事項
</h2>
<div
style=
"margin:10px 0;font-size:14px;"
>
<div
style=
"margin:10px 0;font-size:14px;"
>
<span>
預設:
</span>
<span>
預設:
</span>
<el-radio
v-model=
"item.plugData.NoticeItemIsOpen"
:label=
"1"
>
展開
</el-radio>
<el-radio
v-model=
"item.plugData.NoticeItemIsOpen"
:label=
"1"
>
展開
</el-radio>
<el-radio
v-model=
"item.plugData.NoticeItemIsOpen"
:label=
"0"
>
收合
</el-radio>
<el-radio
v-model=
"item.plugData.NoticeItemIsOpen"
:label=
"0"
>
收合
</el-radio>
</div>
</div>
<img
:src=
"DefaultNoticeImg"
style=
"width:100%;"
/>
<img
:src=
"DefaultNoticeImg"
style=
"width:100%;"
/>
<div
class=
"layout_move_div"
>
<div
class=
"layout_move_div"
>
...
@@ -316,7 +316,6 @@
...
@@ -316,7 +316,6 @@
postMsg
:
{
postMsg
:
{
Id
:
0
,
Id
:
0
,
//行程数据
//行程数据
TripDataList
:
[],
}
}
};
};
},
},
...
@@ -391,13 +390,16 @@
...
@@ -391,13 +390,16 @@
this
.
postMsg
.
Id
=
tempData
.
Id
;
this
.
postMsg
.
Id
=
tempData
.
Id
;
}
}
if
(
tempData
.
TripDataList
&&
tempData
.
TripDataList
.
length
>
0
)
{
if
(
tempData
.
TripDataList
&&
tempData
.
TripDataList
.
length
>
0
)
{
this
.
TripBgImgItem
=
{};
this
.
TripBottonItem
=
{};
this
.
OtherList
=
[];
tempData
.
TripDataList
.
forEach
(
item
=>
{
tempData
.
TripDataList
.
forEach
(
item
=>
{
if
(
item
.
Id
==
"TripBgImgItem"
)
{
if
(
item
.
Id
==
"TripBgImgItem"
)
{
this
.
TripBgImgItem
=
item
;
this
.
TripBgImgItem
=
JSON
.
parse
(
JSON
.
stringify
(
item
))
;
}
else
if
(
item
.
Id
==
"TripBottonItem"
)
{
}
else
if
(
item
.
Id
==
"TripBottonItem"
)
{
this
.
TripBottonItem
=
item
;
this
.
TripBottonItem
=
JSON
.
parse
(
JSON
.
stringify
(
item
))
;
}
else
{
}
else
{
this
.
OtherList
.
push
(
item
);
this
.
OtherList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
item
))
);
}
}
});
});
}
}
...
@@ -411,13 +413,19 @@
...
@@ -411,13 +413,19 @@
},
},
//保存数据
//保存数据
saveData
()
{
saveData
()
{
this
.
postMsg
.
TripDataList
.
push
(
this
.
TripBgImgItem
);
var
tempArray
=
[];
this
.
postMsg
.
TripDataList
.
push
(
this
.
TripBottonItem
);
tempArray
.
push
(
this
.
TripBgImgItem
);
tempArray
.
push
(
this
.
TripBottonItem
);
this
.
OtherList
.
forEach
(
item
=>
{
this
.
OtherList
.
forEach
(
item
=>
{
t
his
.
postMsg
.
TripDataList
.
push
(
item
);
t
empArray
.
push
(
item
);
})
})
var
msg
=
{
Id
:
this
.
postMsg
.
Id
,
TripDataList
:
tempArray
}
console
.
log
(
"this.postMsg"
,
msg
);
this
.
apipost
(
this
.
apipost
(
"ws_post_SetTripData"
,
this
.
postM
sg
,
"ws_post_SetTripData"
,
m
sg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getData
();
this
.
getData
();
...
...
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