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
0c332456
Commit
0c332456
authored
Mar 23, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了收样管理工程类型和项目报告编制查看报告
parent
206b080c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
21 deletions
+51
-21
EntrustRegisterEdit.vue
pages/soil-alone-sample/EntrustRegisterEdit.vue
+19
-15
SoilGroupExpReportMake.vue
pages/soil-exp-report/report-make/SoilGroupExpReportMake.vue
+32
-6
No files found.
pages/soil-alone-sample/EntrustRegisterEdit.vue
View file @
0c332456
...
@@ -70,7 +70,13 @@
...
@@ -70,7 +70,13 @@
/**
/**
* 添加编辑分包商
* 添加编辑分包商
*/
*/
import
{
meterEntrust
,
meterSample
,
soilEntrust
,
soilSample
}
from
'../../api'
import
{
meterEntrust
,
meterSample
,
soilAptitude
,
soilEntrust
,
soilSample
}
from
'../../api'
import
importModal
from
'../../components/import/DownloadTemplateImport'
import
importModal
from
'../../components/import/DownloadTemplateImport'
import
AutoComplete
from
'../../components/base/AutoCompletes'
import
AutoComplete
from
'../../components/base/AutoCompletes'
import
SampleItemSelect
from
'../meter-aptitude/standard-manage/SampleItemSelect'
import
SampleItemSelect
from
'../meter-aptitude/standard-manage/SampleItemSelect'
...
@@ -104,20 +110,7 @@ export default {
...
@@ -104,20 +110,7 @@ export default {
searchOpen
:
true
,
searchOpen
:
true
,
testedCityData
:
[],
testedCityData
:
[],
judgeType
:
[{
value
:
1
,
name
:
'是'
},
{
value
:
0
,
name
:
'否'
}],
judgeType
:
[{
value
:
1
,
name
:
'是'
},
{
value
:
0
,
name
:
'否'
}],
projectArray
:
[
projectArray
:
[],
{
name
:
'开发项目'
},
{
name
:
'井场项目'
},
{
name
:
'风电项目'
},
{
name
:
'其他'
}
],
itemArray
:
[
itemArray
:
[
{
{
name
:
'深孔'
name
:
'深孔'
...
@@ -686,6 +679,7 @@ export default {
...
@@ -686,6 +679,7 @@ export default {
this
.
edit
=
false
this
.
edit
=
false
this
.
_getProjectList
()
this
.
_getProjectList
()
this
.
_getLeaderList
()
this
.
_getLeaderList
()
this
.
_getProjectArray
()
this
.
showBtn
=
true
this
.
showBtn
=
true
this
.
showModal
=
true
this
.
showModal
=
true
this
.
_hideLoading
()
this
.
_hideLoading
()
...
@@ -760,6 +754,16 @@ export default {
...
@@ -760,6 +754,16 @@ export default {
this
.
projectData
=
projectlist
this
.
projectData
=
projectlist
}
}
},
},
_getProjectArray
:
async
function
()
{
const
result
=
await
soilAptitude
.
getDictInfo
({
type
:
'工程类型'
,
page
:
1
,
rows
:
50
})
if
(
result
)
{
this
.
projectArray
=
result
.
records
}
},
_getLeaderList
:
async
function
()
{
_getLeaderList
:
async
function
()
{
const
result
=
await
soilSample
.
getUserList
()
const
result
=
await
soilSample
.
getUserList
()
if
(
result
)
{
if
(
result
)
{
...
...
pages/soil-exp-report/report-make/SoilGroupExpReportMake.vue
View file @
0c332456
...
@@ -9,21 +9,21 @@
...
@@ -9,21 +9,21 @@
<Form
id=
"search-contract-record"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<Form
id=
"search-contract-record"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
label=
"项目名称:"
>
<Form-item
label=
"项目名称:"
>
<Input
v-model=
"formObj.expName"
name=
"expName"
placeholder=
"请输入项目名称"
style=
"width: 200px
"
<Input
v-model=
"formObj.expName"
@
on-enter=
"_search"
name=
"expName"
placeholder=
"请输入项目名称
"
clearable
@
on-enter=
"_search"
/>
style=
"width: 200px"
clearable
/>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
type=
"primary"
@
click=
"_search
"
>
搜索
</Button>
<Button
@
click=
"_search"
type=
"primary
"
>
搜索
</Button>
</Form-item>
</Form-item>
</Form>
</Form>
</Col>
</Col>
<Col
span=
"24"
>
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
show-search-btn=
"true"
@
on-result-change=
"_btnClick
"
/>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
@
on-result-change=
"_btnClick"
show-search-btn=
"true
"
/>
</Col>
</Col>
<!-- 表格 -->
<!-- 表格 -->
<Col
span=
"24"
>
<Col
span=
"24"
>
<PTVXETable
ref=
"pageTable"
:table-height=
"tableHeight"
<PTVXETable
ref=
"pageTable"
:table-height=
"tableHeight"
:get-page=
"getPage"
show-check-box
@
on-result-change=
"_tableResultChange"
>
:get-page=
"getPage"
:icon-msg=
"iconMsg"
@
on-result-change=
"_tableResultChange"
show-check-box
>
<vxe-table-column
<vxe-table-column
v-for=
"item in pageColumns"
v-for=
"item in pageColumns"
:key=
"item.key"
:key=
"item.key"
...
@@ -68,6 +68,13 @@ export default {
...
@@ -68,6 +68,13 @@ export default {
{
title
:
'创建时间'
,
key
:
'ctime'
,
dateTime
:
true
}
{
title
:
'创建时间'
,
key
:
'ctime'
,
dateTime
:
true
}
],
],
btn
:
[{
id
:
'make-report-submit'
,
type
:
'primary'
,
name
:
'提交至审核'
}],
btn
:
[{
id
:
'make-report-submit'
,
type
:
'primary'
,
name
:
'提交至审核'
}],
iconMsg
:
[
{
type
:
'ios-book'
,
id
:
'make-report-view-item-report'
,
name
:
'查看项目报告'
}
],
formObj
:
{
formObj
:
{
entrustId
:
undefined
,
entrustId
:
undefined
,
expName
:
undefined
,
expName
:
undefined
,
...
@@ -97,7 +104,23 @@ export default {
...
@@ -97,7 +104,23 @@ export default {
break
break
}
}
},
},
_iconClick
(
name
,
data
)
{
switch
(
name
)
{
case
'查看项目报告'
:
this
.
_viewReport
(
data
)
break
}
},
_viewReport
(
data
)
{
if
(
data
.
objectKey
)
{
this
.
$openWindowModeless
({
objectKey
:
data
.
objectKey
,
id
:
data
.
id
,
isReport
:
4
,
idType
:
11
})
}
},
_submitExpReportMake
()
{
_submitExpReportMake
()
{
const
ids
=
this
.
selectIds
const
ids
=
this
.
selectIds
if
(
ids
.
length
===
0
)
{
if
(
ids
.
length
===
0
)
{
...
@@ -146,6 +169,9 @@ export default {
...
@@ -146,6 +169,9 @@ export default {
case
'selectIds'
:
case
'selectIds'
:
this
.
selectIds
=
data
this
.
selectIds
=
data
break
break
case
'iconClick'
:
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
componentName
)
break
}
}
},
},
_search
()
{
_search
()
{
...
...
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