Commit e57b70dd by 无尘

fix: 修改排序

parent 7eaa686c
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-28 15:24:12 * @Date: 2020-08-28 15:24:12
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-04 10:29:25 * @LastEditTime: 2020-09-08 15:12:53
--> -->
<!-- <!--
门店绑定-选择分组 门店绑定-选择分组
...@@ -80,6 +80,7 @@ export default { ...@@ -80,6 +80,7 @@ export default {
* @param {String} value * @param {String} value
* @param {Object} data * @param {Object} data
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘
*/ */
filterNode(value, data) { filterNode(value, data) {
if (!value || !data.label) return true; if (!value || !data.label) return true;
...@@ -90,6 +91,7 @@ export default { ...@@ -90,6 +91,7 @@ export default {
* @param {Object} e * @param {Object} e
* @param {String} value * @param {String} value
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘
*/ */
toInput: _debounce(function(e, value) { toInput: _debounce(function(e, value) {
const that = this; const that = this;
...@@ -100,6 +102,7 @@ export default { ...@@ -100,6 +102,7 @@ export default {
/** /**
* @description: 清空 * @description: 清空
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘
*/ */
clearSearch() { clearSearch() {
return false; return false;
...@@ -108,6 +111,7 @@ export default { ...@@ -108,6 +111,7 @@ export default {
* @description: 选择 tree 节点,获取选择节点信息 * @description: 选择 tree 节点,获取选择节点信息
* @param {Object} e * @param {Object} e
* @param {Array} checkedKeys * @param {Array} checkedKeys
* @author: 无尘
*/ */
checkGroup: function(e, checkedKeys) { checkGroup: function(e, checkedKeys) {
const that = this; const that = this;
...@@ -146,6 +150,7 @@ export default { ...@@ -146,6 +150,7 @@ export default {
/** /**
* @description: 获取门店分组 * @description: 获取门店分组
* @author: 无尘
*/ */
getGroup() { getGroup() {
const that = this; const that = this;
...@@ -154,7 +159,6 @@ export default { ...@@ -154,7 +159,6 @@ export default {
enterpriseId: that.brandId, enterpriseId: that.brandId,
wxEnterpriseId: that.wxEnterpriseId wxEnterpriseId: that.wxEnterpriseId
}; };
getGroupList(para) getGroupList(para)
.then(async res => { .then(async res => {
if (!!res.result && res.result.length) { if (!!res.result && res.result.length) {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-28 15:24:42 * @Date: 2020-08-28 15:24:42
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-04 10:32:24 * @LastEditTime: 2020-09-08 15:13:10
--> -->
<!-- <!--
<customer-store :brand-id="brandId" :select-store="selectStore" @checkStoreIds="checkStoreIds"></customer-store> <customer-store :brand-id="brandId" :select-store="selectStore" @checkStoreIds="checkStoreIds"></customer-store>
...@@ -88,6 +88,7 @@ export default { ...@@ -88,6 +88,7 @@ export default {
/** /**
* @description: 选择改变 * @description: 选择改变
* @param {Array} value * @param {Array} value
* @author: 无尘
*/ */
handleStoresChange(value) { handleStoresChange(value) {
const that = this; const that = this;
...@@ -103,6 +104,7 @@ export default { ...@@ -103,6 +104,7 @@ export default {
* @description: 输入 * @description: 输入
* @param {Object} e * @param {Object} e
* @param {String} value * @param {String} value
* @author: 无尘
*/ */
toInput: _debounce(function(e, value) { toInput: _debounce(function(e, value) {
const that = this; const that = this;
...@@ -115,6 +117,7 @@ export default { ...@@ -115,6 +117,7 @@ export default {
/** /**
* @description: 清空 * @description: 清空
* @author: 无尘
*/ */
clearSearch() { clearSearch() {
const that = this; const that = this;
...@@ -125,6 +128,7 @@ export default { ...@@ -125,6 +128,7 @@ export default {
/** /**
* @description: 获取门店 * @description: 获取门店
* @author: 无尘
*/ */
getStoreData() { getStoreData() {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-09-01 17:16:25 * @Date: 2020-09-01 17:16:25
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-08 12:21:45 * @LastEditTime: 2020-09-08 15:12:15
--> -->
<!-- <!--
...@@ -157,6 +157,7 @@ export default { ...@@ -157,6 +157,7 @@ export default {
}, },
/** /**
* @description: 关闭弹窗 * @description: 关闭弹窗
* @author: 无尘
*/ */
cancel() { cancel() {
const that = this; const that = this;
...@@ -171,6 +172,7 @@ export default { ...@@ -171,6 +172,7 @@ export default {
* @description: 确定保存 * @description: 确定保存
* @param {String} formName * @param {String} formName
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘
*/ */
submit: _debounce(function(formName) { submit: _debounce(function(formName) {
const that = this; const that = this;
...@@ -234,6 +236,7 @@ export default { ...@@ -234,6 +236,7 @@ export default {
}, },
/** /**
* @description: 获取分类数据 * @description: 获取分类数据
* @author: 无尘
*/ */
getClassifyList() { getClassifyList() {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-28 11:07:46 * @Date: 2020-08-28 11:07:46
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-08 12:15:14 * @LastEditTime: 2020-09-08 15:10:48
--> -->
<!-- <!--
<edit-visiable :brand-id="brandId" :set-item-id="setItemId" :set-type="setType" :select-mode="selectMode" :range-data="rangeData" @refreshData="refreshData"></edit-visiable> <edit-visiable :brand-id="brandId" :set-item-id="setItemId" :set-type="setType" :select-mode="selectMode" :range-data="rangeData" @refreshData="refreshData"></edit-visiable>
...@@ -102,6 +102,7 @@ export default { ...@@ -102,6 +102,7 @@ export default {
/** /**
* @description: 改变选择范围 * @description: 改变选择范围
* @param {String} e * @param {String} e
* @author: 无尘
*/ */
changeRange(e) { changeRange(e) {
const that = this; const that = this;
...@@ -111,6 +112,7 @@ export default { ...@@ -111,6 +112,7 @@ export default {
/** /**
* @description: 关闭弹窗 * @description: 关闭弹窗
* @param {Function} done * @param {Function} done
* @author: 无尘
*/ */
handleClose(done) { handleClose(done) {
const that = this; const that = this;
...@@ -129,6 +131,7 @@ export default { ...@@ -129,6 +131,7 @@ export default {
/** /**
* @description: 每次选择分组 * @description: 每次选择分组
* @param {Array} nodes * @param {Array} nodes
* @author: 无尘
*/ */
checkGroupIds: function(nodes) { checkGroupIds: function(nodes) {
const that = this; const that = this;
...@@ -137,6 +140,7 @@ export default { ...@@ -137,6 +140,7 @@ export default {
/** /**
* @description: 每次选择门店 * @description: 每次选择门店
* @param {Array} nodes * @param {Array} nodes
* @author: 无尘
*/ */
checkStoreIds: function(nodes) { checkStoreIds: function(nodes) {
const that = this; const that = this;
...@@ -145,6 +149,7 @@ export default { ...@@ -145,6 +149,7 @@ export default {
/** /**
* @description: 确定 * @description: 确定
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘
*/ */
submitForm: _debounce(function() { submitForm: _debounce(function() {
const that = this; const that = this;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-08-13 14:02:22 * @Date : 2020-08-13 14:02:22
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-08 10:50:39 * @LastEditTime: 2020-09-08 15:11:11
* @FilePath : haoban-4\src\components\app\my-customer\store-list.vue * @FilePath : haoban-4\src\components\app\my-customer\store-list.vue
--> -->
<!-- <!--
...@@ -113,6 +113,7 @@ export default { ...@@ -113,6 +113,7 @@ export default {
/** /**
* @description: 查看会员 * @description: 查看会员
* @param {Object} item * @param {Object} item
* @author: 无尘
*/ */
showMember(item) { showMember(item) {
const that = this; const that = this;
...@@ -120,6 +121,7 @@ export default { ...@@ -120,6 +121,7 @@ export default {
}, },
/** /**
* @description: 输入 * @description: 输入
* @author: 无尘
*/ */
toInput: _debounce(function() { toInput: _debounce(function() {
const that = this; const that = this;
...@@ -139,6 +141,7 @@ export default { ...@@ -139,6 +141,7 @@ export default {
/** /**
* @description:分页---页码变化 * @description:分页---页码变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleSizeChange(val) { handleSizeChange(val) {
const that = this; const that = this;
...@@ -150,6 +153,7 @@ export default { ...@@ -150,6 +153,7 @@ export default {
/** /**
* @description: 分页---当前页变化 * @description: 分页---当前页变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleCurrentChange(val) { handleCurrentChange(val) {
const that = this; const that = this;
...@@ -158,6 +162,7 @@ export default { ...@@ -158,6 +162,7 @@ export default {
}, },
/** /**
* @description: 获取列表数据 * @description: 获取列表数据
* @author: 无尘
*/ */
getTableList() { getTableList() {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-28 10:31:09 * @Date: 2020-08-28 10:31:09
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-07 18:15:47 * @LastEditTime: 2020-09-08 15:11:54
--> -->
<!-- <!--
<sync-crowd-dialog :brand-id="brandId" :select-ids="selectIds" :total-num="totalNum" @refreshData="refreshData"></sync-crowd-dialog> <sync-crowd-dialog :brand-id="brandId" :select-ids="selectIds" :total-num="totalNum" @refreshData="refreshData"></sync-crowd-dialog>
...@@ -127,6 +127,7 @@ export default { ...@@ -127,6 +127,7 @@ export default {
* @description: 确定保存 * @description: 确定保存
* @param {String} form * @param {String} form
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘
*/ */
submitForm: _debounce(function() { submitForm: _debounce(function() {
const that = this; const that = this;
...@@ -166,6 +167,7 @@ export default { ...@@ -166,6 +167,7 @@ export default {
/** /**
* @description: 表格---多选 * @description: 表格---多选
* @param {Array} val * @param {Array} val
* @author: 无尘
*/ */
handleSelectionChange(val) { handleSelectionChange(val) {
const that = this; const that = this;
...@@ -173,6 +175,7 @@ export default { ...@@ -173,6 +175,7 @@ export default {
}, },
/** /**
* @description: 关闭 * @description: 关闭
* @author: 无尘
*/ */
cancel() { cancel() {
const that = this; const that = this;
...@@ -194,6 +197,7 @@ export default { ...@@ -194,6 +197,7 @@ export default {
}, },
/** /**
* @description: 搜索输入 * @description: 搜索输入
* @author: 无尘
*/ */
toInput: _debounce(function() { toInput: _debounce(function() {
const that = this; const that = this;
...@@ -202,6 +206,7 @@ export default { ...@@ -202,6 +206,7 @@ export default {
}, 500), }, 500),
/** /**
* @description: 搜索清除 * @description: 搜索清除
* @author: 无尘
*/ */
clearInput() { clearInput() {
const that = this; const that = this;
...@@ -210,6 +215,7 @@ export default { ...@@ -210,6 +215,7 @@ export default {
}, },
/** /**
* @description: 条件 * @description: 条件
* @author: 无尘
*/ */
changeCondition() { changeCondition() {
const that = this; const that = this;
...@@ -220,6 +226,7 @@ export default { ...@@ -220,6 +226,7 @@ export default {
/** /**
* @description: 分页---页码变化 * @description: 分页---页码变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleSizeChange(val) { handleSizeChange(val) {
const that = this; const that = this;
...@@ -231,6 +238,7 @@ export default { ...@@ -231,6 +238,7 @@ export default {
/** /**
* @description: 分页---当前页变化 * @description: 分页---当前页变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleCurrentChange(val) { handleCurrentChange(val) {
const that = this; const that = this;
...@@ -239,6 +247,7 @@ export default { ...@@ -239,6 +247,7 @@ export default {
}, },
/** /**
* @description: 获取分类 * @description: 获取分类
* @author: 无尘
*/ */
getGroupClassify() { getGroupClassify() {
const that = this; const that = this;
...@@ -256,6 +265,7 @@ export default { ...@@ -256,6 +265,7 @@ export default {
}, },
/** /**
* @description: 获取列表数据 * @description: 获取列表数据
* @author: 无尘
*/ */
getTableList() { getTableList() {
const that = this; const that = this;
...@@ -297,4 +307,7 @@ export default { ...@@ -297,4 +307,7 @@ export default {
.w-165 { .w-165 {
width: 165px; width: 165px;
} }
.dialog-footer {
margin-top: -20px;
}
</style> </style>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-02-13 16:13:59 * @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-28 16:13:29 * @LastEditTime: 2020-09-08 15:23:25
* @FilePath :\haoban-4\src\components\company\add-member.vue * @FilePath :\haoban-4\src\components\company\add-member.vue
--> -->
<!-- <!--
...@@ -159,24 +159,27 @@ export default { ...@@ -159,24 +159,27 @@ export default {
}, },
methods: { methods: {
/** /**
* 选择部门 * @description: 选择部门
* @param {Object} obj * @param {Object} obj
* @author: 无尘
*/ */
changeDepart(obj) { changeDepart(obj) {
const that = this; const that = this;
that.$emit('changeObj', obj); that.$emit('changeObj', obj);
}, },
/** /**
* 选择部门 * @description: 选择部门
* @param {Object} nodes * @param {Object} nodes
* @author: 无尘
*/ */
checkGroupIds: function(nodes) { checkGroupIds: function(nodes) {
const that = this; const that = this;
that.partForm.departmentInfo = nodes; that.partForm.departmentInfo = nodes;
}, },
/** /**
* 改变对外职务 * @description: 改变对外职务
* @param {String} e * @param {String} e
* @author: 无尘
*/ */
changeExtendPostion(e) { changeExtendPostion(e) {
const that = this; const that = this;
...@@ -188,8 +191,9 @@ export default { ...@@ -188,8 +191,9 @@ export default {
} }
}, },
/** /**
* 关闭弹窗 * @description: 关闭弹窗
* @param {Function} done * @param {Function} done
* @author: 无尘
*/ */
handleClose(done) { handleClose(done) {
const that = this; const that = this;
...@@ -204,8 +208,9 @@ export default { ...@@ -204,8 +208,9 @@ export default {
}, },
/** /**
* 确定保存 * @description: 确定保存
* @param {String} form * @param {String} form
* @author: 无尘
*/ */
submitForm(form) { submitForm(form) {
const that = this; const that = this;
...@@ -218,7 +223,8 @@ export default { ...@@ -218,7 +223,8 @@ export default {
}, },
/** /**
* 获取数据 * @description: 获取数据
* @author: 无尘
*/ */
getData() { getData() {
const that = this; const that = this;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-02-13 16:13:59 * @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-31 15:23:57 * @LastEditTime: 2020-09-08 15:09:42
* @FilePath : \haoban-4\src\components\company\add-relate.vue * @FilePath : \haoban-4\src\components\company\add-relate.vue
--> -->
<!-- <!--
...@@ -89,15 +89,17 @@ export default { ...@@ -89,15 +89,17 @@ export default {
}, },
methods: { methods: {
/** /**
* 显示pop * @description: 显示 pop
* @author: 无尘
*/ */
showPop() { showPop() {
const that = this; const that = this;
that.visible = true; that.visible = true;
}, },
/** /**
* 解绑 * @description: 解绑
* @param {Object} row * @param {Object} row
* @author: 无尘
*/ */
toUnbind(row) { toUnbind(row) {
const that = this; const that = this;
...@@ -139,9 +141,10 @@ export default { ...@@ -139,9 +141,10 @@ export default {
}); });
}, },
/** /**
* 选择 * @description: 选择
* @param {Object} item * @param {Object} item
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘
*/ */
checkStore(item) { checkStore(item) {
const that = this; const that = this;
...@@ -161,7 +164,8 @@ export default { ...@@ -161,7 +164,8 @@ export default {
}); });
}, },
/** /**
* 输入 * @description: 输入
* @author: 无尘
*/ */
toInput: _debounce(function() { toInput: _debounce(function() {
const that = this; const that = this;
...@@ -172,15 +176,17 @@ export default { ...@@ -172,15 +176,17 @@ export default {
that.getData(); that.getData();
}, 500), }, 500),
/** /**
* 搜索清除 * @description: 搜索清除
* @author: 无尘
*/ */
clearSearch() { clearSearch() {
const that = this; const that = this;
that.storeData = []; that.storeData = [];
}, },
/** /**
* 关闭弹窗 * @description: 关闭弹窗
* @param {Function} done * @param {Function} done
* @author: 无尘
*/ */
handleClose(done) { handleClose(done) {
const that = this; const that = this;
...@@ -194,8 +200,9 @@ export default { ...@@ -194,8 +200,9 @@ export default {
that.$emit('refreshData', 'close'); that.$emit('refreshData', 'close');
}, },
/** /**
* 确定保存 * @description: 确定保存
* @param {String} form * @param {String} form
* @author: 无尘
*/ */
submitForm: _debounce(function(form) { submitForm: _debounce(function(form) {
const that = this; const that = this;
...@@ -232,6 +239,10 @@ export default { ...@@ -232,6 +239,10 @@ export default {
that.loading = false; that.loading = false;
}); });
}, },
/**
* @description: 获取关联导购
* @author: 无尘
*/
getData() { getData() {
const that = this; const that = this;
let para = { let para = {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-02-13 14:02:40 * @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-28 16:13:47 * @LastEditTime: 2020-09-08 15:23:40
* @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue * @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue
--> -->
<!-- <!--
...@@ -40,8 +40,9 @@ export default { ...@@ -40,8 +40,9 @@ export default {
}, },
methods: { methods: {
/** /**
* 路由跳转 * @description: 路由跳转
* @param {String} path * @param {String} path
* @author: 无尘
*/ */
changeRoute(path) { changeRoute(path) {
this.$router.push(path); this.$router.push(path);
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-02-13 14:02:40 * @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-28 16:13:56 * @LastEditTime: 2020-09-08 15:24:08
* @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue * @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue
--> -->
<!-- <!--
...@@ -87,15 +87,17 @@ export default { ...@@ -87,15 +87,17 @@ export default {
}, },
methods: { methods: {
/** /**
* 取消 * @description: 取消
* @author: 无尘
*/ */
cancel() { cancel() {
const that = this; const that = this;
that.$emit('returnStep'); that.$emit('returnStep');
}, },
/** /**
* 提交审核 * @description: 提交审核
* @param {String} form * @param {String} form
* @author: 无尘
*/ */
submitForm: _throttle( function(form) { submitForm: _throttle( function(form) {
const that = this; const that = this;
...@@ -117,8 +119,9 @@ export default { ...@@ -117,8 +119,9 @@ export default {
}); });
}, },
/** /**
* 路由跳转 * @description: 路由跳转
* @param {String} path * @param {String} path
* @author: 无尘
*/ */
changeRoute(path) { changeRoute(path) {
this.$router.push(path); this.$router.push(path);
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-02-13 14:02:40 * @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-18 16:34:02 * @LastEditTime: 2020-09-08 15:24:35
* @FilePath : j:\公司\haoban-4\src\components\company\auth-tip.vue * @FilePath : j:\公司\haoban-4\src\components\company\auth-tip.vue
--> -->
<!-- <!--
...@@ -38,17 +38,7 @@ export default { ...@@ -38,17 +38,7 @@ export default {
return { return {
}; };
}, }
methods: {
/**
* 路由跳转
* @param {String} path
*/
changeRoute(path) {
this.$router.push(path);
},
},
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-31 16:11:50 * @Date: 2020-08-31 16:11:50
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-08 11:13:21 * @LastEditTime: 2020-09-08 15:07:46
--> -->
<!-- <!--
<check-name-dialog :sync-data="syncData"></check-name-dialog> <check-name-dialog :sync-data="syncData"></check-name-dialog>
import checkNameDialog from '@/components/company/check-name-dialog.vue'; import checkNameDialog from '@/components/company/check-name-dialog.vue';
--> -->
<template> <template>
<el-dialog class="check-name-dialog" title="" :visible.sync="dialogVisible" width="600px" :before-close="handleClose"> <el-dialog class="check-name-dialog" title="提示" :visible.sync="dialogVisible" width="600px" :before-close="handleClose">
<div class="m-b-20"> <div class="m-b-20">
<div class="font-14 color-606266 m-b-10">首次授权商户需要校验GIC商户超级管理员姓名</div> <div class="font-14 color-606266 m-b-10">首次授权商户需要校验GIC商户超级管理员姓名</div>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" > <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" >
...@@ -59,7 +59,8 @@ export default { ...@@ -59,7 +59,8 @@ export default {
}, },
methods: { methods: {
/** /**
* 关闭弹窗 * @description: 关闭弹窗
* @author: 无尘
*/ */
handleClose() { handleClose() {
const that = this; const that = this;
...@@ -70,7 +71,9 @@ export default { ...@@ -70,7 +71,9 @@ export default {
that.$emit('closeSet', 'close'); that.$emit('closeSet', 'close');
}, },
/** /**
* 确认验证 * @description: 确认验证
* @param {String} form
* @author: 无尘
*/ */
submitForm: _debounce(function(form) { submitForm: _debounce(function(form) {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-08-14 16:51:07 * @Date: 2019-08-14 16:51:07
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-28 16:15:03 * @LastEditTime: 2020-09-08 15:26:31
--> -->
<!-- <!--
通讯录部门 通讯录部门
...@@ -75,15 +75,17 @@ export default { ...@@ -75,15 +75,17 @@ export default {
}, },
methods: { methods: {
/** /**
* 改变数组数据 * @description: 改变数组数据
* @param {Array} value * @param {Array} value
* @author: 无尘
*/ */
emitter(value) { emitter(value) {
this.$emit('input', value); this.$emit('input', value);
}, },
/** /**
* 展开或者关闭下级 * @description: 展开或者关闭下级
* @param {object} item * @param {Object} item
* @author: 无尘
*/ */
async toggleExpand(item) { async toggleExpand(item) {
const that = this; const that = this;
...@@ -99,8 +101,9 @@ export default { ...@@ -99,8 +101,9 @@ export default {
that.$forceUpdate(); that.$forceUpdate();
}, },
/** /**
* 获取选中部门/门店数据 * @description: 获取选中部门/门店数据
* @param {Object} obj * @param {Object} obj
* @author: 无尘
*/ */
getSelectData(obj) { getSelectData(obj) {
const that = this; const that = this;
......
...@@ -88,22 +88,28 @@ export default { ...@@ -88,22 +88,28 @@ export default {
document.documentElement.style.backgroundColor = '#fff'; document.documentElement.style.backgroundColor = '#fff';
}, },
methods: { methods: {
/**
* @description: 关闭弹窗
* @author: 无尘
*/
handleClose() { handleClose() {
const that = this; const that = this;
that.tableData = []; that.tableData = [];
that.$emit('closeLog'); that.$emit('closeLog');
}, },
/** /**
* 路由跳转 * @description: 路由跳转
* @param {String} path * @param {String} path
* @author: 无尘
*/ */
changeRoute(path) { changeRoute(path) {
this.$router.push(path); this.$router.push(path);
}, },
/** /**
* 分页---页码变化 * @description: 分页---页码变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleSizeChange(val) { handleSizeChange(val) {
const that = this; const that = this;
...@@ -113,8 +119,9 @@ export default { ...@@ -113,8 +119,9 @@ export default {
}, },
/** /**
* 分页---当前页变化 * @description: 分页---当前页变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleCurrentChange(val) { handleCurrentChange(val) {
const that = this; const that = this;
...@@ -122,8 +129,8 @@ export default { ...@@ -122,8 +129,8 @@ export default {
that.getTableList(); that.getTableList();
}, },
/** /**
* 获取列表数据 * @description: 获取列表数据
* * @author: 无尘
*/ */
getTableList() { getTableList() {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-04-14 09:50:16 * @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-07-24 09:38:55 * @LastEditTime: 2020-09-08 15:27:52
--> -->
<!-- <!--
使用帮助 使用帮助
...@@ -29,7 +29,11 @@ export default { ...@@ -29,7 +29,11 @@ export default {
}; };
}, },
methods: { methods: {
handleClose(done) { /**
* @description: 关闭弹窗
* @author: 无尘
*/
handleClose() {
const that = this; const that = this;
that.$emit('closeHelp'); that.$emit('closeHelp');
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-04-14 09:50:16 * @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-28 16:16:03 * @LastEditTime: 2020-09-08 15:28:04
--> -->
<!-- <!--
帮助提示 帮助提示
...@@ -30,7 +30,11 @@ export default { ...@@ -30,7 +30,11 @@ export default {
}; };
}, },
methods: { methods: {
handleClose(done) { /**
* @description: 关闭弹窗
* @author: 无尘
*/
handleClose() {
const that = this; const that = this;
that.$emit('toCloseTip'); that.$emit('toCloseTip');
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-02-13 14:02:40 * @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-31 14:10:23 * @LastEditTime: 2020-09-08 15:29:25
* @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\new-depart-member.vue * @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\new-depart-member.vue
--> -->
<!-- <!--
...@@ -165,8 +165,9 @@ export default { ...@@ -165,8 +165,9 @@ export default {
window.open('/haoban-4/#/syncLog'); window.open('/haoban-4/#/syncLog');
}, },
/** /**
* 修改选择部门 * @description: 修改选择部门
* @param {Object} obj * @param {Object} obj
* @author: 无尘
*/ */
changeObj(obj) { changeObj(obj) {
const that = this; const that = this;
...@@ -174,7 +175,8 @@ export default { ...@@ -174,7 +175,8 @@ export default {
that.$emit('changeDepart', obj); that.$emit('changeDepart', obj);
}, },
/** /**
* 显示提示 * @description: 显示提示
* @author: 无尘
*/ */
toShowTip() { toShowTip() {
const that = this; const that = this;
...@@ -186,8 +188,9 @@ export default { ...@@ -186,8 +188,9 @@ export default {
}, },
/** /**
* 关联详情 * @description: 关联详情
* @param {Object} row * @param {Object} row
* @author: 无尘
*/ */
showRelateDetail(row) { showRelateDetail(row) {
const that = this; const that = this;
...@@ -208,10 +211,11 @@ export default { ...@@ -208,10 +211,11 @@ export default {
}, },
/** /**
* 可选设置 * @description: 可选设置
* @param {Object} row * @param {Object} row
* @param {Number} index * @param {Number} index
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘
**/ **/
selectInit(row, index) { selectInit(row, index) {
if (row.activeFlag == 1) { if (row.activeFlag == 1) {
...@@ -222,9 +226,10 @@ export default { ...@@ -222,9 +226,10 @@ export default {
}, },
/** /**
* 输入 * @description: 输入
* @param {Object} e * @param {Object} e
* @param {String} value * @param {String} value
* @author: 无尘
*/ */
toInput: _debounce(function(e, value) { toInput: _debounce(function(e, value) {
const that = this; const that = this;
...@@ -245,8 +250,9 @@ export default { ...@@ -245,8 +250,9 @@ export default {
}, },
/** /**
* 显示详情弹窗 * @description: 显示详情弹窗
* @param {Object} item * @param {Object} item
* @author: 无尘
*/ */
async showDetail(item) { async showDetail(item) {
const that = this; const that = this;
...@@ -255,9 +261,10 @@ export default { ...@@ -255,9 +261,10 @@ export default {
}, },
/** /**
* 确认新建后刷新 * @description: 确认新建后刷新
* @param {String} res * @param {String} res
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘
*/ */
refreshData(res) { refreshData(res) {
const that = this; const that = this;
...@@ -271,16 +278,18 @@ export default { ...@@ -271,16 +278,18 @@ export default {
}, },
/** /**
* 勾选 * @description: 勾选
* @param {Array} val * @param {Array} val
* @author: 无尘
*/ */
handleSelectionChange(val) { handleSelectionChange(val) {
this.multipleSelection = val; this.multipleSelection = val;
}, },
/** /**
* 分页---页码变化 * @description: 分页---页码变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleSizeChange(val) { handleSizeChange(val) {
const that = this; const that = this;
...@@ -290,8 +299,9 @@ export default { ...@@ -290,8 +299,9 @@ export default {
}, },
/** /**
* 分页---当前页变化 * @description: 分页---当前页变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleCurrentChange(val) { handleCurrentChange(val) {
const that = this; const that = this;
...@@ -299,8 +309,9 @@ export default { ...@@ -299,8 +309,9 @@ export default {
that.getTableList(); that.getTableList();
}, },
/** /**
* 获取列表数据 * @description: 获取列表数据
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘
*/ */
getTableList() { getTableList() {
const that = this; const that = this;
......
...@@ -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-08 14:11:57 * @LastEditTime: 2020-09-08 14:13:15
--> -->
<template> <template>
...@@ -162,8 +162,6 @@ export default { ...@@ -162,8 +162,6 @@ export default {
handle: '.icontuozhuaiopen', handle: '.icontuozhuaiopen',
onEnd({ newIndex, oldIndex }) { onEnd({ newIndex, oldIndex }) {
if (newIndex == oldIndex || that.currentClassify != '') { if (newIndex == oldIndex || that.currentClassify != '') {
// that.currentClassify != '' ? that.tagsData = [] : '';
// that.currentClassify != '' ? that.getTableList() : '';
return false; return false;
} }
let arr = JSON.parse(JSON.stringify(that[data])); let arr = JSON.parse(JSON.stringify(that[data]));
......
...@@ -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-08 10:11:54 * @LastEditTime: 2020-09-08 14:13:54
--> -->
<template> <template>
...@@ -244,6 +244,7 @@ export default { ...@@ -244,6 +244,7 @@ export default {
const tbody = this.$refs[data].$el.querySelectorAll('.el-table__body-wrapper > table > tbody')[0]; const tbody = this.$refs[data].$el.querySelectorAll('.el-table__body-wrapper > table > tbody')[0];
const that = this; const that = this;
Sortable.create(tbody, { Sortable.create(tbody, {
handle: '.icontuozhuaiopen',
onEnd({ newIndex, oldIndex }) { onEnd({ newIndex, oldIndex }) {
if (newIndex == oldIndex) { if (newIndex == oldIndex) {
return false; return false;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-20 14:36:37 * @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-08 10:56:34 * @LastEditTime: 2020-09-08 15:17:24
--> -->
<template> <template>
<div class="customer-assign-wrap"> <div class="customer-assign-wrap">
...@@ -200,7 +200,8 @@ export default { ...@@ -200,7 +200,8 @@ export default {
} }
}, },
/** /**
* 保存 * @description: 保存
* @author: 无尘
*/ */
submit: _debounce(function() { submit: _debounce(function() {
const that = this; const that = this;
...@@ -208,7 +209,8 @@ export default { ...@@ -208,7 +209,8 @@ export default {
that.setData(); that.setData();
}, 300), }, 300),
/** /**
* 保存-API * @description: 保存-API
* @author: 无尘
*/ */
setData() { setData() {
const that = this; const that = this;
...@@ -387,7 +389,7 @@ export default { ...@@ -387,7 +389,7 @@ export default {
that.getTableList(); that.getTableList();
}, },
/** /**
* 每次选中一个树中节点,把当前数据返回, * @description: 每次选中一个树中节点,把当前数据返回,
* @description: 获取选中部门 * @description: 获取选中部门
* @param {Object} obj * @param {Object} obj
* @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-07 10:54:47 * @LastEditTime: 2020-09-08 15:16:16
--> -->
<template> <template>
<div class="common-app-right"> <div class="common-app-right">
...@@ -68,7 +68,8 @@ export default { ...@@ -68,7 +68,8 @@ export default {
// methods // methods
methods: { methods: {
/** /**
* 保存 * @description: 保存
* @author: 无尘
*/ */
submit: _debounce(function() { submit: _debounce(function() {
const that = this; const that = this;
...@@ -76,7 +77,8 @@ export default { ...@@ -76,7 +77,8 @@ export default {
that.setData(); that.setData();
}, 500), }, 500),
/** /**
* 保存-API * @description: 保存-API
* @author: 无尘
*/ */
setData() { setData() {
const that = this; const that = this;
......
...@@ -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-07 10:55:04 * @LastEditTime: 2020-09-08 15:17:45
--> -->
<template> <template>
...@@ -63,7 +63,8 @@ export default { ...@@ -63,7 +63,8 @@ export default {
// methods // methods
methods: { methods: {
/** /**
* 保存 * @description: 保存
* @author: 无尘
*/ */
submit: _debounce(function() { submit: _debounce(function() {
const that = this; const that = this;
...@@ -71,7 +72,8 @@ export default { ...@@ -71,7 +72,8 @@ export default {
that.setData(); that.setData();
}, 500), }, 500),
/** /**
* 保存-API * @description: 保存-API
* @author: 无尘
*/ */
setData() { setData() {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-27 11:36:51 * @Date: 2020-08-27 11:36:51
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-07 16:16:37 * @LastEditTime: 2020-09-08 15:37:26
--> -->
<template> <template>
...@@ -124,6 +124,7 @@ export default { ...@@ -124,6 +124,7 @@ export default {
const tbody = this.$refs[data].$el.querySelectorAll('.el-table__body-wrapper > table > tbody')[0]; const tbody = this.$refs[data].$el.querySelectorAll('.el-table__body-wrapper > table > tbody')[0];
const that = this; const that = this;
Sortable.create(tbody, { Sortable.create(tbody, {
handle: '.icontuozhuaiopen',
onEnd({ newIndex, oldIndex }) { onEnd({ newIndex, oldIndex }) {
if (newIndex == oldIndex) { if (newIndex == oldIndex) {
return false; return false;
...@@ -139,6 +140,7 @@ export default { ...@@ -139,6 +140,7 @@ export default {
const tbody = this.$refs[data].$el.querySelectorAll('.el-table__body-wrapper > table > tbody')[0]; const tbody = this.$refs[data].$el.querySelectorAll('.el-table__body-wrapper > table > tbody')[0];
const that = this; const that = this;
Sortable.create(tbody, { Sortable.create(tbody, {
handle: '.icontuozhuaiopen',
onEnd({ newIndex, oldIndex }) { onEnd({ newIndex, oldIndex }) {
if (newIndex == oldIndex) { if (newIndex == oldIndex) {
return false; return false;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-07 16:14:34 * @LastEditTime: 2020-09-08 15:18:21
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -78,9 +78,10 @@ export default { ...@@ -78,9 +78,10 @@ export default {
}, },
methods: { methods: {
/** /**
* 返回 的 brandId * @description: 返回 的 brandId
* @param {String} id * @param {String} id
* @param {String} groupId * @param {String} groupId
* @author: 无尘
*/ */
selectBrandId(id, groupId) { selectBrandId(id, groupId) {
let that = this; let that = this;
...@@ -88,15 +89,17 @@ export default { ...@@ -88,15 +89,17 @@ export default {
that.activeGroup = groupId; that.activeGroup = groupId;
}, },
/** /**
* 路由跳转 * @description: 路由跳转
* @param {String} path * @param {String} path
* @author: 无尘
*/ */
changeRoute(path) { changeRoute(path) {
this.$router.push(path); this.$router.push(path);
}, },
/** /**
* 选择后返回menuUrl,做各路由判断 * @description: 选择后返回menuUrl,做各路由判断
* @param {Object} item * @param {Object} item
* @author: 无尘
*/ */
setSelectTab(item) { setSelectTab(item) {
const that = this; const that = this;
...@@ -113,8 +116,9 @@ export default { ...@@ -113,8 +116,9 @@ export default {
}, },
/** /**
* 各路由返回 menuUrl * @description: 各路由返回 menuUrl
* @param {String} menuUrl * @param {String} menuUrl
* @author: 无尘
*/ */
showTab(menuUrl) { showTab(menuUrl) {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-27 09:46:47 * @LastEditTime: 2020-09-08 15:18:38
--> -->
<template> <template>
<div class="enterprise-wrap"> <div class="enterprise-wrap">
...@@ -41,8 +41,9 @@ export default { ...@@ -41,8 +41,9 @@ export default {
}, },
methods: { methods: {
/** /**
* 路由跳转 * @description: 路由跳转
* @param {Object} val * @param {Object} val
* @author: 无尘
*/ */
toRouterView(val) { toRouterView(val) {
let that = this; let that = this;
...@@ -58,8 +59,9 @@ export default { ...@@ -58,8 +59,9 @@ export default {
}, },
/** /**
* 折叠事件 * @description: 折叠事件
* @param {Boolean} val * @param {Boolean} val
* @author: 无尘
*/ */
collapseTag(val) { collapseTag(val) {
let that = this; let that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-03 15:29:56 * @LastEditTime: 2020-09-08 15:20:08
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -168,7 +168,8 @@ export default { ...@@ -168,7 +168,8 @@ export default {
}, },
methods: { methods: {
/** /**
* 获取商户信息 * @description: 获取商户信息
* @author: 无尘
*/ */
getEnterpriseData() { getEnterpriseData() {
const that = this; const that = this;
...@@ -185,9 +186,10 @@ export default { ...@@ -185,9 +186,10 @@ export default {
}); });
}, },
/** /**
* 取消审核 * @description: 取消审核
* @param {Number} index * @param {Number} index
* @param {Object} item * @param {Object} item
* @author: 无尘
*/ */
toCancleAudit(index, item) { toCancleAudit(index, item) {
const that = this; const that = this;
...@@ -228,9 +230,10 @@ export default { ...@@ -228,9 +230,10 @@ export default {
}); });
}, },
/** /**
* 查看失败日志 * @description: 查看失败日志
* @param {Number} index * @param {Number} index
* @param {Object} item * @param {Object} item
* @author: 无尘
*/ */
toShowLog(index, item) { toShowLog(index, item) {
const that = this; const that = this;
...@@ -243,16 +246,18 @@ export default { ...@@ -243,16 +246,18 @@ export default {
that.logShow = false; that.logShow = false;
}, },
/** /**
* 路由跳转 * @description: 路由跳转
* @param {String} path * @param {String} path
* @author: 无尘
*/ */
changeRoute(path) { changeRoute(path) {
this.$router.push(path); this.$router.push(path);
}, },
/** /**
* 分页---页码变化 * @description: 分页---页码变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleSizeChange(val) { handleSizeChange(val) {
const that = this; const that = this;
...@@ -262,8 +267,9 @@ export default { ...@@ -262,8 +267,9 @@ export default {
}, },
/** /**
* 分页---当前页变化 * @description: 分页---当前页变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleCurrentChange(val) { handleCurrentChange(val) {
const that = this; const that = this;
...@@ -272,7 +278,8 @@ export default { ...@@ -272,7 +278,8 @@ export default {
}, },
/** /**
* 获取列表数据 * @description: 获取列表数据
* @author: 无尘
*/ */
getTableList() { getTableList() {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-03 15:29:28 * @LastEditTime: 2020-09-08 15:20:55
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -148,40 +148,45 @@ export default { ...@@ -148,40 +148,45 @@ export default {
}, },
methods: { methods: {
/** /**
* 编辑授权 * @description: 编辑授权
* @param {Number} index * @param {Number} index
* @param {Object} row * @param {Object} row
* @author: 无尘
*/ */
toEdit(index, row) { toEdit(index, row) {
const that = this; const that = this;
that.changeRoute(`/newAuthMerchant?enterpriseId=${row.enterpriseId}`); that.changeRoute(`/newAuthMerchant?enterpriseId=${row.enterpriseId}`);
}, },
/** /**
* 审核日志 * @description: 审核日志
* @param {Number} index * @param {Number} index
* @param {Object} row * @param {Object} row
* @author: 无尘
*/ */
toAuditLog(index, row) { toAuditLog(index, row) {
const that = this; const that = this;
that.changeRoute(`/auditLog?enterpriseId=${row.enterpriseId}`); that.changeRoute(`/auditLog?enterpriseId=${row.enterpriseId}`);
}, },
/** /**
* url 跳转 * @description: url 跳转
* @author: 无尘
*/ */
openUrl() { openUrl() {
window.open('https://developers.weixin.qq.com/community/develop/doc/00046610a9cbb0fd80f9a7dd354c09'); window.open('https://developers.weixin.qq.com/community/develop/doc/00046610a9cbb0fd80f9a7dd354c09');
}, },
/** /**
* 路由跳转 * @description: 路由跳转
* @param {String} path * @param {String} path
* @author: 无尘
*/ */
changeRoute(path) { changeRoute(path) {
this.$router.push(path); this.$router.push(path);
}, },
/** /**
* 分页---页码变化 * @description: 分页---页码变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleSizeChange(val) { handleSizeChange(val) {
const that = this; const that = this;
...@@ -191,8 +196,9 @@ export default { ...@@ -191,8 +196,9 @@ export default {
}, },
/** /**
* 分页---当前页变化 * @description: 分页---当前页变化
* @param {Number} val * @param {Number} val
* @author: 无尘
*/ */
handleCurrentChange(val) { handleCurrentChange(val) {
const that = this; const that = this;
...@@ -200,7 +206,8 @@ export default { ...@@ -200,7 +206,8 @@ export default {
that.getTableList(); that.getTableList();
}, },
/** /**
* 获取列表数据 * @description:获取列表数据
* @author: 无尘
*/ */
getTableList() { getTableList() {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-07-20 10:03:58 * @LastEditTime: 2020-09-08 15:22:11
--> -->
<template> <template>
<div class="enterprise-wrap"> <div class="enterprise-wrap">
...@@ -40,7 +40,11 @@ export default { ...@@ -40,7 +40,11 @@ export default {
that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 + 'px'; that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 + 'px';
}, },
methods: { methods: {
// 处理路由跳转 /**
* @description: 处理路由跳转
* @param {Object} val
* @author: 无尘
*/
toRouterView(val) { toRouterView(val) {
let that = this; let that = this;
// 模拟检查数据 // 模拟检查数据
...@@ -54,7 +58,11 @@ export default { ...@@ -54,7 +58,11 @@ export default {
}); });
}, },
// 折叠事件 /**
* @description: 折叠事件
* @param {Boolean} val
* @author: 无尘
*/
collapseTag(val) { collapseTag(val) {
let that = this; let that = this;
that.collapseFlag = val; that.collapseFlag = val;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-03 15:30:54 * @LastEditTime: 2020-09-08 15:15:50
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -187,10 +187,11 @@ export default { ...@@ -187,10 +187,11 @@ export default {
}, },
methods: { methods: {
/** /**
* closeSet * @description: closeSet
* @param {String} type * @param {String} type
* @param {Array} arr * @param {Array} arr
* @return {Boolean} * @return {Boolean}
* @author: 无尘
*/ */
closeSet(type, arr) { closeSet(type, arr) {
const that = this; const that = this;
...@@ -209,9 +210,10 @@ export default { ...@@ -209,9 +210,10 @@ export default {
that.changeFlag = true; that.changeFlag = true;
}, },
/** /**
* 显示门店选择 * @description: 显示门店选择
* @param {String} type * @param {String} type
* @return {Boolean} * @return {Boolean}
* @author: 无尘
*/ */
showStore(type) { showStore(type) {
const that = this; const that = this;
...@@ -225,9 +227,10 @@ export default { ...@@ -225,9 +227,10 @@ export default {
that.getEnterpriseData(); that.getEnterpriseData();
}, },
/** /**
* 搜索查询列表 * @description: 搜索查询列表
* @param {String} queryString * @param {String} queryString
* @return {Array} * @return {Array}
* @author: 无尘
*/ */
getSearchList(queryString) { getSearchList(queryString) {
let params = { let params = {
...@@ -256,8 +259,8 @@ export default { ...@@ -256,8 +259,8 @@ export default {
}); });
}, },
/** /**
* 搜索查询列表 * @description: 搜索查询列表
* * @author: 无尘
*/ */
async querySearchAsync() { async querySearchAsync() {
const that = this; const that = this;
...@@ -275,22 +278,25 @@ export default { ...@@ -275,22 +278,25 @@ export default {
that.searchArray = res; that.searchArray = res;
}, },
/** /**
* 第二步取消 * @description: 第二步取消
* @author: 无尘
*/ */
returnStep() { returnStep() {
const that = this; const that = this;
that.activeStep = 0; that.activeStep = 0;
}, },
/** /**
* 取消 * @description: 取消
* @author: 无尘
*/ */
cancel() { cancel() {
const that = this; const that = this;
that.$router.push('/authMerchant'); that.$router.push('/authMerchant');
}, },
/** /**
* 下一步 * @description: 下一步
* @param {string} form * @param {string} form
* @author: 无尘
*/ */
submitForm(form) { submitForm(form) {
const that = this; const that = this;
...@@ -303,9 +309,10 @@ export default { ...@@ -303,9 +309,10 @@ export default {
}); });
}, },
/** /**
* 删除门店 * @description: 删除门店
* @param {Number} index * @param {Number} index
* @param {Array} arr * @param {Array} arr
* @author: 无尘
*/ */
delStore(index, arr) { delStore(index, arr) {
const that = this; const that = this;
...@@ -316,8 +323,9 @@ export default { ...@@ -316,8 +323,9 @@ export default {
}, },
/** /**
* 选择商户,获取审核管理员 * @description: 选择商户,获取审核管理员
* @param {Object} item * @param {Object} item
* @author: 无尘
*/ */
getAdmin(item) { getAdmin(item) {
const that = this; const that = this;
...@@ -352,8 +360,9 @@ export default { ...@@ -352,8 +360,9 @@ export default {
}, },
/** /**
* 改变步骤 * @description: 改变步骤
* @param {String} auditReason * @param {String} auditReason
* @author: 无尘
*/ */
changeStep(auditReason) { changeStep(auditReason) {
const that = this; const that = this;
...@@ -384,15 +393,17 @@ export default { ...@@ -384,15 +393,17 @@ export default {
}); });
}, },
/** /**
* 路由跳转 * @description: 路由跳转
* @param {String} path * @param {String} path
* @author: 无尘
*/ */
changeRoute(path) { changeRoute(path) {
this.$router.push(path); this.$router.push(path);
}, },
/** /**
* 获取商户是否选择所有信息 * @description: 获取商户是否选择所有信息
* @author: 无尘
*/ */
getEnterpriseData() { getEnterpriseData() {
const that = this; const that = this;
...@@ -406,8 +417,8 @@ export default { ...@@ -406,8 +417,8 @@ export default {
}, },
/** /**
* 获取编辑数据 * @description: 获取编辑数据
* * @author: 无尘
*/ */
getData() { getData() {
const that = this; const that = this;
......
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