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
bfee9d41
Commit
bfee9d41
authored
Sep 19, 2023
by
shifangwuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
9/19(2)
parent
fa5d5ec7
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
215 additions
and
91 deletions
+215
-91
gfual.js
src/api/production/gfual.js
+48
-10
index.vue
src/views/production/craftsmanship/index.vue
+6
-6
index.vue
src/views/production/gfual/index.vue
+159
-73
index.vue
src/views/production/gxlog/index.vue
+2
-2
No files found.
src/api/production/gfual.js
View file @
bfee9d41
import
request
from
'@/utils/request'
// 根据key值查询数据字典数据
export
function
getDictData
(
params
)
{
// 查询列表
export
function
queryList
(
params
)
{
return
request
({
url
:
'/
wbapply/queryDict
'
,
url
:
'/
ysgxlog/queryYsGxLogByPagination
'
,
method
:
'get'
,
params
})
}
//
新增设备新增
export
function
add
Application
(
data
)
{
//
添加基础信息接口
export
function
add
(
data
)
{
return
request
({
url
:
'/
wbapply
/add'
,
url
:
'/
ysgxlog
/add'
,
method
:
'post'
,
data
,
headers
:
{
...
...
@@ -18,11 +19,48 @@ export function addApplication(data) {
}
})
}
// 分页查询要处理的设备
export
function
getEquipment
(
params
)
{
// 根据id查询基础信息接口
export
function
getDetailById
(
id
)
{
return
request
({
url
:
'/ysgxlog/detail/'
+
id
,
method
:
'get'
})
}
// 编辑基础信息接口
export
function
updataInfo
(
data
)
{
return
request
({
url
:
'/ysgxlog/update'
,
method
:
'put'
,
data
,
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
}
})
}
// 逻辑删除基础信息接口
export
function
deleteLogical
(
id
)
{
return
request
({
url
:
'/ysgxlog/deleteLogical/'
+
id
,
method
:
'delete'
})
}
// 导出信息接口
export
function
exporTable
(
params
)
{
return
request
({
url
:
'/wb
warehouse/canceListByPagination
'
,
url
:
'/wb
chemistrybaseinfo/export
'
,
method
:
'get'
,
params
params
,
responseType
:
'blob'
})
}
// 根据key值查询数据字典数据
export
function
getDictData
(
params
)
{
return
request
({
url
:
'/wbapply/queryDict'
,
method
:
'get'
,
params
})
}
\ No newline at end of file
src/views/production/craftsmanship/index.vue
View file @
bfee9d41
...
...
@@ -205,27 +205,27 @@
label
-
width
=
"80px"
>
<
el
-
form
-
item
label
=
"jxpn:"
prop
=
"jxpn"
>
<
el
-
input
v
-
model
.
trim
=
"singleDetails.jxpn
"
:
readonly
=
"true"
/>
<
el
-
input
:
value
=
"singleDetails.jxpn || '-'
"
:
readonly
=
"true"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"jbcode:"
prop
=
"jbcode"
>
<
el
-
input
v
-
model
.
trim
=
"singleDetails.jbcode
"
:
readonly
=
"true"
/>
<
el
-
input
:
value
=
"singleDetails.jbcode || '-'
"
:
readonly
=
"true"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"jbrank:"
prop
=
"jbrank"
>
<
el
-
input
v
-
model
.
trim
=
"singleDetails.jbrank
"
:
readonly
=
"true"
/>
<
el
-
input
:
value
=
"singleDetails.jbrank || '-'
"
:
readonly
=
"true"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"wb:"
prop
=
"wb"
>
<
el
-
input
v
-
model
.
trim
=
"singleDetails.wb
"
:
readonly
=
"true"
/>
<
el
-
input
:
value
=
"singleDetails.wb || '-'
"
:
readonly
=
"true"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"jl:"
prop
=
"jl"
>
<
el
-
input
v
-
model
.
trim
=
"singleDetails.jl
"
:
readonly
=
"true"
/>
<
el
-
input
:
value
=
"singleDetails.jl || '-'
"
:
readonly
=
"true"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"gx:"
prop
=
"gx"
>
<
span
style
=
"margin-left: 10px"
>
{{
replace
(
singleDetails
.
gx
)
}}
<
/span
>
<
span
style
=
"margin-left: 10px"
>
{{
replace
(
singleDetails
.
gx
)
||
'-'
}}
<
/span
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"操作人:"
prop
=
"createName"
>
...
...
src/views/production/gfual/index.vue
View file @
bfee9d41
This diff is collapsed.
Click to expand it.
src/views/production/gxlog/index.vue
View file @
bfee9d41
...
...
@@ -246,8 +246,8 @@
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"gx:
"
prop
=
"gx"
>
<
span
>
{{
replace
(
singleDetails
.
gx
)
}}
<
/span
>
<
el
-
form
-
item
label
=
"gx:"
prop
=
"gx"
>
<
span
style
=
"margin-left: 10px"
>
{{
replace
(
singleDetails
.
gx
)
}}
<
/span
>
<
/el-form-item
>
<
/el-col
>
<
/el-row
>
...
...
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