Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
杨硕
template_vue
Commits
eb3fc0e2
Commit
eb3fc0e2
authored
Aug 02, 2023
by
CenXinYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改字典和出入库记录按钮样式
Signed-off-by:
CenXinYi
<
2810162984@qq.com
>
parent
13e3bd34
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
64 additions
and
100 deletions
+64
-100
index.vue
src/views/processManagement/inventoryRecord/index.vue
+6
-1
index.vue
src/views/sample/inventoryRecord/index.vue
+4
-0
data.vue
src/views/system/dict/data.vue
+29
-54
index.vue
src/views/system/dict/index.vue
+23
-43
index.vue
src/views/system/role/index.vue
+2
-2
No files found.
src/views/processManagement/inventoryRecord/index.vue
View file @
eb3fc0e2
...
...
@@ -536,7 +536,6 @@ export default {
var
fq
=
{
fqYs
,
fqBz
,
fqDbxi
,
fqDd
,
fqMcode
,
fqYy
}
this
.
singleDetails
=
Object
.
assign
({},
{
...
row
},
{
...
fq
})
}
}
)
}
...
...
@@ -593,9 +592,15 @@ export default {
}
}
}
/* TODO: 定义按钮样式 */
.el-button
{
padding
:
8px
7px
;
}
}
}
/* TODO: 专门用来解决el-input边框的问题 */
.aboutSingleDetails
{
.el-form
{
...
...
src/views/sample/inventoryRecord/index.vue
View file @
eb3fc0e2
...
...
@@ -484,6 +484,10 @@ export default {
width
:
180px
}
}
/* TODO: 定义按钮样式 */
.el-button
{
padding
:
8px
7px
;
}
}
}
}
...
...
src/views/system/dict/data.vue
View file @
eb3fc0e2
<
template
>
<div
class=
"app-container"
>
<el-form
v-show=
"showSearch"
ref=
"queryForm"
style=
"
width: 100%
"
:model=
"queryParams"
:inline=
"true"
>
<el-form
v-show=
"showSearch"
ref=
"queryForm"
style=
"
padding: 0 0 0 10px
"
:model=
"queryParams"
:inline=
"true"
>
<el-form-item
label=
"字典名称"
prop=
"dictType"
>
<el-select
v-model=
"queryParams.dictType"
placeholder=
"请选择字典名称"
clearable
size=
"small"
>
<el-option
...
...
@@ -35,50 +35,25 @@
<el-button
type=
"primary"
size=
"small"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
size=
"small"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
<div
style=
"float: right; padding:3px 15px;"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"1.5"
>
<el-button
style=
"padding: 8px 7px;"
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
>
新增
</el-button>
</el-col>
<right-toolbar
:show-search
.
sync=
"showSearch"
@
queryTable=
"getList"
/>
</el-row>
</div>
</el-form>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
>
修改
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
>
删除
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-has-permi=
"['sys:dict:export']"
type=
"warning"
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
>
导出
</el-button>
</el-col>
<right-toolbar
:show-search
.
sync=
"showSearch"
@
queryTable=
"getList"
/>
</el-row>
<div
class=
"placeholder"
/>
<div
style=
"padding:10px"
>
<div
class=
"mb12 font-small-bold"
>
字典参数列表
</div>
<el-table
v-loading=
"loading"
:data=
"dataList"
border
@
selection-change=
"handleSelectionChange"
>
...
...
@@ -138,15 +113,15 @@
type=
"text"
@
click=
"handleDelete(scope.row)"
>
删除
</el-button>
<!--
<el-switch-->
<!-- v-model="scope.row.status"-->
<!-- v-hasPermi="['sys:dictConfig:toggle']"-->
<!-- disabled-->
<!-- class="switchDisabledStyle"-->
<!-- active-value="0"-->
<!-- inactive-value="1"-->
<!-- @click.native="changeStatus(scope.row)"-->
<!-- />-->
<!--
<el-switch-->
<!-- v-model="scope.row.status"-->
<!-- v-hasPermi="['sys:dictConfig:toggle']"-->
<!-- disabled-->
<!-- class="switchDisabledStyle"-->
<!-- active-value="0"-->
<!-- inactive-value="1"-->
<!-- @click.native="changeStatus(scope.row)"-->
<!-- />-->
</
template
>
</el-table-column>
</el-table>
...
...
@@ -196,8 +171,8 @@
</template>
<
script
>
import
{
addData
,
checkDictLabelUnique
,
delData
,
exportData
,
getData
,
listData
,
updateData
}
from
'@/api/system/dict/data'
import
{
getType
,
listType
}
from
'@/api/system/dict/type'
import
{
addData
,
checkDictLabelUnique
,
delData
,
exportData
,
getData
,
listData
,
updateData
}
from
'@/api/system/dict/data'
import
{
getType
,
listType
}
from
'@/api/system/dict/type'
export
default
{
name
:
'Data'
,
...
...
src/views/system/dict/index.vue
View file @
eb3fc0e2
...
...
@@ -67,49 +67,29 @@
>
重置
</el-button>
</el-form-item>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
style=
"padding: 8px 7px;"
type=
"primary"
icon=
"el-icon-plus"
size=
"small"
@
click=
"handleAdd"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
style=
"padding: 8px 7px;"
type=
"success"
icon=
"el-icon-edit"
size=
"small"
:disabled=
"single"
@
click=
"handleUpdate"
>
修改
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
style=
"padding: 8px 7px;"
type=
"danger"
icon=
"el-icon-delete"
size=
"small"
:disabled=
"multiple"
@
click=
"handleDelete"
>
删除
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
style=
"padding: 8px 7px;"
type=
"success"
icon=
"el-icon-download"
size=
"small"
@
click=
"handleExport"
>
导出
</el-button>
</el-col>
<right-toolbar
:show-search
.
sync=
"showSearch"
@
queryTable=
"getList"
/>
</el-row>
<div
style=
"float: right; padding:3px 15px;"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"1.5"
>
<el-button
style=
"padding: 8px 7px;"
type=
"primary"
icon=
"el-icon-plus"
size=
"small"
@
click=
"handleAdd"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
style=
"padding: 8px 7px;"
type=
"success"
icon=
"el-icon-download"
size=
"small"
@
click=
"handleExport"
>
导出
</el-button>
</el-col>
<right-toolbar
:show-search
.
sync=
"showSearch"
@
queryTable=
"getList"
/>
</el-row>
</div>
</el-form>
<div
class=
"placeholder"
/>
<div
style=
"min-height: 445px;padding:10px"
>
...
...
src/views/system/role/index.vue
View file @
eb3fc0e2
...
...
@@ -260,8 +260,8 @@ import {
listRole
,
updateRole
}
from
'@/api/system/role'
import
{
roleMenuTreeselect
,
roleMenuTreeselectMC
,
treeselect
as
menuTreeselect
}
from
'@/api/system/menu'
import
{
roleDeptTreeselect
,
treeselect
as
deptTreeselect
}
from
'@/api/system/dept'
import
{
roleMenuTreeselect
,
roleMenuTreeselectMC
,
treeselect
as
menuTreeselect
}
from
'@/api/system/menu'
import
{
roleDeptTreeselect
,
treeselect
as
deptTreeselect
}
from
'@/api/system/dept'
// import { getRolesByInsId } from '../../../api/businessManage/template'
export
default
{
name
:
'Role'
,
...
...
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