Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tianjin
Project
Project
Details
Activity
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
徐来柯
tianjin
Commits
755011fd
Commit
755011fd
authored
Jan 21, 2021
by
徐来柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
96cadfb9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
4 deletions
+25
-4
common.scss
src/assets/sass/common.scss
+5
-0
ManageList.vue
src/views/education/ManageList.vue
+18
-3
baseTable.vue
src/views/education/component/baseTable.vue
+1
-0
relateDialog.vue
src/views/education/component/relateDialog.vue
+1
-1
No files found.
src/assets/sass/common.scss
View file @
755011fd
...
@@ -165,4 +165,8 @@
...
@@ -165,4 +165,8 @@
}
}
textarea
{
textarea
{
padding
:
5px
15px
;
padding
:
5px
15px
;
}
.el-table--striped
.el-table__body
tr
.el-table__row--striped.current-row
td
,
.el-table__body
tr
.current-row
>
td
{
background-color
:
#C1D0F3
!
important
;
}
}
\ No newline at end of file
src/views/education/ManageList.vue
View file @
755011fd
...
@@ -65,9 +65,17 @@
...
@@ -65,9 +65,17 @@
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
prop=
"FinishQuantity"
prop=
"FinishQuantity"
width=
"180"
>
width=
"180"
>
</el-table-column>
<el-table-column
label=
"变量绑定"
:show-overflow-tooltip=
"true"
prop=
"VFinishQuantity"
width=
"200"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
FinishQuantity
}}
</span>
<div
class=
"slot_class"
>
<span
@
click=
"openRelate('FinishQuantity',scope.row)"
class=
"relateBtn plan_relateBtn"
>
选 择
</span>
<span>
{{
scope
.
row
.
VFinishQuantity
}}
</span>
<span
@
click=
"openRelate('VFinishQuantity',scope.row)"
class=
"relateBtn plan_relateBtn"
>
选 择
</span>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -218,7 +226,7 @@ export default {
...
@@ -218,7 +226,7 @@ export default {
var
$this
=
this
var
$this
=
this
this
.
$axios
({
this
.
$axios
({
method
:
"post"
,
method
:
"post"
,
url
:
`/api/
ProductStorage/ProductStorage_WindowAddSave
?ID=
${
this
.
ID
}
&VFinish=
${
data
.
Name
}
`
,
url
:
`/api/
StatisticsManage/StatisticsManage_VFinish
?ID=
${
this
.
ID
}
&VFinish=
${
data
.
Name
}
`
,
data
:
data
data
:
data
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
$this
.
relateShow
=
false
$this
.
relateShow
=
false
...
@@ -279,6 +287,13 @@ export default {
...
@@ -279,6 +287,13 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.slot_class
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
box-sizing
:
border-box
;
padding
:
0
5px
}
.relateBtn
{
.relateBtn
{
width
:
75px
;
width
:
75px
;
height
:
35px
;
height
:
35px
;
...
...
src/views/education/component/baseTable.vue
View file @
755011fd
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
:data=
"tableData"
:data=
"tableData"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
style=
"width: 100%"
style=
"width: 100%"
highlight-current-row
:row-class-name=
"rowClassName"
:row-class-name=
"rowClassName"
@
selection-change=
"handleSelectionChange"
>
@
selection-change=
"handleSelectionChange"
>
<el-table-column
<el-table-column
...
...
src/views/education/component/relateDialog.vue
View file @
755011fd
...
@@ -239,7 +239,7 @@ export default {
...
@@ -239,7 +239,7 @@ export default {
return
return
}
}
}
}
if
(
this
.
relateType
===
'VPlanQuantity'
||
this
.
relateType
===
'FinishQuantity'
)
{
if
(
this
.
relateType
===
'VPlanQuantity'
||
this
.
relateType
===
'
V
FinishQuantity'
)
{
if
(
this
.
currentRow
.
DateType
.
indexOf
(
'整型'
)
!==
-
1
)
{
if
(
this
.
currentRow
.
DateType
.
indexOf
(
'整型'
)
!==
-
1
)
{
return
this
.
$emit
(
'conserve'
,
this
.
currentRow
,
this
.
relateType
)
return
this
.
$emit
(
'conserve'
,
this
.
currentRow
,
this
.
relateType
)
}
else
{
}
else
{
...
...
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