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
dbd692ca
Commit
dbd692ca
authored
Jul 25, 2023
by
刘宇扬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'newprotect' of
http://gitlab.91isoft.com:90/yangshuo/template_vue
into newprotect
parents
dcbb0e6f
21dc8789
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
16 deletions
+32
-16
index.scss
src/styles/index.scss
+2
-0
index.vue
src/views/processManagement/basicProcessManagement/index.vue
+9
-2
index.vue
src/views/production/data/index.vue
+21
-14
No files found.
src/styles/index.scss
View file @
dbd692ca
...
...
@@ -12,8 +12,10 @@ body {
-webkit-font-smoothing
:
antialiased
;
text-rendering
:
optimizeLegibility
;
font-family
:
Microsoft
YaHei
,
Helvetica
Neue
,
Helvetica
,
PingFang
SC
,
Hiragino
Sans
GB
,
Arial
,
sans-serif
;
}
label
{
font-weight
:
700
;
}
...
...
src/views/processManagement/basicProcessManagement/index.vue
View file @
dbd692ca
...
...
@@ -265,7 +265,14 @@ export default {
// 表单重置
reset
()
{
// TODO: 将模拟数据的空对象赋值给表单对象,达成清空填写表单的效果
this
.
form
=
this
.
formReset
this
.
form
=
{
processName
:
''
,
workshop
:
''
,
flag
:
'1'
,
createTime
:
new
Date
(),
updataTime
:
new
Date
(),
createBy
:
''
}
},
/** TODO: 查询按钮操作 */
handleQuery
()
{
...
...
@@ -279,7 +286,7 @@ export default {
/** TODO: 新增按钮操作 */
handleAdd
()
{
// TODO: 初始化新增对话框的状态
this
.
form
=
this
.
formReset
this
.
reset
()
this
.
title
=
'添加工序'
this
.
open
=
!
this
.
open
},
...
...
src/views/production/data/index.vue
View file @
dbd692ca
...
...
@@ -12,7 +12,7 @@
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
查询
</el-button>
</el-form-item>
...
...
@@ -26,7 +26,7 @@
<!-- >新增
</el-button>
-->
<!--
<coolbutton
style=
"padding: 8px 7px;"
:type=
"typePrimary"
:name=
"addName"
:size=
"smallSize"
:icon=
"addIcon"
:haspermi=
"addHaspermi"
@
btn-click=
"handleAdd"
/>
-->
<!--
<el-button-->
<!-- v-hasPermi="['sys:role:export']"-->
<!-- style="padding: 8px 7px;"-->
...
...
@@ -50,41 +50,48 @@
<el-table
v-loading=
"loading"
border
:data=
"roleList"
@
selection-change=
"handleSelectionChange"
>
<!--
<el-table-column
type=
"index"
label=
"序号"
width=
"380"
/>
-->
<el-table-column
label=
"xxx"
prop=
"xxx"
:show-overflow-tooltip=
"true"
width=
"250"
>
<el-table-column
label=
"名称"
prop=
"2222"
:show-overflow-tooltip=
"true"
width=
"222"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
xxx
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
<el-table-column
label=
"
xxx"
prop=
"xxx"
:show-overflow-tooltip=
"true"
width=
"250
"
>
<el-table-column
label=
"
编码"
prop=
"2222"
:show-overflow-tooltip=
"true"
width=
"222
"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
xxx
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
<el-table-column
label=
"
xxx"
prop=
"xxx"
:show-overflow-tooltip=
"true"
width=
"250
"
>
<el-table-column
label=
"
lot"
prop=
"xxx"
:show-overflow-tooltip=
"true"
width=
"222
"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
xxx
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
xxx"
prop=
"xxx"
:show-overflow-tooltip=
"true"
width=
"250
"
>
<el-table-column
label=
"
位置"
prop=
"xxx"
:show-overflow-tooltip=
"true"
width=
"222
"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
xxx
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
xxx"
prop=
"xxx"
:show-overflow-tooltip=
"true"
width=
"250
"
>
<el-table-column
label=
"
厚度"
prop=
"xxx"
:show-overflow-tooltip=
"true"
width=
"222
"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
xxx
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
xxx"
prop=
"xxx"
:show-overflow-tooltip=
"true"
width=
"250
"
>
<el-table-column
label=
"
创建人"
prop=
"xxx"
:show-overflow-tooltip=
"true"
width=
"222
"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
xxx
||
'-'
}}
</
template
>
</el-table-column>
<!-- <el-table-column label="创建时间" prop="xxx" :show-overflow-tooltip="true" width="222">
<template slot-scope="scope">
{{ scope.row.xxx || '-' }}
</template>
</el-table-column> -->
<!-- <el-table-column label="状态" align="center" width="380">
<template slot-scope="scope">
<el-switch
...
...
@@ -95,12 +102,12 @@
/>
</template>
</el-table-column> -->
<
!-- <el-table-column label="创建时间" :show-overflow-tooltip="true" align="center" prop="createTime" width="380
">
<
el-table-column
label=
"创建时间"
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"createTime"
width=
"222
"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
createDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
</
template
>
</el-table-column>
-->
</el-table-column>
</el-table>
</div>
<pagination
...
...
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