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
facfe1db
Commit
facfe1db
authored
Dec 25, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了试样照片查询
parent
eaf17188
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
7 deletions
+23
-7
PhotoList.vue
components/file/photo-manage/PhotoList.vue
+6
-1
PhotoManageCont.vue
components/file/photo-manage/PhotoManageCont.vue
+1
-1
EntrustRegister.vue
pages/meter-entrust/entrust-register/EntrustRegister.vue
+4
-0
PrepareItemBatchEdit.vue
...sample-manage/sample-preparation/PrepareItemBatchEdit.vue
+4
-1
SampleParpareBatchEdit.vue
...mple-manage/sample-preparation/SampleParpareBatchEdit.vue
+5
-2
SoilSampleItemManageEdit.vue
...le-manage/sample-preparation/SoilSampleItemManageEdit.vue
+1
-0
RecordRightList.vue
...preparation/sample-preparation-record/RecordRightList.vue
+2
-2
No files found.
components/file/photo-manage/PhotoList.vue
View file @
facfe1db
...
...
@@ -228,7 +228,12 @@ export default {
this
.
_page
()
})
},
_page
:
async
function
()
{
_page
:
async
function
(
fileName
)
{
if
(
fileName
)
{
this
.
formObj
.
fileName
=
fileName
}
else
{
this
.
formObj
.
fileName
=
undefined
}
Object
.
assign
(
this
.
formObj
,
this
.
$refs
.
pageTable
.
_searchParams
())
const
result
=
await
meterEntrust
.
attachmentPage
(
this
.
urlData
.
pageUrl
,
...
...
components/file/photo-manage/PhotoManageCont.vue
View file @
facfe1db
...
...
@@ -222,7 +222,7 @@ export default {
},
// 搜索
_search
()
{
this
.
$refs
.
fileModal
.
_page
()
this
.
$refs
.
fileModal
.
_page
(
this
.
fileName
)
}
}
}
...
...
pages/meter-entrust/entrust-register/EntrustRegister.vue
View file @
facfe1db
...
...
@@ -353,6 +353,7 @@ export default {
_editModal
(
edit
,
id
)
{
this
.
currentComponent
=
'EntrustRegisterEdit'
if
(
edit
)
{
this
.
$refs
.
pageTable
.
_showLoading
()
// 编辑
this
.
_getById
(
id
)
}
else
{
...
...
@@ -373,6 +374,9 @@ export default {
const
result
=
await
soilEntrust
.
getVOById
(
id
)
if
(
result
)
{
this
.
$refs
.
refModal
.
_openEdit
(
result
)
this
.
$refs
.
pageTable
.
_hideLoading
()
}
else
{
this
.
$refs
.
pageTable
.
_hideLoading
()
}
},
_delete
:
async
function
(
ids
)
{
...
...
pages/soil-sample-manage/sample-preparation/PrepareItemBatchEdit.vue
View file @
facfe1db
...
...
@@ -98,6 +98,8 @@ export default {
_selTestBasis
(
msg
,
data
)
{
if
(
msg
===
'select'
)
{
this
.
formObj
.
testBasis
=
data
.
name
}
else
if
(
msg
===
'query'
)
{
this
.
formObj
.
testBasis
=
data
.
name
}
},
channelInputLimit
(
e
)
{
...
...
@@ -168,6 +170,7 @@ export default {
this
.
showModal
=
true
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
sampleUnit
=
''
this
.
formObj
.
testBasis
=
''
this
.
$refs
.
footerModal
.
_hideLoading
()
this
.
ids
=
data
// 循环遍历数据
...
...
@@ -212,7 +215,7 @@ export default {
this
.
$refs
.
formObj
.
validate
(
valid
=>
{
if
(
valid
)
{
console
.
log
(
this
.
formObj
)
const
tempData
=
this
.
formObj
const
tempData
=
this
.
$serializeForm
(
this
.
formObj
)
tempData
.
ids
=
this
.
ids
.
join
(
','
)
this
.
_saveInfo
(
tempData
)
}
else
{
...
...
pages/soil-sample-manage/sample-preparation/SampleParpareBatchEdit.vue
View file @
facfe1db
...
...
@@ -3,7 +3,7 @@
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
>
<p
slot=
"header"
>
填写制备信息
</p>
<div>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
<Form
id=
"storage-location-form"
:id=
"formId"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
<Form-item
label=
"制备方式:"
prop=
"prepareWay"
>
<el-select
:value=
"formObj.prepareWay"
@
change=
"selPrepareWay"
style=
"width:100%"
size=
"small"
>
<el-option
v-for=
"item in prepareWayList"
:value=
"item.name"
:key=
"item.name"
>
{{
item
.
name
}}
...
...
@@ -63,6 +63,7 @@ export default {
showModal
:
false
,
formObj
:
{},
ruleValidate
:
{},
formId
:
''
,
footerList
:
[
{
id
:
''
,
name
:
'取消'
,
type
:
''
},
{
id
:
''
,
name
:
'保存'
,
type
:
'primary'
}
...
...
@@ -161,6 +162,7 @@ export default {
},
_open
(
data
)
{
this
.
showModal
=
true
this
.
formId
=
'edit-form-batchEdit'
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
sampleUnit
=
''
this
.
$refs
.
footerModal
.
_hideLoading
()
...
...
@@ -206,7 +208,8 @@ export default {
_ok
()
{
this
.
$refs
.
formObj
.
validate
(
valid
=>
{
if
(
valid
)
{
this
.
$emit
(
'on-result-change'
,
this
.
formObj
)
console
.
log
(
'formObj'
,
this
.
$serializeForm
(
this
.
formObj
))
this
.
$emit
(
'on-result-change'
,
this
.
$serializeForm
(
this
.
formObj
))
this
.
showModal
=
false
this
.
$refs
.
footerModal
.
_hideLoading
()
}
else
{
...
...
pages/soil-sample-manage/sample-preparation/SoilSampleItemManageEdit.vue
View file @
facfe1db
...
...
@@ -591,6 +591,7 @@ export default {
this
.
$refs
.
pageTable
.
_pageChange
(
1
)
},
_pageByEntrustId
:
async
function
()
{
this
.
selectIds
=
[]
Object
.
assign
(
this
.
formObj
,
this
.
$refs
.
pageTable
.
_searchParams
())
this
.
formObj
=
this
.
$serializeForm
(
this
.
formObj
)
this
.
formObj
.
entrustId
=
this
.
entrustId
...
...
pages/soil-sample-manage/sample-preparation/sample-preparation-record/RecordRightList.vue
View file @
facfe1db
...
...
@@ -5,8 +5,8 @@
<Col
span=
"24"
>
<Form
id=
"task-assign-item-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"
检测项目
:"
>
<Input
@
on-enter=
"_formSearch"
name=
"name"
placeholder=
"请输入检测项目
"
clearable
></Input>
<Form-item
class=
"search-item"
label=
"
试样编号
:"
>
<Input
@
on-enter=
"_formSearch"
v-model=
"formObj.sampleCode"
name=
"sampleCode"
placeholder=
"请输入试样编号
"
clearable
></Input>
</Form-item>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
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