Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
李俊赕
self-support
Commits
6a939c3d
Commit
6a939c3d
authored
May 12, 2021
by
李超鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
type:update
scope:self body:完工项图片拍照
parent
d2e14893
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
24 deletions
+15
-24
XhFiles.vue
src/components/createCom/XhFiles.vue
+14
-23
complete.vue
src/pages/order/complete.vue
+1
-1
No files found.
src/components/createCom/XhFiles.vue
View file @
6a939c3d
...
...
@@ -41,7 +41,15 @@
},
partnerCompanyId
:
{
type
:
String
,
default
:
'{}'
default
:
''
},
categoryId
:
{
type
:
String
,
default
:
''
},
brandId
:
{
type
:
String
,
default
:
''
},
},
filters
:{},
...
...
@@ -143,34 +151,17 @@
},
getPhotoStander
(){
// 获取拍照规范接口
let
self
=
this
this
.
$u
.
api
.
orderStandardItem
({}).
then
((
res
)
=>
{
let
param
=
{
"partnerCompanyId"
:
self
.
partnerCompanyId
,
"categoryId"
:
self
.
categoryId
,
"brandId"
:
self
.
brandId
,
"fieldName"
:
self
.
item
.
fieldsName
}
this
.
$u
.
api
.
orderStandardItem
(
param
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
length
>
0
)
{
self
.
currentItemDate
=
res
.
data
[
0
]
}
else
{
console
.
log
(
"获取完工项的拍照标准异常"
,
res
.
data
.
message
)
}
})
// self.currentItemDate = {
// "id": 154,
// "partnerCompanyId": 10115000001,
// "categoryId": 1100000216,
// "brandId": null,
// "type": "勘测部分",
// "name": "勘测单",
// "fieldName": "06",
// "images": [
// "https://cloud-bak.banshouhui.com/2-勘测单.jpg"
// ],
// "mainPoint": [
// "表格清晰,文字可辨",
// "表格居中,不倾斜",
// "全部填写完整,不能填写的部分划横杠。",
// "涉及到用户签字部分,不允许我方人员代签,由用户或用户指定人进行签字确认。",
// "涉及到物业的由现场物业人员签字确认。"
// ],
// "note": "正面拍摄,完整看到单据 4 条边",
// "orderImages": null
// }
},
getWatermark
(){
if
(
getApp
().
globalData
.
photo
.
waterSetting
){
...
...
src/pages/order/complete.vue
View file @
6a939c3d
...
...
@@ -49,7 +49,7 @@
@
value-change=
"fieldValueChange"
>
</xh-select>
<xh-files
v-else-if=
"typeToComponentType(item.fieldsType)==='file'"
:groupIndex=
"groupIndex"
:itemIndex=
"itemIndex"
:item=
"item"
:partnerCompanyId=
"partnerCompanyId"
:value=
'form[item.fieldsName] || []'
:groupIndex=
"groupIndex"
:itemIndex=
"itemIndex"
:item=
"item"
:partnerCompanyId=
"partnerCompanyId"
:
categoryId=
"categoryId"
:
value=
'form[item.fieldsName] || []'
@
value-change=
"fieldValueChange"
>
</xh-files>
<xh-location
v-else-if=
"typeToComponentType(item.fieldsType)==='location'"
...
...
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