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
b56e4377
Commit
b56e4377
authored
Jan 20, 2021
by
徐来柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
662681ef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
7 deletions
+27
-7
LineBody.vue
src/views/education/LineBody.vue
+6
-0
head.vue
src/views/education/component/head.vue
+5
-5
deviceManage.vue
src/views/education/deviceManage.vue
+4
-2
technology.vue
src/views/education/technology.vue
+12
-0
No files found.
src/views/education/LineBody.vue
View file @
b56e4377
...
...
@@ -29,6 +29,12 @@
width=
"185"
prop=
"NO"
>
</el-table-column>
<el-table-column
label=
"线体编号"
:show-overflow-tooltip=
"true"
prop=
"Nuber"
width=
"300"
>
</el-table-column>
<el-table-column
label=
"线体名称"
:show-overflow-tooltip=
"true"
...
...
src/views/education/component/head.vue
View file @
b56e4377
...
...
@@ -228,11 +228,11 @@ export default {
},
//查询
query
(){
for
(
let
i
=
0
;
i
<
this
.
productNameArr
.
length
;
i
++
){
if
(
this
.
value
==
this
.
productNameArr
[
i
].
name
){
this
.
argID
=
this
.
productNameArr
[
i
].
id
this
.
$parent
.
idFun
(
this
.
argID
)
var
$this
=
this
for
(
let
i
=
0
;
i
<
$
this
.
productNameArr
.
length
;
i
++
){
if
(
$this
.
value
==
$
this
.
productNameArr
[
i
].
name
){
$this
.
argID
=
$
this
.
productNameArr
[
i
].
id
$this
.
$parent
.
idFun
(
$
this
.
argID
)
}
}
this
.
$parent
.
query
()
...
...
src/views/education/deviceManage.vue
View file @
b56e4377
...
...
@@ -8,7 +8,7 @@
<
template
>
<div
class=
"deviceManage"
>
<div
class=
"deviceCenten"
>
<Head
type=
"11"
></Head>
<Head
type=
"11"
ref=
"head"
></Head>
<div
class=
"conterFool_middle"
style=
"width:98%;margin:auto"
>
<el-table
border
...
...
@@ -147,9 +147,10 @@ export default {
methods
:{
//查询
query
(){
this
.
$nextTick
(()
=>
{
this
.
$axios
({
method
:
"post"
,
url
:
`/api/Device/Device_Query?argKeyWord=
${
this
.
argKeyWord
}
&argWhere=
${
this
.
argWhere
}
`
,
url
:
`/api/Device/Device_Query?argKeyWord=
${
this
.
argKeyWord
}
&argWhere=
${
this
.
$refs
.
head
.
argWhere
}
`
,
}).
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
length
!=
0
){
this
.
AllTableData
=
res
.
data
.
data
...
...
@@ -170,6 +171,7 @@ export default {
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
})
})
},
openRelate
()
{
...
...
src/views/education/technology.vue
View file @
b56e4377
...
...
@@ -191,6 +191,18 @@ export default {
//添加
addFun
(
value
){
console
.
log
(
'value'
,
value
)
if
(
value
.
Nuber
.
trim
()
==
''
)
{
this
.
typeV
=
'5'
this
.
deleteShow
=
true
this
.
deletetext
=
'工艺编号不能为空'
return
}
if
(
value
.
Desc
.
trim
()
==
''
)
{
this
.
typeV
=
'5'
this
.
deleteShow
=
true
this
.
deletetext
=
'工艺描述不能为空'
return
}
var
data
=
{
No
:
0
,
ID
:
value
.
ID
,
...
...
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