Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
22575eb7
Commit
22575eb7
authored
Oct 21, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务测试重构
parent
45763fa1
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
858 additions
and
97 deletions
+858
-97
src/assets/css/index.css
src/assets/css/index.css
+2
-2
src/components/general/upload_file.vue
src/components/general/upload_file.vue
+24
-7
src/components/menu.vue
src/components/menu.vue
+1
-1
src/components/shop-cloud/shop-cloud.vue
src/components/shop-cloud/shop-cloud.vue
+11
-1
src/pages/service_shop/shop_list.vue
src/pages/service_shop/shop_list.vue
+0
-20
src/pages/workbench/fwzc_fwcs.vue
src/pages/workbench/fwzc_fwcs.vue
+820
-66
No files found.
src/assets/css/index.css
View file @
22575eb7
...
@@ -475,8 +475,8 @@ border-radius:8px;
...
@@ -475,8 +475,8 @@ border-radius:8px;
}
}
/* 单选激活样式 */
/* 单选激活样式 */
.el-radio__input.is-checked
.el-radio__inner
{
.el-radio__input.is-checked
.el-radio__inner
{
border-color
:
#
838383
;
border-color
:
#
e3e5ef
;
background-color
:
#f
ff
;
background-color
:
#f
7f8f9
;
}
}
.el-radio__input.is-checked
+
.el-radio__label
{
.el-radio__input.is-checked
+
.el-radio__label
{
color
:
#1a2236
;
color
:
#1a2236
;
...
...
src/components/general/upload_file.vue
View file @
22575eb7
...
@@ -14,28 +14,34 @@
...
@@ -14,28 +14,34 @@
class=
"eeupload"
class=
"eeupload"
action=
"/apaas/static/image/upload"
action=
"/apaas/static/image/upload"
:file-list=
"fileArray"
:file-list=
"fileArray"
:list-type=
"type
=='picture'?'picture-card':
''"
:list-type=
"type
== 'picture' ? 'picture-card' :
''"
:limit=
"max"
:limit=
"max"
:multiple=
"multiple"
:multiple=
"multiple"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:on-success=
"handleAvatarSuccess"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
:before-upload=
"beforeAvatarUpload"
:class=
"
{
hide:hideUpload || readOnly
}"
:class=
"
{
hide: hideUpload || readOnly
}"
:readOnly="readOnly"
:readOnly="readOnly"
:data="anotherData"
:data="anotherData"
:drag="drag"
:drag="drag"
:disabled="disabled"
:disabled="disabled"
:accept="accepts"
>
>
<div
v-if=
"drag"
>
<div
v-if=
"drag"
>
<i
class=
"el-icon-upload"
></i>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<span
class=
"up_fz"
>
将文件拖到此处,或
</span>
<em>
点击上传
</em>
<em>
点击上传
</em><br
/>
<span
class=
"up_fz"
>
{{
up_fz
}}
</span>
</div>
</div>
</div>
</div>
<el-button
size=
"small"
type=
"primary"
v-if=
"!drag && type=='default'"
>
上传文件
</el-button>
<el-button
size=
"small"
type=
"primary"
v-if=
"!drag && type == 'default'"
<div
slot=
"tip"
class=
"el-upload__tip"
v-if=
"!drag && type=='mp3'"
>
支持文件格式:.mp3,单个文件不能超过20M。
</div>
>
上传文件
</el-button
<i
class=
"el-icon-plus"
v-if=
"!drag && type=='picture'"
></i>
>
<div
slot=
"tip"
class=
"el-upload__tip"
v-if=
"!drag && type == 'mp3'"
>
支持文件格式:.mp3,单个文件不能超过20M。
</div>
<i
class=
"el-icon-plus"
v-if=
"!drag && type == 'picture'"
></i>
</el-upload>
</el-upload>
</div>
</div>
</div>
</div>
...
@@ -97,6 +103,14 @@ export default {
...
@@ -97,6 +103,14 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
default
:
false
,
},
},
up_fz
:
{
type
:
String
,
default
:
""
,
},
accepts
:
{
type
:
String
,
default
:
""
,
},
},
},
watch
:
{
watch
:
{
list
(
value
)
{
list
(
value
)
{
...
@@ -217,4 +231,7 @@ export default {
...
@@ -217,4 +231,7 @@ export default {
.hide
.el-upload--picture-card
{
.hide
.el-upload--picture-card
{
display
:
none
;
display
:
none
;
}
}
.up_fz
{
color
:
#a9aec0
;
}
</
style
>
</
style
>
\ No newline at end of file
src/components/menu.vue
View file @
22575eb7
...
@@ -254,7 +254,7 @@ export default {
...
@@ -254,7 +254,7 @@ export default {
if
(
v
.
visit_url
)
{
if
(
v
.
visit_url
)
{
if
(
v
.
visit_url
==
"
/fwgl/
"
||
v
.
visit_url
==
"
/yygl/
"
)
{
if
(
v
.
visit_url
==
"
/fwgl/
"
||
v
.
visit_url
==
"
/yygl/
"
)
{
this
.
$router
.
push
(
v
.
visit_url
+
this
.
$store
.
getters
.
level
);
this
.
$router
.
push
(
v
.
visit_url
+
this
.
$store
.
getters
.
level
);
}
else
if
(
parent
==
"
/shop
"
)
{
}
else
if
(
parent
==
"
/s
ervices_s
hop
"
)
{
this
.
$store
.
commit
(
"
serviceShopMenuAct
"
,
v
.
visit_url
);
this
.
$store
.
commit
(
"
serviceShopMenuAct
"
,
v
.
visit_url
);
this
.
$router
.
push
(
v
.
visit_url
);
this
.
$router
.
push
(
v
.
visit_url
);
}
else
{
}
else
{
...
...
src/components/shop-cloud/shop-cloud.vue
View file @
22575eb7
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"2
2
"
>
<el-col
:span=
"2
4
"
>
<el-form-item
class=
"form_item"
>
<el-form-item
class=
"form_item"
>
<div
class=
"form_item_title"
>
申请文件:
</div>
<div
class=
"form_item_title"
>
申请文件:
</div>
<info-list
:list_arr=
"docTemplate"
class=
"doc_template"
></info-list>
<info-list
:list_arr=
"docTemplate"
class=
"doc_template"
></info-list>
...
@@ -234,6 +234,7 @@
...
@@ -234,6 +234,7 @@
:readOnly=
"false"
:readOnly=
"false"
:drag=
"true"
:drag=
"true"
@
getNewList=
"getNewList"
@
getNewList=
"getNewList"
class=
"up_f"
></upload-file>
></upload-file>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -1549,6 +1550,9 @@ export default {
...
@@ -1549,6 +1550,9 @@ export default {
.
doc_template
{
.
doc_template
{
margin
:
0
0
10
px
20
px
;
margin
:
0
0
10
px
20
px
;
}
}
.
up_f
{
width
:
calc
(
50
%
-
10
px
);
}
<
/style
>
<
/style
>
<
style
>
<
style
>
.
form_block
.
el
-
input
.
el
-
input__inner
{
.
form_block
.
el
-
input
.
el
-
input__inner
{
...
@@ -1668,4 +1672,10 @@ export default {
...
@@ -1668,4 +1672,10 @@ export default {
padding
-
left
:
15
px
;
padding
-
left
:
15
px
;
padding
-
right
:
40
px
;
padding
-
right
:
40
px
;
}
}
.
up_f
.
el
-
upload
{
width
:
100
%
;
}
.
up_f
.
el
-
upload
-
dragger
{
width
:
100
%
;
}
<
/style
>
<
/style
>
src/pages/service_shop/shop_list.vue
View file @
22575eb7
...
@@ -6,31 +6,11 @@
...
@@ -6,31 +6,11 @@
</el-aside>
</el-aside>
<el-main>
<el-main>
<service-list
<service-list
v-show=
"urlFilter != '7' && urlFilter != '10'"
:filterNames=
"filterNames"
:filterNames=
"filterNames"
:name=
"name"
:name=
"name"
:url=
"url"
:url=
"url"
:urlFilter=
"urlFilter"
:urlFilter=
"urlFilter"
></service-list>
></service-list>
<div
v-show=
"urlFilter == '7' || urlFilter == '10'"
>
<el-breadcrumb
separator=
"/"
class=
"bread_crumb1 bread_left"
>
<el-breadcrumb-item
:to=
"
{ path: '/shop' }">
{{
$t
(
"
lang.service_shop
"
)
}}
</el-breadcrumb-item>
<el-breadcrumb-item>
{{
name
}}
</el-breadcrumb-item>
</el-breadcrumb>
<BlockRadius
class=
"default"
>
<div
class=
"default_img"
>
<h1
class=
"default_title"
>
开发中,敬请期待!
</h1>
<h3
class=
"default_msg"
>
如需技术支持
<br
/>
请联系管理员
</h3>
</div>
</BlockRadius>
</div>
</el-main>
</el-main>
</el-container>
</el-container>
</div>
</div>
...
...
src/pages/workbench/fwzc_fwcs.vue
View file @
22575eb7
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