Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
faf584cc
authored
2023-09-13 15:40:19 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:材料明细
1 parent
6903929f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
6 deletions
src/api/clxx.js
src/views/components/imagePreview.vue
src/views/ywbl/slsqxx/fdcq1/slxx.vue
src/api/clxx.js
View file @
faf584c
/*
* @Description: 材料信息
* @Autor: renchao
* @LastEditTime: 2023-09-13 1
1:09:48
* @LastEditTime: 2023-09-13 1
5:39:37
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
...
...
@@ -115,6 +115,22 @@ export function deleteClmx (bsmClmx) {
}
/**
* @description: 材料移动
* @param {*} data
* @author: renchao
*/
export
function
move
(
direction
,
clmxBsm
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/clxx/move'
,
method
:
'post'
,
params
:
{
direction
:
direction
,
clmxBsm
:
clmxBsm
}
})
}
/**
* @description: 材料导入
* @param {*} data
* @author: renchao
...
...
src/views/components/imagePreview.vue
View file @
faf584c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-13
09:10:29
* @LastEditTime: 2023-09-13
15:36:42
-->
<
template
>
<div
class=
"rlPopup"
>
...
...
@@ -53,7 +53,7 @@
<
script
>
import
PhotoZoom
from
'@/components/PhotoZoom'
import
{
getAltimeterInfo
,
getUuid
}
from
'@/utils/operation.js'
import
{
uploadBatch
,
deleteClmx
}
from
"@/api/clxx.js"
;
import
{
uploadBatch
,
deleteClmx
,
move
}
from
"@/api/clxx.js"
;
import
publicPicture
from
'@/components/publicPicture/index.vue'
export
default
{
name
:
'PreviewImage'
,
...
...
@@ -141,7 +141,22 @@
},
// 左右移动
handleMove
(
direction
)
{
move
(
direction
,
this
.
previewImg
.
imgList
[
this
.
previewImg
.
index
].
bsmClmx
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
direction
==
'left'
)
{
this
.
previewImg
.
index
=
this
.
previewImg
.
index
-
1
}
else
{
this
.
previewImg
.
index
=
this
.
previewImg
.
index
+
1
}
this
.
$emit
(
'updateList'
,
{
children
:
res
.
result
,
bsmSj
:
this
.
previewImg
.
bsmSj
})
this
.
$message
({
message
:
'移动成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
},
/**
* @description: 拍照
...
...
src/views/ywbl/slsqxx/fdcq1/slxx.vue
View file @
faf584c
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-09-1
2 09:55:25
* @LastEditTime: 2023-09-1
3 14:41:34
-->
<
template
>
<div
class=
"slxx"
>
...
...
@@ -69,7 +69,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"坐落:"
>
<el-input
maxlength=
"100"
v-model=
"ruleForm.sldy.zl"
></el-input>
<el-input
maxlength=
"100"
disabled
v-model=
"ruleForm.sldy.zl"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
Please
register
or
sign in
to post a comment