faf584cc by renchao@pashanhoo.com

style:材料明细

1 parent 6903929f
1 /* 1 /*
2 * @Description: 材料信息 2 * @Description: 材料信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-13 11:09:48 4 * @LastEditTime: 2023-09-13 15:39:37
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
...@@ -115,6 +115,22 @@ export function deleteClmx (bsmClmx) { ...@@ -115,6 +115,22 @@ export function deleteClmx (bsmClmx) {
115 } 115 }
116 116
117 /** 117 /**
118 * @description: 材料移动
119 * @param {*} data
120 * @author: renchao
121 */
122 export function move (direction, clmxBsm) {
123 return request({
124 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/move',
125 method: 'post',
126 params: {
127 direction: direction,
128 clmxBsm: clmxBsm
129 }
130 })
131 }
132
133 /**
118 * @description: 材料导入 134 * @description: 材料导入
119 * @param {*} data 135 * @param {*} data
120 * @author: renchao 136 * @author: renchao
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-13 09:10:29 4 * @LastEditTime: 2023-09-13 15:36:42
5 --> 5 -->
6 <template> 6 <template>
7 <div class="rlPopup"> 7 <div class="rlPopup">
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 <script> 53 <script>
54 import PhotoZoom from '@/components/PhotoZoom' 54 import PhotoZoom from '@/components/PhotoZoom'
55 import { getAltimeterInfo, getUuid } from '@/utils/operation.js' 55 import { getAltimeterInfo, getUuid } from '@/utils/operation.js'
56 import { uploadBatch, deleteClmx } from "@/api/clxx.js"; 56 import { uploadBatch, deleteClmx, move } from "@/api/clxx.js";
57 import publicPicture from '@/components/publicPicture/index.vue' 57 import publicPicture from '@/components/publicPicture/index.vue'
58 export default { 58 export default {
59 name: 'PreviewImage', 59 name: 'PreviewImage',
...@@ -141,7 +141,22 @@ ...@@ -141,7 +141,22 @@
141 }, 141 },
142 // 左右移动 142 // 左右移动
143 handleMove (direction) { 143 handleMove (direction) {
144 144 move(direction, this.previewImg.imgList[this.previewImg.index].bsmClmx).then(res => {
145 if (res.code == 200) {
146 if (direction == 'left') {
147 this.previewImg.index = this.previewImg.index - 1
148 } else {
149 this.previewImg.index = this.previewImg.index + 1
150 }
151 this.$emit('updateList', { children: res.result, bsmSj: this.previewImg.bsmSj })
152 this.$message({
153 message: '移动成功!',
154 type: 'success'
155 })
156 } else {
157 this.$message.error(res.message);
158 }
159 })
145 }, 160 },
146 /** 161 /**
147 * @description: 拍照 162 * @description: 拍照
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-09-12 09:55:25 4 * @LastEditTime: 2023-09-13 14:41:34
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
69 </el-col> 69 </el-col>
70 <el-col :span="8"> 70 <el-col :span="8">
71 <el-form-item label="坐落:"> 71 <el-form-item label="坐落:">
72 <el-input maxlength="100" v-model="ruleForm.sldy.zl"></el-input> 72 <el-input maxlength="100" disabled v-model="ruleForm.sldy.zl"></el-input>
73 </el-form-item> 73 </el-form-item>
74 </el-col> 74 </el-col>
75 </el-row> 75 </el-row>
......