Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
viitto
million
Commits
92f5afbb
Commit
92f5afbb
authored
Jul 06, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d7d2ccbb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
24 deletions
+50
-24
diy-form.vue
src/components/label_other/diy-form.vue
+47
-21
About.vue
src/pages/About.vue
+1
-1
Index.vue
src/pages/Index.vue
+1
-1
details.vue
src/pages/details.vue
+1
-1
No files found.
src/components/label_other/diy-form.vue
View file @
92f5afbb
...
...
@@ -2,7 +2,7 @@
<div
class=
"q-mt-lg"
>
<div
class=
"form1 section-block"
>
<h2
class=
"block-title q-mb-lg"
>
專人服務
</h2>
<q-form
@
submit=
"onSubmit"
class=
"q-gutter-md"
>
<q-form
class=
"q-gutter-md"
>
<div
class=
"row q-gutter-xl desktop-only q-mb-lg q-pl-md"
>
<q-input
filled
v-model=
"params.Name"
label=
"如何稱呼您"
class=
"col"
lazy-rules
:rules=
"[ val => val && val.length > 0 || '請填寫您的稱呼']"
/>
...
...
@@ -34,6 +34,7 @@
<
script
>
export
default
{
props
:
[
"TCID"
],
data
()
{
return
{
params
:
{
...
...
@@ -42,31 +43,56 @@
EMail
:
""
,
Remarks
:
""
,
RB_Group_Id
:
0
,
CreateBy
:
0
,
TCID
:
0
,
}
};
},
methods
:
{
onSubmit
()
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
params
.
RB_Group_Id
=
jObj
.
GroupId
;
this
.
apipost
(
"ws_post_SetService"
,
this
.
params
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
params
.
Name
=
''
;
this
.
params
.
Mobile
=
''
;
this
.
params
.
EMail
=
''
;
this
.
params
.
Remarks
=
''
;
this
.
$q
.
notify
({
color
:
"green-4"
,
textColor
:
"white"
,
icon
:
"cloud_done"
,
message
:
"提交成功"
});
}
},
err
=>
{}
);
if
(
localStorage
.
b2bUser
)
{
var
b2bUser
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'b2bUser'
))
if
(
b2bUser
)
{
this
.
params
.
CreateBy
=
b2bUser
.
accountId
;
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
params
.
RB_Group_Id
=
jObj
.
GroupId
;
this
.
params
.
TCID
=
this
.
TCID
;
this
.
apipost
(
"ws_post_SetService"
,
this
.
params
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
params
.
Name
=
''
;
this
.
params
.
Mobile
=
''
;
this
.
params
.
EMail
=
''
;
this
.
params
.
Remarks
=
''
;
this
.
$q
.
notify
({
color
:
"green-4"
,
textColor
:
"white"
,
icon
:
"cloud_done"
,
message
:
"提交成功"
});
}
},
err
=>
{}
);
}
else
{
this
.
$q
.
notify
({
color
:
"green-4"
,
textColor
:
"white"
,
icon
:
"cloud_done"
,
message
:
"请登录后再提交需求单"
});
this
.
CommonJump
(
'/login'
,
{});
}
}
else
{
this
.
$q
.
notify
({
color
:
"green-4"
,
textColor
:
"white"
,
icon
:
"cloud_done"
,
message
:
"请登录后再提交需求单"
});
this
.
CommonJump
(
'/login'
,
{});
}
}
}
};
...
...
src/pages/About.vue
View file @
92f5afbb
...
...
@@ -24,7 +24,7 @@
<paragraph
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==4"
:plugData=
"item.plugData"
></paragraph>
<photo
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==5"
:plugData=
"item.plugData"
></photo>
<!--待完善-->
<diyForm
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==6"
:plugData=
"item.plugData"
>
</diyForm>
<diyForm
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==6"
:plugData=
"item.plugData"
:TCID=
"0"
>
</diyForm>
<!--自訂版型(背景圖)white_label_background_article-->
<bgArticleLeft
v-if=
"item.Id=='white_label_background_article'&&item.plugData.Type==1"
...
...
src/pages/Index.vue
View file @
92f5afbb
...
...
@@ -24,7 +24,7 @@
<paragraph
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==4"
:plugData=
"item.plugData"
></paragraph>
<photo
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==5"
:plugData=
"item.plugData"
></photo>
<!--待完善-->
<diyForm
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==6"
:plugData=
"item.plugData"
>
</diyForm>
<diyForm
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==6"
:plugData=
"item.plugData"
:TCID=
"0"
>
</diyForm>
<!--自訂版型(背景圖)white_label_background_article-->
<bgArticleLeft
v-if=
"item.Id=='white_label_background_article'&&item.plugData.Type==1"
...
...
src/pages/details.vue
View file @
92f5afbb
...
...
@@ -117,7 +117,7 @@
<!-- 注意事项 -->
<headStyle5
v-if=
"item.Id=='Notice'"
id=
"note"
ref=
"note"
:dataList=
"dataList"
:key=
"index+600"
></headStyle5>
<!-- 需求单 -->
<diyForm
v-if=
"item.Id=='Order'"
:key=
"index+700"
></diyForm>
<diyForm
v-if=
"item.Id=='Order'"
:key=
"index+700"
:TCID=
"msg.tcid"
></diyForm>
</
template
>
</template>
<div
class=
"quick-banner-block"
v-if=
"isShowNav"
:class=
"{'orange':TripConfig.TripConfig.TripBottonStyle==1
...
...
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