Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
6f7b2dfd
Commit
6f7b2dfd
authored
Sep 15, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
techoloegy
parent
2ab2fbcc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
114 additions
and
150 deletions
+114
-150
dictionary.vue
components/page/dictionary.vue
+112
-149
index.vue
pages/import/index.vue
+1
-1
index.vue
pages/technology/details/routingsupporting/index.vue
+1
-0
No files found.
components/page/dictionary.vue
View file @
6f7b2dfd
<
template
>
<
template
>
<div>
<div>
<RadioGroup
<RadioGroup
v-if=
"type === 'radio'"
ref=
"dicradio"
v-model=
"name"
@
on-change=
"change"
:vertical=
"vertical"
>
v-if=
"type === 'radio'"
<Radio
v-for=
"(item, index) in dic"
:disabled=
"item.disabled"
:label=
"item.value"
:key=
"index"
:border=
"border"
>
ref=
"dicradio"
v-model=
"name"
@
on-change=
"change"
:vertical=
"vertical"
>
<Radio
v-for=
"(item, index) in dic"
:disabled=
"item.disabled"
:label=
"item.value"
:key=
"index"
:border=
"border"
>
<span
:title=
"item.value"
>
{{
item
.
label
}}
</span>
<span
:title=
"item.value"
>
{{
item
.
label
}}
</span>
</Radio>
</Radio>
</RadioGroup>
</RadioGroup>
<CheckboxGroup
<CheckboxGroup
v-else-if=
"type === 'checkbox'"
ref=
"dicradio"
v-model=
"name"
@
on-change=
"change"
:vertical=
"vertical"
>
v-else-if=
"type === 'checkbox'"
<Checkbox
v-for=
"(item, index) in dic"
:disabled=
"item.disabled"
:label=
"item.value"
:key=
"index"
:border=
"border"
>
ref=
"dicradio"
v-model=
"name"
@
on-change=
"change"
:vertical=
"vertical"
>
<Checkbox
v-for=
"(item, index) in dic"
:disabled=
"item.disabled"
:label=
"item.value"
:key=
"index"
:border=
"border"
>
<span
:title=
"item.value"
>
{{
item
.
label
}}
</span>
<span
:title=
"item.value"
>
{{
item
.
label
}}
</span>
</Checkbox>
</Checkbox>
</CheckboxGroup>
</CheckboxGroup>
<Select
<Select
v-else
:placeholder=
"placeholder"
v-model=
"name"
@
on-change=
"change"
:disabled=
"disabled"
:multiple=
"multiple"
clearable
:transfer=
"true"
>
v-else
<Option
v-for=
"(item, i) in dic"
:value=
"item.value"
:disabled=
"item.disabled"
:key=
"item.value"
:label=
"item.label"
>
:placeholder=
"placeholder"
v-model=
"name"
@
on-change=
"change"
:disabled=
"disabled"
:multiple=
"multiple"
clearable
:transfer=
"true"
>
<Option
v-for=
"(item, i) in dic"
:value=
"item.value"
:disabled=
"item.disabled"
:key=
"item.value"
:label=
"item.label"
>
<span
:title=
"item.value"
>
{{
item
.
label
}}
</span>
<span
:title=
"item.value"
>
{{
item
.
label
}}
</span>
</Option>
</Option>
</Select>
</Select>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
model
:
{
model
:
{
...
@@ -74,7 +36,7 @@ export default {
...
@@ -74,7 +36,7 @@ export default {
type
:
String
,
type
:
String
,
default
:
"Select"
default
:
"Select"
},
},
border
:
{
//radio可以选择border属性
border
:
{
//radio可以选择border属性
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
},
},
...
@@ -165,6 +127,7 @@ export default {
...
@@ -165,6 +127,7 @@ export default {
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
.w200 {
.w200 {
width: 200px;
width: 200px;
...
...
pages/import/index.vue
View file @
6f7b2dfd
<
template
>
<
template
>
<div
class=
"h100"
>
<div
class=
"h100"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
exportTitle=
"导入中心"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
>
<template
slot=
"easySearch"
>
<template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<FormItem
prop=
"keys"
>
<FormItem
prop=
"keys"
>
...
...
pages/technology/details/routingsupporting/index.vue
View file @
6f7b2dfd
...
@@ -390,6 +390,7 @@ export default {
...
@@ -390,6 +390,7 @@ export default {
extend
:
""
,
extend
:
""
,
remark
:
""
,
remark
:
""
,
drawNum
:
ele
.
drawNum
?
ele
.
drawNum
:
""
,
drawNum
:
ele
.
drawNum
?
ele
.
drawNum
:
""
,
json
:
{}
};
};
if
(
ele
.
routingDetailId
&&
ele
.
routingDetailId
!=
null
)
{
if
(
ele
.
routingDetailId
&&
ele
.
routingDetailId
!=
null
)
{
obj
.
ico
=
false
;
obj
.
ico
=
false
;
...
...
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