| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -92,7 +92,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <el-col :span="7"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                类别 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <el-select | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  v-model="value" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  v-model="form.commonCharName" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  placeholder="请选择" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  @change="change" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                > | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -177,7 +177,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  </div> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					</template> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					<script> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import Sortable from "sortablejs"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import Sortable, { get } from "sortablejs"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  frequentlyusedlist, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  categorytype, | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -188,6 +188,7 @@ import { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  sortcommonwords, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  commondelt, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} from "../../request/systemapi"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { getapi } from "@/api/api"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  data() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    return { | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -199,6 +200,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      form: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        displayName: "", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ars: "", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      ars: [], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      tableData: [], | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -242,6 +244,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    change(v) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.form.ids = v; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      console.log(v); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //取消排序 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    cancellation() { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -335,9 +338,10 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //确定新增或者编辑 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    addoredit() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      console.log(this.form.ids); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if (this.form.displayName == undefined) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.$message.warning("请输入名称"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } else if (this.value == "") { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } else if (this.form.ars == "") { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.$message.warning("请选择项目"); //测试时校验选择项目不为空 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (this.title == 1) { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -385,6 +389,11 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log(res); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.form = res.data; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // //获取类别 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // getapi("/api/app/common-char-type/in-filter").then((res) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //   console.log(res, "类别"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //   this.ars = res.data.items; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      console.log(row); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |