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
e88443b3
Commit
e88443b3
authored
May 06, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改upload-cropper无图片显示
parent
92649244
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
270 additions
and
158 deletions
+270
-158
src/components/table-um.vue
src/components/table-um.vue
+1
-1
src/components/upload_file.vue
src/components/upload_file.vue
+1
-1
src/pages/fwzc_fwcs.vue
src/pages/fwzc_fwcs.vue
+267
-155
src/pages/index.vue
src/pages/index.vue
+1
-1
No files found.
src/components/table-um.vue
View file @
e88443b3
...
@@ -758,7 +758,7 @@ em {
...
@@ -758,7 +758,7 @@ em {
width
:
66px
;
width
:
66px
;
}
}
.table_radius
{
.table_radius
{
border-radius
:
10
px
;
border-radius
:
8
px
;
}
}
.overlit
{
.overlit
{
overflow
:
hidden
;
overflow
:
hidden
;
...
...
src/components/upload_file.vue
View file @
e88443b3
<
template
>
<
template
>
<div>
<div>
<div
v-if=
"type != 'copper'"
>
<div
v-if=
"type != 'c
r
opper'"
>
<el-upload
<el-upload
action=
"ssurl"
action=
"ssurl"
:file-list=
"fileArray"
:file-list=
"fileArray"
...
...
src/pages/fwzc_fwcs.vue
View file @
e88443b3
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
<el-breadcrumb-item
v-else
:to=
"
{ path: '/fwzc' }">服务测试
</el-breadcrumb-item>
<el-breadcrumb-item
v-else
:to=
"
{ path: '/fwzc' }">服务测试
</el-breadcrumb-item>
<el-breadcrumb-item
v-if=
"jcxxtx"
>
基础信息填写
</el-breadcrumb-item>
<el-breadcrumb-item
v-if=
"jcxxtx"
>
基础信息填写
</el-breadcrumb-item>
</el-breadcrumb>
</el-breadcrumb>
<div
v-if=
"!jcxxtx"
>
<block-radius>
<block-radius>
<el-row>
<el-row>
<el-button
<el-button
...
@@ -39,7 +40,11 @@
...
@@ -39,7 +40,11 @@
></el-option>
></el-option>
</el-select>
</el-select>
</el-input>
</el-input>
<el-button
v-if=
"activeBtn == 0 || activeBtn == 4"
@
click=
"clickFwcs()"
class=
"fwcs_btn_fwcs"
>
服务测试
</el-button>
<el-button
v-if=
"activeBtn == 0 || activeBtn == 4"
@
click=
"clickFwcs()"
class=
"fwcs_btn_fwcs"
>
服务测试
</el-button>
</div>
</div>
<div
v-if=
"activeBtn == 0"
>
<div
v-if=
"activeBtn == 0"
>
<el-tabs
v-model=
"activeName"
class=
"fwcs_tabs"
@
tab-click=
"clickTab"
>
<el-tabs
v-model=
"activeName"
class=
"fwcs_tabs"
@
tab-click=
"clickTab"
>
...
@@ -168,17 +173,86 @@
...
@@ -168,17 +173,86 @@
</div>
</div>
</block-radius>
</block-radius>
</div>
</div>
<div
v-else
>
<block-radius>
<div
class=
"fwcs_add"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"0px"
>
<el-form-item>
<p
class=
"formname"
>
服务名称:
</p>
<el-input
v-model=
"form.name"
placeholder=
"请输入服务名称,不超过15个字"
class=
"form_in"
></el-input>
</el-form-item>
<el-form-item>
<p
class=
"formname"
>
服务描述:
</p>
<el-input
type=
"textarea"
v-model=
"form.desc"
placeholder=
"请输入服务描述,不超过200个字"
></el-input>
</el-form-item>
<el-form-item>
<p
class=
"formname"
>
服务领域:
</p>
<el-select
v-model=
"form.area"
placeholder=
"请选择"
>
<el-option
v-for=
"item in optionsArea"
:key=
"'area' + item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
<p
class=
"formname"
>
所属组织:
</p>
<el-select
v-model=
"form.origin"
placeholder=
"请选择"
>
<el-option
v-for=
"item in optionsOrganization"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
<p
class=
"formname"
>
服务封面:
</p>
<upload-file
:multiple=
"false"
:max=
"1"
type=
"cropper"
:readOnly=
"false"
:list=
"imgList"
@
getNewList=
"getNewList"
></upload-file>
</el-form-item>
<el-form-item>
<p
class=
"formname"
>
接口编码:
</p>
<el-input
v-model=
"form.code"
></el-input>
</el-form-item>
<el-form-item>
<p
class=
"formname"
>
开放程度:
</p>
<el-radio-group
v-model=
"form.resource"
>
<el-radio
label=
"共享"
></el-radio>
<el-radio
label=
"受限"
></el-radio>
<el-radio
label=
"敏感"
></el-radio>
</el-radio-group>
</el-form-item>
<el-form-item>
<el-button>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</el-button>
</el-form-item>
</el-form>
</div>
</block-radius>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
BlockRadius
from
"
@/components/block-radius
"
;
import
BlockRadius
from
"
@/components/block-radius
"
;
import
CesTable
from
"
@/components/table-um
"
;
import
CesTable
from
"
@/components/table-um
"
;
import
Codes
from
"
@/components/codes
"
;
import
Codes
from
"
@/components/codes
"
;
import
uploadFile
from
"
../components/upload_file
"
;
export
default
{
export
default
{
components
:
{
components
:
{
BlockRadius
,
BlockRadius
,
CesTable
,
CesTable
,
"
v-apaas-code
"
:
Codes
"
v-apaas-code
"
:
Codes
,
uploadFile
},
},
data
:
()
=>
({
data
:
()
=>
({
btnList
:
[
btnList
:
[
...
@@ -246,10 +320,33 @@ export default {
...
@@ -246,10 +320,33 @@ export default {
{
label
:
"
模型算法类
"
,
value
:
0
},
{
label
:
"
模型算法类
"
,
value
:
0
},
{
label
:
"
查询验证类
"
,
value
:
1
},
{
label
:
"
查询验证类
"
,
value
:
1
},
{
label
:
"
流程类
"
,
value
:
2
},
{
label
:
"
流程类
"
,
value
:
2
},
{
label
:
"
应用类
"
,
value
:
3
}
,
{
label
:
"
应用类
"
,
value
:
3
}
],
],
zhyyVal
:
0
,
zhyyVal
:
0
,
jcxxtx
:
false
jcxxtx
:
false
,
form
:
{
name
:
""
,
desc
:
""
,
area
:
""
,
origin
:
""
,
code
:
""
,
resource
:
""
},
imgList
:
[],
optionsArea
:
[
{
label
:
"
经济建设
"
,
value
:
0
},
{
label
:
"
城市管理
"
,
value
:
1
},
{
label
:
"
城市建设
"
,
value
:
2
},
{
label
:
"
道路交通
"
,
value
:
3
},
{
label
:
"
环境资源
"
,
value
:
4
},
{
label
:
"
民生服务
"
,
value
:
5
},
{
label
:
"
空间地理
"
,
value
:
6
},
{
label
:
"
文化休闲
"
,
value
:
7
},
{
label
:
"
社会团体
"
,
value
:
8
},
{
label
:
"
教育机构
"
,
value
:
9
},
{
label
:
"
其他
"
,
value
:
10
}
],
optionsOrganization
:
[]
}),
}),
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{},
...
@@ -268,6 +365,13 @@ export default {
...
@@ -268,6 +365,13 @@ export default {
resetSjfw
()
{},
resetSjfw
()
{},
nextJcxx
()
{
nextJcxx
()
{
this
.
jcxxtx
=
true
;
this
.
jcxxtx
=
true
;
},
// edit form
onSubmit
()
{
console
.
log
(
"
submit!
"
);
},
getNewList
(
val
)
{
console
.
log
(
val
);
}
}
},
},
mounted
()
{}
mounted
()
{}
...
@@ -276,7 +380,10 @@ export default {
...
@@ -276,7 +380,10 @@ export default {
<
style
scoped
>
<
style
scoped
>
.fwcs
{
.fwcs
{
width
:
96vw
;
width
:
1200px
;
margin
:
0
auto
;
margin-top
:
-157px
;
margin-bottom
:
20px
;
}
}
.bread_crumb
{
.bread_crumb
{
margin
:
20px
;
margin
:
20px
;
...
@@ -391,6 +498,11 @@ export default {
...
@@ -391,6 +498,11 @@ export default {
.zhyy_select
{
.zhyy_select
{
width
:
70%
;
width
:
70%
;
}
}
.fwcs_add
.formname
{
color
:
#58617a
;
font-size
:
14px
;
margin-left
:
10px
;
}
</
style
>
</
style
>
<
style
>
<
style
>
.bread_crumb
.el-breadcrumb__inner
{
.bread_crumb
.el-breadcrumb__inner
{
...
...
src/pages/index.vue
View file @
e88443b3
<
template
>
<
template
>
<div
class=
"index_container"
>
<div
class=
"index_container"
>
<div
class=
"decor"
v-if=
"$route.fullPath == '/workplace'"
></div>
<div
class=
"decor"
v-if=
"$route.fullPath == '/workplace'
|| $route.fullPath == '/fwzc/fwcs'
"
></div>
<router-view/>
<router-view/>
</div>
</div>
</
template
>
</
template
>
...
...
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