Commit ede8658a by 无尘

fix: 修改拖拽

parent 70172904
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-02-08 10:27:21 * @Date: 2020-02-08 10:27:21
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-11 16:20:11 * @LastEditTime: 2020-09-14 10:11:19
--> -->
<!-- <!--
选择门店分组组件: 选择门店分组组件:
...@@ -210,7 +210,6 @@ export default { ...@@ -210,7 +210,6 @@ export default {
* @author: 无尘 * @author: 无尘
*/ */
async treeData(data) { async treeData(data) {
// const that = this;
let tree = data.filter(father => { let tree = data.filter(father => {
// 循环所有项 // 循环所有项
let branchArr = data.filter(child => { let branchArr = data.filter(child => {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-28 16:51:22 * @Date: 2020-08-28 16:51:22
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-11 14:15:19 * @LastEditTime: 2020-09-14 11:09:40
--> -->
<template> <template>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
v-loading="loading" v-loading="loading"
ref="tagsData" ref="tagsData"
style="width: 100%"> style="width: 100%">
<el-table-column v-if="currentClassify === '' && searchVal === ''" prop="" label="" width="56" class-name="move-row-cell"> <el-table-column v-show="currentClassify === '' && searchVal === ''" prop="" label="" width="56" class-name="move-row-cell">
<template> <template>
<span class="font-22 iconfont icontuozhuaiopen color-c0c4cc" style="cursor: move;"></span> <span class="font-22 iconfont icontuozhuaiopen color-c0c4cc" style="cursor: move;"></span>
</template> </template>
...@@ -371,7 +371,7 @@ export default { ...@@ -371,7 +371,7 @@ export default {
toInput: _debounce(function() { toInput: _debounce(function() {
const that = this; const that = this;
that.getTableList(); that.getTableList();
}, 500), }, 200),
/** /**
* @description: 搜索清除 * @description: 搜索清除
* @author: 无尘 * @author: 无尘
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-27 10:16:37 * @Date: 2020-08-27 10:16:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-11 11:35:49 * @LastEditTime: 2020-09-14 11:09:30
--> -->
<template> <template>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
ref="memberCrowdData" ref="memberCrowdData"
row-key="sceneCrowdId" row-key="sceneCrowdId"
style="width: 100%"> style="width: 100%">
<el-table-column v-if="searchVal === '' && classifyId === ''" prop="" label="" width="56" class-name="move-row-cell"> <el-table-column v-show="searchVal === '' && classifyId === ''" prop="" label="" width="56" class-name="move-row-cell">
<template> <template>
<span class="font-22 iconfont icontuozhuaiopen color-c0c4cc" style="cursor: move;"></span> <span class="font-22 iconfont icontuozhuaiopen color-c0c4cc" style="cursor: move;"></span>
</template> </template>
...@@ -235,7 +235,7 @@ export default { ...@@ -235,7 +235,7 @@ export default {
} }
return ele.sceneCrowdName.indexOf(that.searchVal) != -1 && ele.sceneCrowdCategoryId == that.classifyId; return ele.sceneCrowdName.indexOf(that.searchVal) != -1 && ele.sceneCrowdCategoryId == that.classifyId;
}); });
}, 500), }, 200),
/** /**
* @description: 搜索清除 * @description: 搜索清除
* @returns {Boolean} * @returns {Boolean}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment