Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
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
中汽测评-信息安全测评系统
web
Commits
6a97e969
Commit
6a97e969
authored
Mar 06, 2024
by
mzx
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
a4a3b8fe
a7d6f187
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
11 deletions
+22
-11
index.vue
src/views/setting/sample/index.vue
+22
-11
No files found.
src/views/setting/sample/index.vue
View file @
6a97e969
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
>
>
<el-input
<el-input
v-model=
"queryParams.identificationCode"
v-model=
"queryParams.identificationCode"
placeholder=
"请输入
车辆识别码
"
placeholder=
"请输入"
clearable
clearable
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<el-form-item
label=
"样品编号"
prop=
"address"
>
<el-form-item
label=
"样品编号"
prop=
"address"
>
<el-input
<el-input
v-model=
"queryParams.sampleNumber"
v-model=
"queryParams.sampleNumber"
placeholder=
"请输入
样品编号
"
placeholder=
"请输入"
clearable
clearable
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<el-form-item
label=
"样品名称"
prop=
"postcode"
>
<el-form-item
label=
"样品名称"
prop=
"postcode"
>
<el-input
<el-input
v-model=
"queryParams.sampleName"
v-model=
"queryParams.sampleName"
placeholder=
"请输入
样品名称
"
placeholder=
"请输入"
clearable
clearable
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
...
@@ -75,9 +75,10 @@
...
@@ -75,9 +75,10 @@
:data=
"tableData"
:data=
"tableData"
style=
"width: 100%"
style=
"width: 100%"
border
border
:cell-style=
"taskNameCellStyle"
@
sort-change=
"sortClick"
@
sort-change=
"sortClick"
>
>
<el-table-column
type=
"index"
label=
"序号"
min-width=
"80
"
>
<el-table-column
type=
"index"
width=
"55"
label=
"序号"
align=
"center
"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
v-if=
"activeName === 'completeSample'"
v-if=
"activeName === 'completeSample'"
...
@@ -118,20 +119,20 @@
...
@@ -118,20 +119,20 @@
prop=
"numberOfSamples"
prop=
"numberOfSamples"
label=
"样品数量"
label=
"样品数量"
show-overflow-tooltip
show-overflow-tooltip
min-width=
"1
5
0"
min-width=
"1
0
0"
/>
/>
<el-table-column
<el-table-column
prop=
"deliveryDate"
prop=
"deliveryDate"
label=
"送样日期"
label=
"送样日期"
sortable=
"'custom"
sortable=
"'custom"
show-overflow-tooltip
show-overflow-tooltip
min-width=
"
20
0"
min-width=
"
15
0"
/>
/>
<el-table-column
<el-table-column
prop=
"manufactureDate"
prop=
"manufactureDate"
label=
"生产日期"
label=
"生产日期"
show-overflow-tooltip
show-overflow-tooltip
min-width=
"
20
0"
min-width=
"
15
0"
/>
/>
<el-table-column
<el-table-column
prop=
"manufacturingEnterprise"
prop=
"manufacturingEnterprise"
...
@@ -139,7 +140,7 @@
...
@@ -139,7 +140,7 @@
show-overflow-tooltip
show-overflow-tooltip
min-width=
"200"
min-width=
"200"
/>
/>
<el-table-column
prop=
"name"
label=
"相关任务"
min-width=
"200
"
>
<el-table-column
label=
"相关任务
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.taskSampleRelation.length > 0"
>
<div
v-if=
"scope.row.taskSampleRelation.length > 0"
>
<el-link
<el-link
...
@@ -158,17 +159,22 @@
...
@@ -158,17 +159,22 @@
<div
v-else
>
--
</div>
<div
v-else
>
--
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
fixed=
"right"
min-width=
"160"
>
<el-table-column
label=
"操作"
fixed=
"right"
min-width=
"160"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"button-bar"
>
<div
class=
"button-bar"
>
<page-button
<page-button
v-hasPermi=
"['setting:s
tandard:update
']"
v-hasPermi=
"['setting:s
ample:edit
']"
icon=
"edit"
icon=
"edit"
title=
"修改"
title=
"修改"
@
click=
"handleUpdate(scope.row.id)"
@
click=
"handleUpdate(scope.row.id)"
></page-button>
></page-button>
<page-button
<page-button
v-hasPermi=
"['setting:s
tandard:update
']"
v-hasPermi=
"['setting:s
ample:del
']"
icon=
"delete"
icon=
"delete"
title=
"删除"
title=
"删除"
@
click=
"handleDelete(scope.row.id)"
@
click=
"handleDelete(scope.row.id)"
...
@@ -481,6 +487,11 @@ export default {
...
@@ -481,6 +487,11 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
methods
:
{
methods
:
{
taskNameCellStyle
(
row
,
column
,
rowIndex
,
columnIndex
)
{
if
(
row
.
columnIndex
===
9
)
{
return
{
whiteSpace
:
'nowrap'
}
}
},
closeMaterial
(
data
)
{
closeMaterial
(
data
)
{
this
.
materialShow
=
data
this
.
materialShow
=
data
},
},
...
...
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