| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -121,18 +121,51 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                :multiple="item.multiple || false" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                :filterable="item.filterable || false" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                :allowCreate="item.allowCreate || false" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                default-first-option | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                @change="(e) => handleChangeSelect(e, item)" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              > | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <el-option | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  v-for="(subItem, subIndex) in item.optionList" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  :key="subItem.value + subIndex" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  :label="subItem.label" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  :value="subItem.value" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                > | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                </el-option> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <template v-if="item.optionType == 'group'"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  <el-option-group | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    v-for="group in item.optionList" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    :key="group.label" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    :label="group.label" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  > | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    <el-option | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      v-for="subItem in group.optionList" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      :key="subItem.value" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      :label="subItem.label" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      :value="subItem.value" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    > | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    </el-option> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  </el-option-group> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                </template> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <template v-else> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  <el-option | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    v-for="(subItem, subIndex) in item.optionList" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    :key="subItem.value + subIndex" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    :label="subItem.label" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    :value="subItem.value" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  > | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  </el-option> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                </template> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              </el-select> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </template> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <template v-else-if="item.type == 'rich-text'"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <Tinymce | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                class="tinymce_view" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                v-if="formType != 'D'" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                :ref="'richText' + item.keyName" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                :id="'richText' + item.keyName" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                v-model="fmData[item.keyName]" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                :height="450" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                :customerId="customerId" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                :placeholder="item.placeholder || '请输入'" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              /> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <p v-else class="text_p" v-html="fmData[item.keyName]"></p> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </template> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <template v-else-if="item.type == 'cascader'"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <el-cascader | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                v-model="fmData[item.keyName]" | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -247,6 +280,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { requestPost } from "@/js/dai/request"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import nextTick from "dai-js/tools/nextTick"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import Schema from "async-validator"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import Tinymce from "@c/tinymce2/index.vue"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					var map; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					var search; | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -255,6 +289,8 @@ var infoWindowList; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					var geocoder; // 新建一个正逆地址解析类 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  components: { Tinymce }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  props: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    formId: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: String, | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -322,7 +358,6 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      customerId: localStorage.getItem("customerId"), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  components: {}, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  computed: {}, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  watch: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    editParams: { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -614,6 +649,18 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      window.open(src); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    dormatHtml(content) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if ( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        content.startsWith( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          "<!DOCTYPE html>\n<html>\n<head>\n</head>\n<body>\n" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ) && | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        content.endsWith("\n</body>\n</html>") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      ) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        content = content.slice(45, -16); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      return content; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    async handleComfirm() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.btnDisable = true; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      setTimeout(() => { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |