f3fb7fa5 by renchao@pashanhoo.com

style:移动

1 parent ec8a3d61
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-12 08:51:36 4 * @LastEditTime: 2023-09-12 13:42:11
5 --> 5 -->
6 <template> 6 <template>
7 <div class="rlPopup"> 7 <div class="rlPopup">
...@@ -136,7 +136,6 @@ ...@@ -136,7 +136,6 @@
136 this.scanTitle = '打开高拍仪' 136 this.scanTitle = '打开高拍仪'
137 } 137 }
138 }, 138 },
139 // 左右移动
140 /** 139 /**
141 * @description: 左右移动 140 * @description: 左右移动
142 * @param {*} direction 141 * @param {*} direction
...@@ -144,11 +143,15 @@ ...@@ -144,11 +143,15 @@
144 */ 143 */
145 handleMove (direction) { 144 handleMove (direction) {
146 move(this.previewImg.imgList[this.previewImg.index].bsmFile, direction).then(res => { 145 move(this.previewImg.imgList[this.previewImg.index].bsmFile, direction).then(res => {
147 this.$emit('updateList', { children: res.result, bsmMaterial: this.previewImg.bsmMaterial }) 146 if (res.code == 200) {
148 this.$message({ 147 this.$emit('updateList', { children: res.result, bsmMaterial: this.previewImg.bsmMaterial })
149 message: '移动成功!', 148 this.$message({
150 type: 'success' 149 message: '移动成功!',
151 }) 150 type: 'success'
151 })
152 } else {
153 this.$message.error(res.message);
154 }
152 }) 155 })
153 }, 156 },
154 /** 157 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-12 11:26:18 4 * @LastEditTime: 2023-09-12 13:39:20
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -293,7 +293,6 @@ ...@@ -293,7 +293,6 @@
293 * @author: renchao 293 * @author: renchao
294 */ 294 */
295 ywhClick (item) { 295 ywhClick (item) {
296 sessionStorage.removeItem('keyPath')
297 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 296 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面
298 judgeUserTaskPermission({ 297 judgeUserTaskPermission({
299 bsmSlsq: item.bsmSlsq, 298 bsmSlsq: item.bsmSlsq,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-12 11:25:49 4 * @LastEditTime: 2023-09-12 13:39:30
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -219,7 +219,6 @@ ...@@ -219,7 +219,6 @@
219 * @author: renchao 219 * @author: renchao
220 */ 220 */
221 ywhClick (item) { 221 ywhClick (item) {
222 sessionStorage.removeItem('keyPath')
223 //有任务权限 222 //有任务权限
224 if (item.sjlx == "3") { 223 if (item.sjlx == "3") {
225 item.djywbm = "DJBBL"; 224 item.djywbm = "DJBBL";
...@@ -241,9 +240,9 @@ ...@@ -241,9 +240,9 @@
241 ); 240 );
242 window.open(href, `workFrameView${item.bsmSlsq}`); 241 window.open(href, `workFrameView${item.bsmSlsq}`);
243 } 242 }
244 }, 243 }
245 }, 244 }
246 }; 245 }
247 </script> 246 </script>
248 <style scoped lang="scss"> 247 <style scoped lang="scss">
249 @import "~@/styles/public.scss"; 248 @import "~@/styles/public.scss";
......