|  | @@ -1583,7 +1583,7 @@
 | 
	
		
			
				|  |  |          </el-form>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        </el-tab-pane>
 | 
	
		
			
				|  |  | -       <el-tab-pane label="企业理念" name="store.concept">
 | 
	
		
			
				|  |  | +      <el-tab-pane label="企业理念" name="store.concept">
 | 
	
		
			
				|  |  |           <el-form ref="form21" :model="form21" :rules="rules21" label-width="160px">
 | 
	
		
			
				|  |  |             <el-form-item   label="企业理念图片" prop="images">
 | 
	
		
			
				|  |  |               <Material v-model="images" type="image" :num="10" :width="150" :height="150" />
 | 
	
	
		
			
				|  | @@ -1609,6 +1609,32 @@
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </el-form>
 | 
	
		
			
				|  |  |      </el-tab-pane>
 | 
	
		
			
				|  |  | +    <el-tab-pane label="APP推广" name="app.config">
 | 
	
		
			
				|  |  | +         <el-form ref="form25" :model="form25" :rules="rules25" label-width="160px">
 | 
	
		
			
				|  |  | +           <el-form-item   label="APP推广图片" prop="images">
 | 
	
		
			
				|  |  | +             <Material v-model="appImages" type="image" :num="10" :width="150" :height="150" />
 | 
	
		
			
				|  |  | +           </el-form-item>
 | 
	
		
			
				|  |  | +           <el-form-item label="APP推广视频" prop="videoUrl">
 | 
	
		
			
				|  |  | +             <div>
 | 
	
		
			
				|  |  | +               <el-upload
 | 
	
		
			
				|  |  | +                 ref="upload"
 | 
	
		
			
				|  |  | +                 class="upload-demo"
 | 
	
		
			
				|  |  | +                 :action="uploadUrl"
 | 
	
		
			
				|  |  | +                 :on-success="appHandleSuccess"
 | 
	
		
			
				|  |  | +                 :before-upload="beforeUpload"
 | 
	
		
			
				|  |  | +                 :limit="1"
 | 
	
		
			
				|  |  | +                 :accept="videoAccept"
 | 
	
		
			
				|  |  | +               >
 | 
	
		
			
				|  |  | +                 <el-button size="small" type="primary">点击上传视频</el-button>
 | 
	
		
			
				|  |  | +               </el-upload>
 | 
	
		
			
				|  |  | +               <video :src="form25.videoUrl" controls style="max-width: 400px; max-height: 400px;"></video>
 | 
	
		
			
				|  |  | +             </div>
 | 
	
		
			
				|  |  | +           </el-form-item>
 | 
	
		
			
				|  |  | +           <div  class="footer">
 | 
	
		
			
				|  |  | +             <el-button type="primary" @click="submitForm25">提  交</el-button>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +      </el-form>
 | 
	
		
			
				|  |  | +    </el-tab-pane>
 | 
	
		
			
				|  |  |      </el-tabs>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1648,6 +1674,7 @@ export default {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  |        citys:[],
 | 
	
		
			
				|  |  |        images:[],
 | 
	
		
			
				|  |  | +      appImages:[],
 | 
	
		
			
				|  |  |        uploadUrl:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
 | 
	
		
			
				|  |  |        videoAccept:"video/*",
 | 
	
		
			
				|  |  |        courseMaConfigLoading:false,
 | 
	
	
		
			
				|  | @@ -1729,6 +1756,8 @@ export default {
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        form24:{
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | +      form25:{
 | 
	
		
			
				|  |  | +      },
 | 
	
		
			
				|  |  |        photoArr:[],
 | 
	
		
			
				|  |  |        couponList:[],
 | 
	
		
			
				|  |  |        inquirySubTypeOptions:[],
 | 
	
	
		
			
				|  | @@ -1782,7 +1811,8 @@ export default {
 | 
	
		
			
				|  |  |          cLevelMax: [{ required: true, message: '请输入C级最大值', trigger: 'blur' }],
 | 
	
		
			
				|  |  |          dLevelMax: [{ required: true, message: '请输入D级最大值', trigger: 'blur' }],
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | -      rules21:{}
 | 
	
		
			
				|  |  | +      rules21:{},
 | 
	
		
			
				|  |  | +      rules25:{}
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    created() {
 | 
	
	
		
			
				|  | @@ -1804,7 +1834,10 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      images: function(val) {
 | 
	
		
			
				|  |  |       this.form21.images = val.join(',')
 | 
	
		
			
				|  |  | -   }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    appImages: function(val) {
 | 
	
		
			
				|  |  | +     this.form25.images = val.join(',')
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1909,6 +1942,12 @@ export default {
 | 
	
		
			
				|  |  |        this.form21.videoUrl = response.url;
 | 
	
		
			
				|  |  |        this.$refs.upload.clearFiles();
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    appHandleSuccess(response, file) {
 | 
	
		
			
				|  |  | +      // 上传成功后的回调函数
 | 
	
		
			
				|  |  | +      this.myloading.close();
 | 
	
		
			
				|  |  | +      this.form25.videoUrl = response.url;
 | 
	
		
			
				|  |  | +      this.$refs.upload.clearFiles();
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      beforeUpload(file) {
 | 
	
		
			
				|  |  |        // 上传前的钩子函数,可以在这里对文件进行处理
 | 
	
		
			
				|  |  |        // 返回 false 则取消上传
 | 
	
	
		
			
				|  | @@ -2119,6 +2158,14 @@ export default {
 | 
	
		
			
				|  |  |              this.form24 =JSON.parse(response.data.configValue);
 | 
	
		
			
				|  |  |              console.log(this.form24.sign)
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | +          else if(key=="app.config"){
 | 
	
		
			
				|  |  | +            this.configId=response.data.configId;
 | 
	
		
			
				|  |  | +            this.configKey=response.data.configKey;
 | 
	
		
			
				|  |  | +            this.form25 =JSON.parse(response.data.configValue);
 | 
	
		
			
				|  |  | +            if(this.form25.images!=null){
 | 
	
		
			
				|  |  | +              this.appImages=this.form25.images.split(",");
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |       },
 | 
	
		
			
				|  |  |      /** 提交按钮 */
 | 
	
	
		
			
				|  | @@ -2313,6 +2360,15 @@ export default {
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    submitForm25(){
 | 
	
		
			
				|  |  | +      var param={configId:this.configId,configKey:this.configKey,configValue:JSON.stringify(this.form25)}
 | 
	
		
			
				|  |  | +      console.log(param)
 | 
	
		
			
				|  |  | +      updateConfigByKey(param).then(response => {
 | 
	
		
			
				|  |  | +        if (response.code === 200) {
 | 
	
		
			
				|  |  | +          this.msgSuccess("修改成功");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      submitForm21(){
 | 
	
		
			
				|  |  |        var param={configId:this.configId,configKey:this.configKey,configValue:JSON.stringify(this.form21)}
 | 
	
		
			
				|  |  |        updateConfigByKey(param).then(response => {
 |