Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
Overview
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
wangweidong
patzn-cloud-web-back-soil
Commits
57a2dc8e
Commit
57a2dc8e
authored
Jan 20, 2021
by
wangweidong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
8ae257d8
157dfe61
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
276 additions
and
37 deletions
+276
-37
EntrustRegisterEdit.vue
pages/meter-entrust/entrust-register/EntrustRegisterEdit.vue
+6
-0
ExpReportCheckHis.vue
...s/soil-exp-report/report-check/tabs/ExpReportCheckHis.vue
+37
-8
ExpReportIssueHis.vue
...s/soil-exp-report/report-issue/tabs/ExpReportIssueHis.vue
+37
-8
ExpReportMakeHis.vue
pages/soil-exp-report/report-make/tabs/ExpReportMakeHis.vue
+36
-8
historyTask.vue
pages/soil-report-manage/report-audit/tabs/historyTask.vue
+30
-4
historyTask.vue
pages/soil-report-manage/report-issue/tabs/historyTask.vue
+30
-5
ReportMakeHis.vue
pages/soil-report-manage/report-make/ReportMakeHis.vue
+25
-1
DataAuditHis.vue
pages/soil-test-manage/test-data-audit/DataAuditHis.vue
+25
-1
DataCheckHis.vue
pages/soil-test-manage/test-data-check/DataCheckHis.vue
+25
-1
TestInputHis.vue
pages/soil-test-manage/test-input/TestInputHis.vue
+25
-1
No files found.
pages/meter-entrust/entrust-register/EntrustRegisterEdit.vue
View file @
57a2dc8e
...
...
@@ -354,6 +354,12 @@ export default {
}
const
result
=
await
soilSample
.
queryUserList
(
query
)
if
(
result
)
{
for
(
let
i
=
0
;
i
<
result
.
records
.
length
;
i
++
)
{
console
.
log
(
'---records---'
,
result
.
records
[
i
])
result
.
records
[
i
].
realname
=
result
.
records
[
i
].
realname
+
result
.
records
[
i
].
mobile
this
.
projectLeaderName
.
push
(
result
.
records
[
i
].
realname
)
}
this
.
projectLeaderData
=
result
.
records
}
},
...
...
pages/soil-exp-report/report-check/tabs/ExpReportCheckHis.vue
View file @
57a2dc8e
...
...
@@ -87,7 +87,12 @@
<
script
>
// eslint-disable-next-line import/named
import
{
soilReport
,
soilStatistics
}
from
'../../../../api'
import
{
soilEntrust
,
soilReport
,
soilSample
,
soilStatistics
}
from
'../../../../api'
import
global
from
'../../../../api/config'
import
OperationModal
from
'../../../../components/operation/Operation'
export
default
{
...
...
@@ -124,10 +129,11 @@ export default {
selectIds
:
[],
selectData
:
[],
iconMsg
:
[
{
id
:
''
,
type
:
'pt-a-view'
,
name
:
'预览报告'
},
// { id: '', type: 'pt-a-view', name: '预览PDF' },
{
id
:
''
,
type
:
'pt-a-cloud'
,
name
:
'附件'
},
{
id
:
''
,
type
:
'pt-a-clock'
,
name
:
'操作日志'
}
{
id
:
''
,
type
:
'md-image'
,
name
:
'预览报告'
},
// { id: '', type: 'ios-cloud', name: '项目报告' },
{
id
:
''
,
type
:
'ios-cloud'
,
name
:
'附件'
},
{
id
:
''
,
type
:
'ios-clock'
,
name
:
'操作日志'
},
{
id
:
''
,
type
:
'md-trash'
,
name
:
'删除'
}
]
}
},
...
...
@@ -283,6 +289,25 @@ export default {
case
'操作日志'
:
this
.
_record
(
data
.
id
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
}
},
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
this
.
_delete
(
ids
)
}
})
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
}
},
// 没有生成pdf先生成在预览
...
...
@@ -311,12 +336,13 @@ export default {
this
.
$refs
.
operationModal
.
_open
(
id
)
},
_getObjectKey
:
async
function
(
data
)
{
const
result
=
await
soilS
tatistics
.
getObjectKey
(
data
.
id
)
const
result
=
await
soilS
ample
.
getReport
(
data
.
id
)
if
(
result
)
{
this
.
$openWindowModeless
({
objectKey
:
result
,
objectKey
:
result
.
objectKey
,
id
:
data
.
id
,
isReport
:
0
isReport
:
4
,
idType
:
11
})
}
},
...
...
@@ -359,6 +385,9 @@ export default {
this
.
selectIds
.
push
(
this
.
selectData
[
i
].
id
)
}
break
case
'iconClick'
:
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
componentName
)
break
default
:
this
.
_page
()
}
...
...
pages/soil-exp-report/report-issue/tabs/ExpReportIssueHis.vue
View file @
57a2dc8e
...
...
@@ -87,7 +87,12 @@
<
script
>
// eslint-disable-next-line import/named
import
{
soilReport
,
soilStatistics
}
from
'../../../../api'
import
{
soilEntrust
,
soilReport
,
soilSample
,
soilStatistics
}
from
'../../../../api'
import
global
from
'../../../../api/config'
import
OperationModal
from
'../../../../components/operation/Operation'
export
default
{
...
...
@@ -124,10 +129,11 @@ export default {
selectIds
:
[],
selectData
:
[],
iconMsg
:
[
{
id
:
''
,
type
:
'pt-a-view'
,
name
:
'预览报告'
},
// { id: '', type: 'pt-a-view', name: '预览PDF' },
{
id
:
''
,
type
:
'pt-a-cloud'
,
name
:
'附件'
},
{
id
:
''
,
type
:
'pt-a-clock'
,
name
:
'操作日志'
}
{
id
:
''
,
type
:
'md-image'
,
name
:
'预览报告'
},
// { id: '', type: 'ios-cloud', name: '项目报告' },
{
id
:
''
,
type
:
'ios-cloud'
,
name
:
'附件'
},
{
id
:
''
,
type
:
'ios-clock'
,
name
:
'操作日志'
},
{
id
:
''
,
type
:
'md-trash'
,
name
:
'删除'
}
]
}
},
...
...
@@ -283,6 +289,25 @@ export default {
case
'操作日志'
:
this
.
_record
(
data
.
id
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
}
},
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
this
.
_delete
(
ids
)
}
})
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
}
},
// 没有生成pdf先生成在预览
...
...
@@ -311,12 +336,13 @@ export default {
this
.
$refs
.
operationModal
.
_open
(
id
)
},
_getObjectKey
:
async
function
(
data
)
{
const
result
=
await
soilS
tatistics
.
getObjectKey
(
data
.
id
)
const
result
=
await
soilS
ample
.
getReport
(
data
.
id
)
if
(
result
)
{
this
.
$openWindowModeless
({
objectKey
:
result
,
objectKey
:
result
.
objectKey
,
id
:
data
.
id
,
isReport
:
0
isReport
:
4
,
idType
:
11
})
}
},
...
...
@@ -359,6 +385,9 @@ export default {
this
.
selectIds
.
push
(
this
.
selectData
[
i
].
id
)
}
break
case
'iconClick'
:
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
componentName
)
break
default
:
this
.
_page
()
}
...
...
pages/soil-exp-report/report-make/tabs/ExpReportMakeHis.vue
View file @
57a2dc8e
...
...
@@ -87,7 +87,12 @@
<
script
>
// eslint-disable-next-line import/named
import
{
soilReport
,
soilStatistics
}
from
'../../../../api'
import
{
soilEntrust
,
soilReport
,
soilSample
,
soilStatistics
}
from
'../../../../api'
import
global
from
'../../../../api/config'
import
OperationModal
from
'../../../../components/operation/Operation'
export
default
{
...
...
@@ -124,10 +129,10 @@ export default {
selectIds
:
[],
selectData
:
[],
iconMsg
:
[
{
id
:
''
,
type
:
'
pt-a-view
'
,
name
:
'预览报告'
},
// { id: '', type: 'pt-a-view', name: '预览PDF
' },
{
id
:
''
,
type
:
'
pt-a-cloud'
,
name
:
'附件
'
},
{
id
:
''
,
type
:
'
pt-a-clock'
,
name
:
'操作日志
'
}
{
id
:
''
,
type
:
'
md-image
'
,
name
:
'预览报告'
},
{
id
:
''
,
type
:
'ios-cloud'
,
name
:
'附件
'
},
{
id
:
''
,
type
:
'
ios-clock'
,
name
:
'操作日志
'
},
{
id
:
''
,
type
:
'
md-trash'
,
name
:
'删除
'
}
]
}
},
...
...
@@ -283,6 +288,25 @@ export default {
case
'操作日志'
:
this
.
_record
(
data
.
id
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
}
},
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
this
.
_delete
(
ids
)
}
})
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
}
},
// 没有生成pdf先生成在预览
...
...
@@ -311,12 +335,13 @@ export default {
this
.
$refs
.
operationModal
.
_open
(
id
)
},
_getObjectKey
:
async
function
(
data
)
{
const
result
=
await
soilS
tatistics
.
getObjectKey
(
data
.
id
)
const
result
=
await
soilS
ample
.
getReport
(
data
.
id
)
if
(
result
)
{
this
.
$openWindowModeless
({
objectKey
:
result
,
objectKey
:
result
.
objectKey
,
id
:
data
.
id
,
isReport
:
0
isReport
:
4
,
idType
:
11
})
}
},
...
...
@@ -359,6 +384,9 @@ export default {
this
.
selectIds
.
push
(
this
.
selectData
[
i
].
id
)
}
break
case
'iconClick'
:
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
componentName
)
break
default
:
this
.
_page
()
}
...
...
pages/soil-report-manage/report-audit/tabs/historyTask.vue
View file @
57a2dc8e
...
...
@@ -71,7 +71,7 @@
<
script
>
// eslint-disable-next-line import/named
import
{
soilReport
,
soilStatistics
}
from
'../../../../api'
import
{
soil
Entrust
,
soil
Report
,
soilStatistics
}
from
'../../../../api'
import
global
from
'../../../../api/config'
import
OperationModal
from
'../../../../components/operation/Operation'
export
default
{
...
...
@@ -108,9 +108,13 @@ export default {
selectIds
:
[],
selectData
:
[],
iconMsg
:
[
{
id
:
''
,
type
:
'pt-a-view'
,
name
:
'预览报告'
},
{
id
:
''
,
type
:
'pt-a-cloud'
,
name
:
'附件'
},
{
id
:
''
,
type
:
'pt-a-clock'
,
name
:
'操作日志'
}
{
type
:
'md-cloud'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
},
{
id
:
''
,
type
:
'md-trash'
,
name
:
'删除'
}
]
}
},
...
...
@@ -263,6 +267,25 @@ export default {
case
'操作日志'
:
this
.
_record
(
data
.
id
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
}
},
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
this
.
_delete
(
ids
)
}
})
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
}
},
_record
(
id
)
{
...
...
@@ -321,6 +344,9 @@ export default {
this
.
selectIds
.
push
(
this
.
selectData
[
i
].
id
)
}
break
case
'iconClick'
:
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
componentName
)
break
default
:
this
.
_page
()
}
...
...
pages/soil-report-manage/report-issue/tabs/historyTask.vue
View file @
57a2dc8e
...
...
@@ -87,7 +87,7 @@
<
script
>
// eslint-disable-next-line import/named
import
{
soilReport
,
soilStatistics
}
from
'../../../../api'
import
{
soil
Entrust
,
soil
Report
,
soilStatistics
}
from
'../../../../api'
import
global
from
'../../../../api/config'
import
OperationModal
from
'../../../../components/operation/Operation'
export
default
{
...
...
@@ -124,10 +124,13 @@ export default {
selectIds
:
[],
selectData
:
[],
iconMsg
:
[
{
id
:
''
,
type
:
'pt-a-view'
,
name
:
'预览报告'
},
// { id: '', type: 'pt-a-view', name: '预览PDF' },
{
id
:
''
,
type
:
'pt-a-cloud'
,
name
:
'附件'
},
{
id
:
''
,
type
:
'pt-a-clock'
,
name
:
'操作日志'
}
{
type
:
'md-cloud'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
},
{
id
:
''
,
type
:
'md-trash'
,
name
:
'删除'
}
]
}
},
...
...
@@ -283,6 +286,25 @@ export default {
case
'操作日志'
:
this
.
_record
(
data
.
id
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
}
},
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
this
.
_delete
(
ids
)
}
})
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
}
},
// 没有生成pdf先生成在预览
...
...
@@ -359,6 +381,9 @@ export default {
this
.
selectIds
.
push
(
this
.
selectData
[
i
].
id
)
}
break
case
'iconClick'
:
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
componentName
)
break
default
:
this
.
_page
()
}
...
...
pages/soil-report-manage/report-make/ReportMakeHis.vue
View file @
57a2dc8e
...
...
@@ -72,7 +72,7 @@
</template>
<
script
>
import
UserInfo
from
'../../../components/user-info-single/assignPerson'
import
{
soilReport
}
from
'../../../api'
import
{
soil
Entrust
,
soil
Report
}
from
'../../../api'
import
Operation
from
'../../../components/operation/Operation'
export
default
{
// eslint-disable-next-line vue/no-unused-components
...
...
@@ -95,6 +95,11 @@ export default {
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
}
],
getPage
:
{},
...
...
@@ -361,9 +366,28 @@ export default {
case
'操作日志'
:
this
.
_operationRecord
(
data
.
id
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
}
})
},
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
this
.
_delete
(
ids
)
}
})
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
}
},
_editModal
(
id
,
type
,
name
)
{
this
.
$refs
.
sampleManageModal
.
_open
(
id
,
type
,
name
)
},
...
...
pages/soil-test-manage/test-data-audit/DataAuditHis.vue
View file @
57a2dc8e
...
...
@@ -69,7 +69,7 @@
</template>
<
script
>
import
UserInfo
from
'../../../components/user-info-single/assignPerson'
import
{
soilTest
}
from
'../../../api'
import
{
soil
Entrust
,
soil
Test
}
from
'../../../api'
import
Operation
from
'../../../components/operation/Operation'
import
SoilSampleManageHis
from
'./SoilSampleManageHis'
export
default
{
...
...
@@ -93,6 +93,11 @@ export default {
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
}
],
getPage
:
{},
...
...
@@ -357,9 +362,28 @@ export default {
case
'操作日志'
:
this
.
_operationRecord
(
data
.
id
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
}
})
},
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
this
.
_delete
(
ids
)
}
})
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
}
},
_editModal
(
id
,
type
,
name
)
{
this
.
currentComponent
=
'SoilSampleManageHis'
this
.
$nextTick
(()
=>
{
...
...
pages/soil-test-manage/test-data-check/DataCheckHis.vue
View file @
57a2dc8e
...
...
@@ -69,7 +69,7 @@
</template>
<
script
>
import
UserInfo
from
'../../../components/user-info-single/assignPerson'
import
{
soilTest
}
from
'../../../api'
import
{
soil
Entrust
,
soil
Test
}
from
'../../../api'
import
Operation
from
'../../../components/operation/Operation'
import
SoilSampleManageHis
from
'./SoilSampleManageHis'
export
default
{
...
...
@@ -93,6 +93,11 @@ export default {
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
}
],
getPage
:
{},
...
...
@@ -353,9 +358,28 @@ export default {
case
'操作日志'
:
this
.
_operationRecord
(
data
.
id
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
}
})
},
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
this
.
_delete
(
ids
)
}
})
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
}
},
_editModal
(
id
,
type
,
name
)
{
this
.
currentComponent
=
'SoilSampleManageHis'
this
.
$nextTick
(()
=>
{
...
...
pages/soil-test-manage/test-input/TestInputHis.vue
View file @
57a2dc8e
...
...
@@ -69,7 +69,7 @@
</template>
<
script
>
import
UserInfo
from
'../../../components/user-info-single/assignPerson'
import
{
soilTest
}
from
'../../../api'
import
{
soil
Entrust
,
soil
Test
}
from
'../../../api'
import
Operation
from
'../../../components/operation/Operation'
import
SoilSampleManageHis
from
'./SoilSampleManageHis'
export
default
{
...
...
@@ -93,6 +93,11 @@ export default {
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
}
],
getPage
:
{},
...
...
@@ -357,9 +362,28 @@ export default {
case
'操作日志'
:
this
.
_operationRecord
(
data
.
id
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
}
})
},
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
this
.
_delete
(
ids
)
}
})
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
}
},
_editModal
(
id
,
type
,
name
)
{
this
.
currentComponent
=
'SoilSampleManageHis'
this
.
$nextTick
(()
=>
{
...
...
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