Commit c10af185 by 无尘

fix: 测试 刷新

parent 2f399375
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 16:51:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-21 10:26:28
* @LastEditTime: 2020-12-01 18:09:00
-->
<template>
......@@ -440,6 +440,7 @@ export default {
watch: {
brandId(val) {
const that = this;
that.wxEnterpriseId = localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')).wxEnterpriseId : '';
if (val) {
that.searchVal = '';
that.currentClassify = '';
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 10:16:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-21 10:25:46
* @LastEditTime: 2020-12-01 18:09:08
-->
<template>
......@@ -389,6 +389,7 @@ export default {
watch: {
brandId(val) {
const that = this;
that.wxEnterpriseId = localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')).wxEnterpriseId : '';
if (val) {
that.searchVal = '';
that.classifyId = '';
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-21 15:47:13
* @LastEditTime: 2020-12-01 18:09:24
-->
<template>
<div class="customer-assign-wrap">
......@@ -706,6 +706,7 @@ export default {
watch: {
brandId: function(newData, oldData) {
const that = this;
that.wxEnterpriseId = localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')).wxEnterpriseId : '';
if (newData) {
that.showMember = false;
that.currentPage = 1;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 10:16:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-21 10:22:42
* @LastEditTime: 2020-12-01 18:09:33
-->
<template>
<div class="common-app-right">
......@@ -149,6 +149,7 @@ export default {
watch: {
brandId(val) {
const that = this;
that.wxEnterpriseId = localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')).wxEnterpriseId : '';
if (val) {
that.getCustomerData();
}
......
......@@ -136,6 +136,7 @@ export default {
watch: {
brandId(val) {
const that = this;
that.wxEnterpriseId = localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')).wxEnterpriseId : '';
if (val) {
that.getShowData();
}
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 11:36:51
* @LastEditors: 无尘
* @LastEditTime: 2020-09-21 10:22:04
* @LastEditTime: 2020-12-01 18:08:49
-->
<template>
......@@ -224,6 +224,7 @@ export default {
watch: {
brandId(val) {
const that = this;
that.wxEnterpriseId = localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')).wxEnterpriseId : '';
if (val) {
that.memberCardData = [];
that.serviceNumData = [];
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 10:05:27
* @LastEditors: 无尘
* @LastEditTime: 2020-12-01 17:26:13
* @LastEditTime: 2020-12-01 18:06:40
-->
<!-- -->
<template>
......@@ -134,6 +134,8 @@ export default {
watch: {
brandId: function(newData, oldData) {
const that = this;
that.wxEnterpriseId = localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')).wxEnterpriseId : '';
that.userInfo = localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')) : { staffId: '', staffName: '' };
if (!!newData) {
that.ruleForm.days = '';
that.getData();
......
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