|  | @@ -16,7 +16,7 @@
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div v-if="status">
 | 
	
		
			
				|  |  |          <!-- 机构基本信息 -->
 | 
	
		
			
				|  |  | -        <organInfo ref="organInfo" :data="info" v-show="active == 0" />
 | 
	
		
			
				|  |  | +        <organInfo ref="organInfo" :data="info" v-show="[0, 2].includes(active)" :type="getType" />
 | 
	
		
			
				|  |  |          <!-- 产品定价 确认设置 -->
 | 
	
		
			
				|  |  |          <div v-show="[1, 2].includes(active)">
 | 
	
		
			
				|  |  |            <openService ref="openService" :data="productInfo" :type="getType" />
 | 
	
	
		
			
				|  | @@ -86,7 +86,6 @@ export default {
 | 
	
		
			
				|  |  |      async onNext() {
 | 
	
		
			
				|  |  |        if(this.active == 0) {
 | 
	
		
			
				|  |  |          const organStatus = await this.$refs.organInfo.onSubmit()
 | 
	
		
			
				|  |  | -        console.log(organStatus)
 | 
	
		
			
				|  |  |          if(organStatus) {
 | 
	
		
			
				|  |  |            this.active += 1
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -95,7 +94,6 @@ export default {
 | 
	
		
			
				|  |  |          const memberStatus = await this.$refs.memberSetting.onSubmit()
 | 
	
		
			
				|  |  |          const ruleStatus = await this.$refs.roomRules.onSubmit()
 | 
	
		
			
				|  |  |          const rateStatus = await this.$refs.rateSetting.onSubmit()
 | 
	
		
			
				|  |  | -        console.log('验证中')
 | 
	
		
			
				|  |  |          if(openStatus && memberStatus && ruleStatus && rateStatus) {
 | 
	
		
			
				|  |  |            this.active += 1
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -120,7 +118,6 @@ export default {
 | 
	
		
			
				|  |  |              ...rateData
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        console.log(params)
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  |            if(this.payType == 'create') {
 | 
	
		
			
				|  |  |              const res = await tenantInfoAdd(params)
 | 
	
	
		
			
				|  | @@ -142,6 +139,31 @@ export default {
 | 
	
		
			
				|  |  |          path: "/organManager/organList"
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +    // let lodash = this.$helpers.lodash;
 | 
	
		
			
				|  |  | +    //     let storage = JSON.parse(localStorage.getItem(`base`));
 | 
	
		
			
				|  |  | +    //     if (!lodash.isEqual(this.topFrom, storage) && storage) {
 | 
	
		
			
				|  |  | +    //       // 提示保存
 | 
	
		
			
				|  |  | +    //       return await this.$confirm("已修改当前页面数据是否保存", "提示", {
 | 
	
		
			
				|  |  | +    //         confirmButtonText: "是",
 | 
	
		
			
				|  |  | +    //         cancelButtonText: "否",
 | 
	
		
			
				|  |  | +    //         type: "warning",
 | 
	
		
			
				|  |  | +    //         closeOnClickModal: false,
 | 
	
		
			
				|  |  | +    //         distinguishCancelAndClose: true,
 | 
	
		
			
				|  |  | +    //       })
 | 
	
		
			
				|  |  | +    //         .then(async () => {
 | 
	
		
			
				|  |  | +    //           let b = await this.gotoNext(str);
 | 
	
		
			
				|  |  | +    //           console.log(b);
 | 
	
		
			
				|  |  | +    //           return b;
 | 
	
		
			
				|  |  | +    //         })
 | 
	
		
			
				|  |  | +    //         .catch((e) => {
 | 
	
		
			
				|  |  | +    //           console.log(e);
 | 
	
		
			
				|  |  | +    //           if (e == "close") {
 | 
	
		
			
				|  |  | +    //             return false;
 | 
	
		
			
				|  |  | +    //           } else {
 | 
	
		
			
				|  |  | +    //             localStorage.removeItem(`${this.teamid}base`);
 | 
	
		
			
				|  |  | +    //             return true;
 | 
	
		
			
				|  |  | +    //           }
 | 
	
		
			
				|  |  | +    //         });
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  </script>
 |