Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 74c3c37e
authored
May 31, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改搜索框
1 parent
c2f714fc
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
49 additions
and
51 deletions
src/components/search-form/index.vue
src/styles/common.scss
src/views/dictionaryManage/dictionaryData/index.vue
src/views/dictionaryManage/index.vue
src/views/menuManage/index.vue
src/views/orginizaManage/index.vue
src/views/role/index.vue
src/views/user/index.vue
src/components/search-form/index.vue
View file @
74c3c37
...
...
@@ -49,11 +49,8 @@
</template>
</el-form-item>
<el-form-item>
<
template
name=
"form-slot"
slot-scope=
"scope"
>
<slot
:scope=
"scope"
>
<
template
>
<slot
name=
"form-slot"
>
</slot>
</
template
>
</el-form-item>
...
...
@@ -86,7 +83,7 @@ export default {
.el-form-item
{
display
:
inline-block
;
//
float
:
left
;
width
:
50%
;
width
:
calc
(
50%
-
20px
)
;
max-width
:
420px
;
margin-right
:
18px
;
}
...
...
src/styles/common.scss
View file @
74c3c37
.inline-b
{
display
:
inline-block
;
}
.table-btn
{
margin-bottom
:
20px
;
}
...
...
src/views/dictionaryManage/dictionaryData/index.vue
View file @
74c3c37
...
...
@@ -6,7 +6,10 @@
:formModel=
"searchForm"
:formList=
"dictDataFormList"
>
<slot
name=
"form-slot"
>
<span
class=
"inline-b"
slot=
"form-slot"
>
<el-button
type=
"primary"
:size=
"btn_size"
...
...
@@ -19,7 +22,7 @@
icon=
"el-icon-refresh"
@
click=
"refresh"
>
重置
</el-button>
</s
lot
>
</s
pan
>
</search-form>
<div
class=
"table-btn"
>
<el-button
...
...
@@ -53,9 +56,8 @@
<el-button
v-for=
"(j, idx) in tableParams.tableOption.btnList"
:key=
"idx"
:type=
"j.type"
size=
"mini"
plain
:type=
"j.type || 'text'"
:size=
"btn_size"
@
click=
"btnClick(j.pType, scope.scope)"
>
{{
j
.
name
}}
</el-button>
</span>
...
...
@@ -163,12 +165,10 @@ export default {
width
:
200
,
btnList
:
[
{
type
:
'primary'
,
name
:
'编辑'
,
pType
:
'edit'
},
{
type
:
'danger'
,
name
:
'删除'
,
pType
:
'delete'
}
...
...
src/views/dictionaryManage/index.vue
View file @
74c3c37
...
...
@@ -6,7 +6,10 @@
:formModel=
"searchForm"
:formList=
"dictionaryFormList"
>
<slot
name=
"form-slot"
>
<span
class=
"inline-b"
slot=
"form-slot"
>
<el-button
type=
"primary"
:size=
"btn_size"
...
...
@@ -19,7 +22,7 @@
icon=
"el-icon-refresh"
@
click=
"refresh "
>
重置
</el-button>
</s
lot
>
</s
pan
>
</search-form>
<div
class=
"table-btn"
>
<el-button
...
...
@@ -53,9 +56,8 @@
<el-button
v-for=
"(j, idx) in tableParams.tableOption.btnList"
:key=
"idx"
:type=
"j.type"
size=
"mini"
plain
:type=
"j.type || 'text'"
:size=
"btn_size"
@
click=
"btnClick(j.pType, scope.scope)"
>
{{
j
.
name
}}
</el-button>
</span>
...
...
@@ -155,17 +157,14 @@ export default {
width
:
250
,
btnList
:
[
{
type
:
'primary'
,
name
:
'列表'
,
pType
:
'list'
},
{
type
:
'primary'
,
name
:
'编辑'
,
pType
:
'edit'
},
{
type
:
'danger'
,
name
:
'删除'
,
pType
:
'delete'
}
...
...
src/views/menuManage/index.vue
View file @
74c3c37
...
...
@@ -6,7 +6,10 @@
:formModel=
"searchForm"
:formList=
"menuFormList"
>
<slot
name=
"form-slot"
>
<span
class=
"inline-b"
slot=
"form-slot"
>
<el-button
type=
"primary"
:size=
"btn_size"
...
...
@@ -19,7 +22,7 @@
icon=
"el-icon-refresh"
@
click=
"refresh"
>
重置
</el-button>
</s
lot
>
</s
pan
>
</search-form>
<div
class=
"table-btn"
>
<el-button
...
...
@@ -77,9 +80,8 @@
<el-button
v-for=
"(j, idx) in tableParams.tableOption.btnList"
:key=
"idx"
:type=
"j.type"
size=
"mini"
plain
:type=
"j.type || 'text'"
:size=
"btn_size"
@
click=
"btnClick(j.pType, scope.row)"
>
{{
j
.
name
}}
</el-button>
</
template
>
...
...
@@ -188,17 +190,14 @@ export default {
tableOption
:
{
btnList
:
[
{
type
:
'primary'
,
name
:
'新增'
,
pType
:
'btnCreate'
},
{
type
:
'primary'
,
name
:
'编辑'
,
pType
:
'edit'
},
{
type
:
'danger'
,
name
:
'删除'
,
pType
:
'delete'
}
...
...
src/views/orginizaManage/index.vue
View file @
74c3c37
...
...
@@ -6,7 +6,10 @@
:formModel=
"searchForm"
:formList=
"orginizaFormList"
>
<slot
name=
"form-slot"
>
<span
class=
"inline-b"
slot=
"form-slot"
>
<el-button
type=
"primary"
:size=
"btn_size"
...
...
@@ -19,7 +22,7 @@
icon=
"el-icon-refresh"
@
click=
"refresh"
>
重置
</el-button>
</s
lot
>
</s
pan
>
</search-form>
<div
class=
"table-btn"
>
<el-button
...
...
@@ -74,9 +77,8 @@
<el-button
v-for=
"(j, idx) in tableParams.tableOption.btnList"
:key=
"idx"
:type=
"j.type"
size=
"mini"
plain
:type=
"j.type || 'text'"
:size=
"btn_size"
@
click=
"btnClick(j.pType, scope.row)"
>
{{
j
.
name
}}
</el-button>
</
template
>
...
...
@@ -155,17 +157,14 @@ export default {
tableOption
:
{
btnList
:
[
{
type
:
'primary'
,
name
:
'新增'
,
pType
:
'create'
},
{
type
:
'primary'
,
name
:
'编辑'
,
pType
:
'edit'
},
{
type
:
'danger'
,
name
:
'删除'
,
pType
:
'delete'
}
...
...
src/views/role/index.vue
View file @
74c3c37
...
...
@@ -6,7 +6,10 @@
:formModel=
"searchForm"
:formList=
"roleFormList"
>
<slot
name=
"form-slot"
>
<span
class=
"inline-b"
slot=
"form-slot"
>
<el-button
type=
"primary"
:size=
"btn_size"
...
...
@@ -19,7 +22,7 @@
icon=
"el-icon-refresh"
@
click=
"refresh"
>
重置
</el-button>
</s
lot
>
</s
pan
>
</search-form>
<div
class=
"table-btn"
>
<el-button
...
...
@@ -53,9 +56,8 @@
<el-button
v-for=
"(j, idx) in tableParams.tableOption.btnList"
:key=
"idx"
:type=
"j.type"
size=
"mini"
plain
:type=
"j.type || 'text'"
:size=
"btn_size"
@
click=
"btnClick(j.pType, scope.scope)"
>
{{
j
.
name
}}
</el-button>
</span>
...
...
@@ -166,12 +168,10 @@ export default {
width
:
300
,
btnList
:
[
{
type
:
'primary'
,
name
:
'编辑'
,
pType
:
'edit'
},
{
type
:
'danger'
,
name
:
'删除'
,
pType
:
'delete'
}
...
...
src/views/user/index.vue
View file @
74c3c37
...
...
@@ -26,7 +26,10 @@
:formModel=
"searchForm"
:formList=
"userFormList"
>
<slot
name=
"form-slot"
>
<span
class=
"inline-b"
slot=
"form-slot"
>
<el-button
type=
"primary"
:size=
"btn_size"
...
...
@@ -39,7 +42,7 @@
icon=
"el-icon-refresh"
@
click=
"refresh"
>
重置
</el-button>
</s
lot
>
</s
pan
>
</search-form>
<div
class=
"table-btn"
>
<el-button
...
...
@@ -73,9 +76,8 @@
<el-button
v-for=
"(j, idx) in tableParams.tableOption.btnList"
:key=
"idx"
:type=
"j.type"
size=
"mini"
plain
:type=
"j.type || 'text'"
:size=
"btn_size"
@
click=
"btnClick(j.pType, scope.scope)"
>
{{
j
.
name
}}
</el-button>
</span>
...
...
@@ -194,12 +196,10 @@ export default {
tableOption
:
{
btnList
:
[
{
type
:
'primary'
,
name
:
'编辑'
,
pType
:
'edit'
},
{
type
:
'danger'
,
name
:
'删除'
,
pType
:
'delete'
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment