Pārlūkot izejas kodu

增删部分文件

zhengjinyi 5 gadi atpakaļ
vecāks
revīzija
6b5cd48ecf

+ 0 - 9
common/config/register-json.js

@@ -1,9 +0,0 @@
-const beautyList = [{value:'1',name:'诊所'},{value:'2',name:'门诊'},{value:'3',name:'医院'}]
-const mentuzCampNullList = [{value:'1',name:'整形'},{value:'2',name:'轻医美'},{value:'3',name:'皮肤科'}]
-const medicaCampNullList = [{value:'1',name:'美容'},{value:'2',name:'美体'},{value:'3',name:'美发'},{value:'4',name:'皮肤管理'},{value:'5',name:'光电'},{value:'6',name:'综合类'},{value:'7',name:'中医养生'},{value:'8',name:'spa'}]
-
-module.exports = {
-	beautyList,
-	mentuzCampNullList,
-	medicaCampNullList
-}

+ 26 - 0
common/json/data.json.js

@@ -0,0 +1,26 @@
+const beautyList =  [
+						{value:'1',name:'诊所'},
+						{value:'2',name:'门诊'},
+						{value:'3',name:'医院'},
+					]
+const mentuzCampNullList = [
+						{value:'1',name:'整形'},
+						{value:'2',name:'轻医美'},
+						{value:'3',name:'皮肤科'},
+					]
+const medicaCampNullList = [
+						{value:'1',name:'美容'},
+						{value:'2',name:'美体'},
+						{value:'3',name:'美发'},
+						{value:'4',name:'皮肤管理'},
+						{value:'5',name:'光电'},
+						{value:'6',name:'综合类'},
+						{value:'7',name:'中医养生'},
+						{value:'8',name:'spa'},
+					]
+
+module.exports = {
+	beautyList,
+	mentuzCampNullList,
+	medicaCampNullList
+}

+ 1 - 1
market/pages/login/apply.vue

@@ -223,7 +223,7 @@
 <script>
 import { mapMutations } from 'vuex';
 	import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
-	import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/config/register-json.js' //本地数据
+	import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/json/data.json.js' //本地数据
 	import { organizationUpdateModifyInfo  } from "@/api/use.js"
 	import { uploadFileImage } from "@/api/utils.js" 
 	import { sellerClubUpdate } from "@/api/seller.js" 

+ 1 - 1
market/pages/login/information.vue

@@ -233,7 +233,7 @@
 <script>
 	import { mapMutations } from 'vuex';
 	import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
-	import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/config/register-json.js' //本地数据
+	import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/json/data.json.js' //本地数据
 	import { organizationUpdateModifyInfo } from "@/api/use.js"
 	import { uploadFileImage } from "@/api/utils.js" 
 	import { sellerClubUpdate } from "@/api/seller.js" 

+ 29 - 29
pages/login/apply.vue

@@ -251,7 +251,7 @@
 <script>
 import { mapMutations } from 'vuex';
 	import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
-	import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/config/register-json.js' //本地数据
+	import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/json/data.json.js' //本地数据
 	import { organizationUpdateModifyInfo , organizationModifyUpdate  } from "@/api/use.js"
 	import { getClubMobileCode,getClubNewMobileCode,uploadFileImage } from "@/api/utils.js" 
 	export default{
@@ -484,21 +484,21 @@ import { mapMutations } from 'vuex';
 				getClubMobileCode(params).then(response =>{
 					this.$util.msg('验证短信已发送',2000);
 					const TIME_COUNT = 60;
-			     	if (!this.codeTime) {
-			       		this.count = TIME_COUNT;
-			       		this.isMobileDisabled = true;
-			       		this.codeTime = setInterval(() => {
-			       			if (this.count > 1 && this.count <= TIME_COUNT) {
-			         			this.count--
-			         			this.mobileCodeText = this.count +'s重新发送'
-			        		} else {
-				         		this.isMobileDisabled = false;
-				         		clearInterval(this.codeTime)
-				         		this.codeTime = null
+			     	if (!this.codeTime) {
+			       		this.count = TIME_COUNT;
+			       		this.isMobileDisabled = true;
+			       		this.codeTime = setInterval(() => {
+			       			if (this.count > 1 && this.count <= TIME_COUNT) {
+			         			this.count--
+			         			this.mobileCodeText = this.count +'s重新发送'
+			        		} else {
+				         		this.isMobileDisabled = false;
+				         		clearInterval(this.codeTime)
+				         		this.codeTime = null
 								this.mobileCodeText = '获取验证码'
-			        		}
-			       		},1000)
-			      	}		
+			        		}
+			       		},1000)
+			      	}		
 				}).catch( response =>{
 					this.$util.msg(response.msg,2000);
 					this.isMobileDisabled = false;
@@ -518,21 +518,21 @@ import { mapMutations } from 'vuex';
 				getClubNewMobileCode(params).then(response =>{
 					this.$util.msg('验证短信已发送',2000);
 					const TIME_COUNT = 60;
-			     	if (!this.codeTimeNew) {
-			       		this.newCount = TIME_COUNT;
-			       		this.isNewMobileDisabled = true;
-			       		this.codeTimeNew = setInterval(() => {
-			       			if (this.newCount > 1 && this.newCount <= TIME_COUNT) {
-			         			this.newCount--
-			         			this.newMobileCodeText = this.newCount +'s重新发送'
-			        		} else {
-				         		this.isNewMobileDisabled = false;
-				         		clearInterval(this.codeTimeNew)
-				         		this.codeTimeNew = null
+			     	if (!this.codeTimeNew) {
+			       		this.newCount = TIME_COUNT;
+			       		this.isNewMobileDisabled = true;
+			       		this.codeTimeNew = setInterval(() => {
+			       			if (this.newCount > 1 && this.newCount <= TIME_COUNT) {
+			         			this.newCount--
+			         			this.newMobileCodeText = this.newCount +'s重新发送'
+			        		} else {
+				         		this.isNewMobileDisabled = false;
+				         		clearInterval(this.codeTimeNew)
+				         		this.codeTimeNew = null
 								this.newMobileCodeText = '获取验证码'
-			        		}
-			       		},1000)
-			      	}
+			        		}
+			       		},1000)
+			      	}
 				}).catch( response =>{
 					this.$util.msg(response.msg,2000);
 					this.isNewMobileDisabled = false;

+ 29 - 29
pages/login/information.vue

@@ -270,7 +270,7 @@
 <script>
 	import { mapMutations } from 'vuex';
 	import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
-	import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/config/register-json.js' //本地数据
+	import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/json/data.json.js' //本地数据
 	import { organizationUpdateModifyInfo , organizationUpdate  } from "@/api/use.js"
 	import { getClubMobileCode,getClubNewMobileCode,uploadFileImage } from "@/api/utils.js" 
 	var self;
@@ -501,21 +501,21 @@
 				getClubMobileCode(params).then(response =>{
 					this.$util.msg('验证短信已发送',2000);
 					const TIME_COUNT = 60;
-			     	if (!this.codeTime) {
-			       		this.count = TIME_COUNT;
-			       		this.isMobileDisabled = true;
-			       		this.codeTime = setInterval(() => {
-			       			if (this.count > 1 && this.count <= TIME_COUNT) {
-			         			this.count--
-			         			this.mobileCodeText = this.count +'s重新发送'
-			        		} else {
-				         		this.isMobileDisabled = false;
-				         		clearInterval(this.codeTime)
-				         		this.codeTime = null
+			     	if (!this.codeTime) {
+			       		this.count = TIME_COUNT;
+			       		this.isMobileDisabled = true;
+			       		this.codeTime = setInterval(() => {
+			       			if (this.count > 1 && this.count <= TIME_COUNT) {
+			         			this.count--
+			         			this.mobileCodeText = this.count +'s重新发送'
+			        		} else {
+				         		this.isMobileDisabled = false;
+				         		clearInterval(this.codeTime)
+				         		this.codeTime = null
 								this.mobileCodeText = '获取验证码'
-			        		}
-			       		},1000)
-			      	}		
+			        		}
+			       		},1000)
+			      	}		
 				}).catch( response =>{
 					this.$util.msg(response.msg,2000);
 					this.isMobileDisabled = false;
@@ -535,21 +535,21 @@
 				getClubNewMobileCode(params).then(response =>{
 					this.$util.msg('验证短信已发送',2000);
 					const TIME_COUNT = 60;
-			     	if (!this.codeTimeNew) {
-			       		this.newCount = TIME_COUNT;
-			       		this.isNewMobileDisabled = true;
-			       		this.codeTimeNew = setInterval(() => {
-			       			if (this.newCount > 1 && this.newCount <= TIME_COUNT) {
-			         			this.newCount--
-			         			this.newMobileCodeText = this.newCount +'s重新发送'
-			        		} else {
-				         		this.isNewMobileDisabled = false;
-				         		clearInterval(this.codeTimeNew)
-				         		this.codeTimeNew = null
+			     	if (!this.codeTimeNew) {
+			       		this.newCount = TIME_COUNT;
+			       		this.isNewMobileDisabled = true;
+			       		this.codeTimeNew = setInterval(() => {
+			       			if (this.newCount > 1 && this.newCount <= TIME_COUNT) {
+			         			this.newCount--
+			         			this.newMobileCodeText = this.newCount +'s重新发送'
+			        		} else {
+				         		this.isNewMobileDisabled = false;
+				         		clearInterval(this.codeTimeNew)
+				         		this.codeTimeNew = null
 								this.newMobileCodeText = '获取验证码'
-			        		}
-			       		},1000)
-			      	}
+			        		}
+			       		},1000)
+			      	}
 				}).catch( response =>{
 					this.$util.msg(response.msg,2000);
 					this.isNewMobileDisabled = false;