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 @@
...
@@ -2,7 +2,7 @@
<div
class=
"q-mt-lg"
>
<div
class=
"q-mt-lg"
>
<div
class=
"form1 section-block"
>
<div
class=
"form1 section-block"
>
<h2
class=
"block-title q-mb-lg"
>
專人服務
</h2>
<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"
>
<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
<q-input
filled
v-model=
"params.Name"
label=
"如何稱呼您"
class=
"col"
lazy-rules
:rules=
"[ val => val && val.length > 0 || '請填寫您的稱呼']"
/>
:rules=
"[ val => val && val.length > 0 || '請填寫您的稱呼']"
/>
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
"TCID"
],
data
()
{
data
()
{
return
{
return
{
params
:
{
params
:
{
...
@@ -42,31 +43,56 @@
...
@@ -42,31 +43,56 @@
EMail
:
""
,
EMail
:
""
,
Remarks
:
""
,
Remarks
:
""
,
RB_Group_Id
:
0
,
RB_Group_Id
:
0
,
CreateBy
:
0
,
TCID
:
0
,
}
}
};
};
},
},
methods
:
{
methods
:
{
onSubmit
()
{
onSubmit
()
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
if
(
localStorage
.
b2bUser
)
{
this
.
params
.
RB_Group_Id
=
jObj
.
GroupId
;
var
b2bUser
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'b2bUser'
))
this
.
apipost
(
if
(
b2bUser
)
{
"ws_post_SetService"
,
this
.
params
,
this
.
params
.
CreateBy
=
b2bUser
.
accountId
;
res
=>
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
params
.
RB_Group_Id
=
jObj
.
GroupId
;
this
.
params
.
Name
=
''
;
this
.
params
.
TCID
=
this
.
TCID
;
this
.
params
.
Mobile
=
''
;
this
.
apipost
(
this
.
params
.
EMail
=
''
;
"ws_post_SetService"
,
this
.
params
,
this
.
params
.
Remarks
=
''
;
res
=>
{
this
.
$q
.
notify
({
if
(
res
.
data
.
resultCode
==
1
)
{
color
:
"green-4"
,
this
.
params
.
Name
=
''
;
textColor
:
"white"
,
this
.
params
.
Mobile
=
''
;
icon
:
"cloud_done"
,
this
.
params
.
EMail
=
''
;
message
:
"提交成功"
this
.
params
.
Remarks
=
''
;
});
this
.
$q
.
notify
({
}
color
:
"green-4"
,
},
textColor
:
"white"
,
err
=>
{}
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 @@
...
@@ -24,7 +24,7 @@
<paragraph
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==4"
:plugData=
"item.plugData"
></paragraph>
<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>
<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-->
<!--自訂版型(背景圖)white_label_background_article-->
<bgArticleLeft
v-if=
"item.Id=='white_label_background_article'&&item.plugData.Type==1"
<bgArticleLeft
v-if=
"item.Id=='white_label_background_article'&&item.plugData.Type==1"
...
...
src/pages/Index.vue
View file @
92f5afbb
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<paragraph
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==4"
:plugData=
"item.plugData"
></paragraph>
<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>
<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-->
<!--自訂版型(背景圖)white_label_background_article-->
<bgArticleLeft
v-if=
"item.Id=='white_label_background_article'&&item.plugData.Type==1"
<bgArticleLeft
v-if=
"item.Id=='white_label_background_article'&&item.plugData.Type==1"
...
...
src/pages/details.vue
View file @
92f5afbb
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
<!-- 注意事项 -->
<!-- 注意事项 -->
<headStyle5
v-if=
"item.Id=='Notice'"
id=
"note"
ref=
"note"
:dataList=
"dataList"
:key=
"index+600"
></headStyle5>
<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
>
</template>
</template>
<div
class=
"quick-banner-block"
v-if=
"isShowNav"
:class=
"{'orange':TripConfig.TripConfig.TripBottonStyle==1
<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