faf584cc by renchao@pashanhoo.com

style:材料明细

1 parent 6903929f
/*
* @Description: 材料信息
* @Autor: renchao
* @LastEditTime: 2023-09-13 11:09:48
* @LastEditTime: 2023-09-13 15: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
......
<!--
* @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: 拍照
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-09-12 09:55:25
* @LastEditTime: 2023-09-13 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>
......