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
662681ef
Commit
662681ef
authored
Jan 18, 2021
by
徐来柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ece37af6
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
64 deletions
+16
-64
ManageList.vue
src/views/education/ManageList.vue
+1
-8
MaterialDelivery.vue
src/views/education/MaterialDelivery.vue
+1
-8
ProductDelivery.vue
src/views/education/ProductDelivery.vue
+1
-8
ProductHouseshow.vue
src/views/education/ProductHouseshow.vue
+1
-8
ProductStorage.vue
src/views/education/ProductStorage.vue
+1
-8
Pagination.vue
src/views/education/component/Pagination.vue
+1
-2
relateDialog.vue
src/views/education/component/relateDialog.vue
+1
-8
materialinventory.vue
src/views/education/materialinventory.vue
+1
-8
schedulingStatistics.vue
src/views/education/schedulingStatistics.vue
+8
-6
No files found.
src/views/education/ManageList.vue
View file @
662681ef
...
@@ -182,7 +182,6 @@ export default {
...
@@ -182,7 +182,6 @@ export default {
method
:
"post"
,
method
:
"post"
,
url
:
`/api/StatisticsManage/StatisticsManage_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
url
:
`/api/StatisticsManage/StatisticsManage_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
length
!=
0
){
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
...
item
,
DeliveryDt
:
item
.
DeliveryDt
?
this
.
$moment
(
item
.
DeliveryDt
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
DeliveryDt
:
item
.
DeliveryDt
?
this
.
$moment
(
item
.
DeliveryDt
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
...
@@ -197,15 +196,9 @@ export default {
...
@@ -197,15 +196,9 @@ export default {
this
.
tableData
=
this
.
AllTableData
this
.
tableData
=
this
.
AllTableData
}
}
this
.
totalCount
=
this
.
AllTableData
.
length
this
.
totalCount
=
this
.
AllTableData
.
length
// this.pageIndex = 1
this
.
$refs
.
page
.
first
()
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
pageFun
(
1
)
this
.
pageFun
(
1
)
}
else
{
this
.
tableData
=
[]
this
.
totalCount
=
0
// this.pageIndex = 1
this
.
totalPage
=
1
}
}).
catch
(
function
(
err
){
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
console
.
log
(
'err'
,
err
)
})
})
...
...
src/views/education/MaterialDelivery.vue
View file @
662681ef
...
@@ -161,7 +161,6 @@ export default {
...
@@ -161,7 +161,6 @@ export default {
method
:
"post"
,
method
:
"post"
,
url
:
`/api/MaterialDelivery/MaterialDelivery_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
url
:
`/api/MaterialDelivery/MaterialDelivery_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
length
!=
0
){
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
...
item
,
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
...
@@ -173,15 +172,9 @@ export default {
...
@@ -173,15 +172,9 @@ export default {
this
.
tableData
=
this
.
AllTableData
this
.
tableData
=
this
.
AllTableData
}
}
this
.
totalCount
=
this
.
AllTableData
.
length
this
.
totalCount
=
this
.
AllTableData
.
length
// this.pageIndex = 1
this
.
$refs
.
page
.
first
()
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
pageFun
(
1
)
this
.
pageFun
(
1
)
}
else
{
this
.
tableData
=
[]
this
.
totalCount
=
0
// this.pageIndex = 1
this
.
totalPage
=
1
}
}).
catch
(
function
(
err
){
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
console
.
log
(
'err'
,
err
)
})
})
...
...
src/views/education/ProductDelivery.vue
View file @
662681ef
...
@@ -160,7 +160,6 @@ export default {
...
@@ -160,7 +160,6 @@ export default {
method
:
"post"
,
method
:
"post"
,
url
:
`/api/ProductDelivery/ProductDelivery_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
url
:
`/api/ProductDelivery/ProductDelivery_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
length
!=
0
){
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
...
item
,
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
...
@@ -173,15 +172,9 @@ export default {
...
@@ -173,15 +172,9 @@ export default {
this
.
tableData
=
this
.
AllTableData
this
.
tableData
=
this
.
AllTableData
}
}
this
.
totalCount
=
this
.
AllTableData
.
length
this
.
totalCount
=
this
.
AllTableData
.
length
// this.pageIndex = 1
this
.
$refs
.
page
.
first
()
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
pageFun
(
1
)
this
.
pageFun
(
1
)
}
else
{
this
.
tableData
=
[]
this
.
totalCount
=
0
// this.pageIndex = 1
this
.
totalPage
=
1
}
}).
catch
(
function
(
err
){
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
console
.
log
(
'err'
,
err
)
})
})
...
...
src/views/education/ProductHouseshow.vue
View file @
662681ef
...
@@ -109,7 +109,6 @@ export default {
...
@@ -109,7 +109,6 @@ export default {
method
:
"post"
,
method
:
"post"
,
url
:
`/api/PHouseshow/PHouseshow_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
`
,
url
:
`/api/PHouseshow/PHouseshow_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
`
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
length
!=
0
){
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
...
item
,
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
...
@@ -122,15 +121,9 @@ export default {
...
@@ -122,15 +121,9 @@ export default {
this
.
tableData
=
this
.
AllTableData
this
.
tableData
=
this
.
AllTableData
}
}
this
.
totalCount
=
this
.
AllTableData
.
length
this
.
totalCount
=
this
.
AllTableData
.
length
// this.pageIndex = 1
this
.
$refs
.
page
.
first
()
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
pageFun
(
1
)
this
.
pageFun
(
1
)
}
else
{
this
.
tableData
=
[]
this
.
totalCount
=
0
// this.pageIndex = 1
this
.
totalPage
=
1
}
}).
catch
(
function
(
err
){
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
console
.
log
(
'err'
,
err
)
})
})
...
...
src/views/education/ProductStorage.vue
View file @
662681ef
...
@@ -160,7 +160,6 @@ export default {
...
@@ -160,7 +160,6 @@ export default {
method
:
"post"
,
method
:
"post"
,
url
:
`/api/ProductStorage/ProductStorage_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
url
:
`/api/ProductStorage/ProductStorage_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
length
!=
0
){
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
...
item
,
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
...
@@ -173,15 +172,9 @@ export default {
...
@@ -173,15 +172,9 @@ export default {
this
.
tableData
=
this
.
AllTableData
this
.
tableData
=
this
.
AllTableData
}
}
this
.
totalCount
=
this
.
AllTableData
.
length
this
.
totalCount
=
this
.
AllTableData
.
length
// this.pageIndex = 1
this
.
$refs
.
page
.
first
()
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
pageFun
(
1
)
this
.
pageFun
(
1
)
}
else
{
this
.
tableData
=
[]
this
.
totalCount
=
0
// this.pageIndex = 1
this
.
totalPage
=
1
}
}).
catch
(
function
(
err
){
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
console
.
log
(
'err'
,
err
)
})
})
...
...
src/views/education/component/Pagination.vue
View file @
662681ef
...
@@ -42,11 +42,10 @@ export default {
...
@@ -42,11 +42,10 @@ export default {
// 当前页
// 当前页
pageIndex
:
1
,
pageIndex
:
1
,
// 每页显示条数
// 每页显示条数
pageSize
:
1
0
,
pageSize
:
5
0
,
}
}
},
},
created
()
{
created
()
{
},
},
methods
:
{
methods
:
{
// 分页方法
// 分页方法
...
...
src/views/education/component/relateDialog.vue
View file @
662681ef
...
@@ -182,7 +182,6 @@ export default {
...
@@ -182,7 +182,6 @@ export default {
method
:
"post"
,
method
:
"post"
,
url
:
`/api/NewTrendChart/GstVariableList?argKeyWord=
${
this
.
argKeyWord
}
&argDevice=
${
this
.
argDevice
}
&argGroup=
${
this
.
argGroup
}
&argDataType=
${
this
.
argDataType
}
&argPageSize=
${
this
.
$refs
.
page
.
pageSize
}
&argPageIndex=
${
this
.
$refs
.
page
.
pageIndex
}
`
,
url
:
`/api/NewTrendChart/GstVariableList?argKeyWord=
${
this
.
argKeyWord
}
&argDevice=
${
this
.
argDevice
}
&argGroup=
${
this
.
argGroup
}
&argDataType=
${
this
.
argDataType
}
&argPageSize=
${
this
.
$refs
.
page
.
pageSize
}
&argPageIndex=
${
this
.
$refs
.
page
.
pageIndex
}
`
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
length
!=
0
){
this
.
AllTableData
=
res
.
data
.
data
.
DataList
.
map
(
item
=>
({
this
.
AllTableData
=
res
.
data
.
data
.
DataList
.
map
(
item
=>
({
...
item
,
...
item
,
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
...
@@ -195,15 +194,9 @@ export default {
...
@@ -195,15 +194,9 @@ export default {
this
.
innerTableData
=
this
.
AllTableData
this
.
innerTableData
=
this
.
AllTableData
}
}
this
.
totalCount
=
this
.
AllTableData
.
length
this
.
totalCount
=
this
.
AllTableData
.
length
// this.pageIndex = 1
this
.
$refs
.
page
.
first
()
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
pageFun
(
1
)
this
.
pageFun
(
1
)
}
else
{
this
.
innerTableData
=
[]
this
.
totalCount
=
0
// this.pageIndex = 1
this
.
totalPage
=
1
}
}).
catch
(
function
(
err
){
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
console
.
log
(
'err'
,
err
)
})
})
...
...
src/views/education/materialinventory.vue
View file @
662681ef
...
@@ -108,7 +108,6 @@ export default {
...
@@ -108,7 +108,6 @@ export default {
method
:
"post"
,
method
:
"post"
,
url
:
`/api/Materialinventory/Materialinventory_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
`
,
url
:
`/api/Materialinventory/Materialinventory_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
`
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
length
!=
0
){
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
...
item
,
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
UpdateTime
:
item
.
UpdateTime
?
this
.
$moment
(
item
.
UpdateTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
...
@@ -121,15 +120,9 @@ export default {
...
@@ -121,15 +120,9 @@ export default {
this
.
tableData
=
this
.
AllTableData
this
.
tableData
=
this
.
AllTableData
}
}
this
.
totalCount
=
this
.
AllTableData
.
length
this
.
totalCount
=
this
.
AllTableData
.
length
// this.pageIndex = 1
this
.
$refs
.
page
.
first
()
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
totalPage
=
Math
.
ceil
(
this
.
AllTableData
.
length
/
this
.
$refs
.
page
.
pageSize
)
this
.
pageFun
(
1
)
this
.
pageFun
(
1
)
}
else
{
this
.
tableData
=
[]
this
.
totalCount
=
0
// this.pageIndex = 1
this
.
totalPage
=
1
}
}).
catch
(
function
(
err
){
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
console
.
log
(
'err'
,
err
)
})
})
...
...
src/views/education/schedulingStatistics.vue
View file @
662681ef
...
@@ -147,7 +147,7 @@ export default {
...
@@ -147,7 +147,7 @@ export default {
method
:
"post"
,
method
:
"post"
,
url
:
`/api/TJStatistics/Statistics_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
url
:
`/api/TJStatistics/Statistics_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
length
!=
0
){
//
if(res.data.data.length != 0 ){
$this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
$this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
...
item
,
DeliveryDt
:
item
.
DeliveryDt
?
$this
.
$moment
(
item
.
DeliveryDt
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
DeliveryDt
:
item
.
DeliveryDt
?
$this
.
$moment
(
item
.
DeliveryDt
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
...
@@ -164,11 +164,13 @@ export default {
...
@@ -164,11 +164,13 @@ export default {
$this
.
$refs
.
page
.
first
()
$this
.
$refs
.
page
.
first
()
$this
.
totalPage
=
Math
.
ceil
(
$this
.
AllTableData
.
length
/
$this
.
$refs
.
page
.
pageSize
)
$this
.
totalPage
=
Math
.
ceil
(
$this
.
AllTableData
.
length
/
$this
.
$refs
.
page
.
pageSize
)
$this
.
pageFun
(
1
)
$this
.
pageFun
(
1
)
}
else
{
// }else{
$this
.
tableData
=
[]
// $this.tableData = []
$this
.
totalCount
=
0
// $this.$refs.page.pageIndex = 1
$this
.
totalPage
=
1
// $this.$refs.page.first()
}
// $this.totalCount = 0
// $this.totalPage = 1
// }
}).
catch
(
function
(
err
){
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
console
.
log
(
'err'
,
err
)
})
})
...
...
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