Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kd_control
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
zhanglw
kd_control
Commits
230c2cbb
Commit
230c2cbb
authored
Oct 08, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏指标设置
parent
a1b1da7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
23 deletions
+36
-23
common.js
src/assets/js/common.js
+14
-1
index.vue
src/views/productionPlanManagement/trendsSet/index.vue
+22
-22
No files found.
src/assets/js/common.js
View file @
230c2cbb
...
@@ -3255,7 +3255,20 @@ var HttpReq = function(){
...
@@ -3255,7 +3255,20 @@ var HttpReq = function(){
method
:
'
get
'
method
:
'
get
'
})
})
},
},
//大屏指标
dpGetFindDpPlan
:
function
(
params
){
return
request
({
url
:
'
/api/tEnterpriseInformation/findDpPlan?
'
+
qs
.
stringify
(
params
,
{
indices
:
false
}),
method
:
'
get
'
})
},
dpPutUpdateDpPlan
:
function
(
data
){
return
request
({
url
:
'
/api/tEnterpriseInformation/updateDpPlan
'
,
method
:
'
PUT
'
,
data
:
data
,
})
},
},
},
...
...
src/views/productionPlanManagement/trendsSet/index.vue
View file @
230c2cbb
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</el-col>
</el-col>
<el-col
:span=
"14"
class=
"grid-content"
>
<el-col
:span=
"14"
class=
"grid-content"
>
<el-form-item
prop=
"totality"
style=
"margin: 0"
>
<el-form-item
prop=
"totality"
style=
"margin: 0"
>
<el-input
v-model=
"formData.
totalReserv
es"
placeholder=
"输入总储量"
/>
<el-input
v-model=
"formData.
mineralresourc
es"
placeholder=
"输入总储量"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -33,27 +33,27 @@
...
@@ -33,27 +33,27 @@
</el-col>
</el-col>
<el-col
:span=
"14"
class=
"grid-content"
>
<el-col
:span=
"14"
class=
"grid-content"
>
<el-form-item
prop=
"atCamp"
style=
"margin: 0"
>
<el-form-item
prop=
"atCamp"
style=
"margin: 0"
>
<el-input
v-model=
"formData.
totalSurplus
"
placeholder=
"输入剩余储量"
/>
<el-input
v-model=
"formData.
dpsycl
"
placeholder=
"输入剩余储量"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"10"
class=
"grid-content"
>
<el-col
:span=
"10"
class=
"grid-content"
>
<div
class=
"grid-label"
>
当日计划
开采
量
</div>
<div
class=
"grid-label"
>
当日计划量
</div>
</el-col>
</el-col>
<el-col
:span=
"14"
class=
"grid-content"
>
<el-col
:span=
"14"
class=
"grid-content"
>
<el-form-item
prop=
"checkReturn"
style=
"margin: 0"
>
<el-form-item
prop=
"checkReturn"
style=
"margin: 0"
>
<el-input
v-model=
"formData.d
ayPlanSum"
placeholder=
"输入当日计划开采
量"
/>
<el-input
v-model=
"formData.d
pdrjh"
placeholder=
"输入当日计划
量"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"10"
class=
"grid-content"
>
<el-col
:span=
"10"
class=
"grid-content"
>
<div
class=
"grid-label"
>
当日
完成
开采量
</div>
<div
class=
"grid-label"
>
当日开采量
</div>
</el-col>
</el-col>
<el-col
:span=
"14"
class=
"grid-content"
>
<el-col
:span=
"14"
class=
"grid-content"
>
<el-form-item
prop=
"checkReturn"
style=
"margin: 0"
>
<el-form-item
prop=
"checkReturn"
style=
"margin: 0"
>
<el-input
v-model=
"formData.d
ayProduceSum"
placeholder=
"输入当日实际
开采量"
/>
<el-input
v-model=
"formData.d
pdrkc"
placeholder=
"输入当日
开采量"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -82,10 +82,10 @@ export default {
...
@@ -82,10 +82,10 @@ export default {
title
:
''
,
title
:
''
,
visible
:
false
,
visible
:
false
,
formData
:
{
formData
:
{
totalReserv
es
:
''
,
// 总量
mineralresourc
es
:
''
,
// 总量
totalSurplus
:
''
,
// 剩余量
dpsycl
:
''
,
// 剩余量
d
ayPlanSum
:
''
,
// 当日计划
d
pdrjh
:
''
,
// 当日计划
d
ayProduceSum
:
''
,
// 当日完成
d
pdrkc
:
''
,
// 当日完成
},
},
rules
:
{}
rules
:
{}
}
}
...
@@ -102,22 +102,22 @@ export default {
...
@@ -102,22 +102,22 @@ export default {
submitForm
()
{
submitForm
()
{
this
.
$refs
.
formViewRef
.
validate
(
valid
=>
{
this
.
$refs
.
formViewRef
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
// HttpReq.truckDispatching.postManuallyNumber
({
HttpReq
.
truckDispatching
.
dpPutUpdateDpPlan
({
//
...this.formData
...
this
.
formData
//
}).then((res) => {
}).
then
((
res
)
=>
{
//
this.$notify({
this
.
$notify
({
//
title: res.msg,
title
:
res
.
msg
,
//
type: res.code === 200 ? 'success' : 'error',
type
:
res
.
code
===
200
?
'
success
'
:
'
error
'
,
//
duration: 2500
duration
:
2500
//
})
})
//
})
})
}
}
})
})
},
},
loadData
()
{
loadData
()
{
// HttpReq.truckDispatching.getManuallyNumber
({}).then((res) => {
HttpReq
.
truckDispatching
.
dpGetFindDpPlan
({}).
then
((
res
)
=>
{
// this.formData = res
this
.
formData
=
res
.
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