| 
					
					
						
							
						
					
					
				 | 
				@ -169,16 +169,18 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				      </el-select> | 
				 | 
				 | 
				      </el-select> | 
			
		
		
	
		
			
				 | 
				 | 
				      <span style="margin-left: 10%; padding: 5px">搜索选择</span> | 
				 | 
				 | 
				      <span style="margin-left: 10%; padding: 5px">搜索选择</span> | 
			
		
		
	
		
			
				 | 
				 | 
				      <el-select | 
				 | 
				 | 
				      <el-select | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        @change="chooseapackage" | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        value-key="id" | 
			
		
		
	
		
			
				 | 
				 | 
				        filterable | 
				 | 
				 | 
				        filterable | 
			
		
		
	
		
			
				 | 
				 | 
				        v-model="flitvalues" | 
				 | 
				 | 
				        v-model="flitvalues" | 
			
		
		
	
		
			
				 | 
				 | 
				        placeholder="请选择" | 
				 | 
				 | 
				        placeholder="请选择" | 
			
		
		
	
		
			
				 | 
				 | 
				        style="margin-top: 5px" | 
				 | 
				 | 
				        style="margin-top: 5px" | 
			
		
		
	
		
			
				 | 
				 | 
				      > | 
				 | 
				 | 
				      > | 
			
		
		
	
		
			
				 | 
				 | 
				        <el-option | 
				 | 
				 | 
				        <el-option | 
			
		
		
	
		
			
				 | 
				 | 
				          v-for="item in filetelists" | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          v-for="item in medicalpackage" | 
			
		
		
	
		
			
				 | 
				 | 
				          :key="item.id" | 
				 | 
				 | 
				          :key="item.id" | 
			
		
		
	
		
			
				 | 
				 | 
				          :label="item.displayName" | 
				 | 
				 | 
				          :label="item.displayName" | 
			
		
		
	
		
			
				 | 
				 | 
				          :value="item.id" | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          :value="item" | 
			
		
		
	
		
			
				 | 
				 | 
				        > | 
				 | 
				 | 
				        > | 
			
		
		
	
		
			
				 | 
				 | 
				        </el-option> | 
				 | 
				 | 
				        </el-option> | 
			
		
		
	
		
			
				 | 
				 | 
				      </el-select> | 
				 | 
				 | 
				      </el-select> | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -365,7 +367,9 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				      leftobj: {}, | 
				 | 
				 | 
				      leftobj: {}, | 
			
		
		
	
		
			
				 | 
				 | 
				      rightobj: {}, | 
				 | 
				 | 
				      rightobj: {}, | 
			
		
		
	
		
			
				 | 
				 | 
				      nums: 0, | 
				 | 
				 | 
				      nums: 0, | 
			
		
		
	
		
			
				 | 
				 | 
				      curRow:{} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      curRow: {}, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      medicalpackagevalue: "", | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      medicalpackage: [], //套餐包含的项目 | 
			
		
		
	
		
			
				 | 
				 | 
				    }; | 
				 | 
				 | 
				    }; | 
			
		
		
	
		
			
				 | 
				 | 
				  }, | 
				 | 
				 | 
				  }, | 
			
		
		
	
		
			
				 | 
				 | 
				  created() { | 
				 | 
				 | 
				  created() { | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -373,9 +377,21 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    this.gitprojectcategory(); | 
				 | 
				 | 
				    this.gitprojectcategory(); | 
			
		
		
	
		
			
				 | 
				 | 
				  }, | 
				 | 
				 | 
				  }, | 
			
		
		
	
		
			
				 | 
				 | 
				  mounted() { | 
				 | 
				 | 
				  mounted() { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    this.getmedicalpackage(); | 
			
		
		
	
		
			
				 | 
				 | 
				    this.rowDrop(); | 
				 | 
				 | 
				    this.rowDrop(); | 
			
		
		
	
		
			
				 | 
				 | 
				  }, | 
				 | 
				 | 
				  }, | 
			
		
		
	
		
			
				 | 
				 | 
				  methods: { | 
				 | 
				 | 
				  methods: { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    chooseapackage(v) { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.rightdata.push({ displayName: v.displayName }); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      console.log(v); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    //体检套餐需要的项目 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    getmedicalpackage() { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      getapi("/api/app/item").then((res) => { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.medicalpackage = res.data.items; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        console.log(res); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      }); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    Onsubmit() { | 
				 | 
				 | 
				    Onsubmit() { | 
			
		
		
	
		
			
				 | 
				 | 
				      let sampleGroupId = this.form.id; | 
				 | 
				 | 
				      let sampleGroupId = this.form.id; | 
			
		
		
	
		
			
				 | 
				 | 
				      console.log(this.form.id); | 
				 | 
				 | 
				      console.log(this.form.id); | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -545,7 +561,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				      }); | 
				 | 
				 | 
				      }); | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    toppings() { | 
				 | 
				 | 
				    toppings() { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.form={...this.curRow} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.form = { ...this.curRow }; | 
			
		
		
	
		
			
				 | 
				 | 
				      if (this.form.id == undefined) { | 
				 | 
				 | 
				      if (this.form.id == undefined) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.warning("请选择操作的数据"); | 
				 | 
				 | 
				        this.$message.warning("请选择操作的数据"); | 
			
		
		
	
		
			
				 | 
				 | 
				      } else { | 
				 | 
				 | 
				      } else { | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -560,7 +576,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				      } | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    topping() { | 
				 | 
				 | 
				    topping() { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.form={...this.curRow} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.form = { ...this.curRow }; | 
			
		
		
	
		
			
				 | 
				 | 
				      if (this.form.id == undefined) { | 
				 | 
				 | 
				      if (this.form.id == undefined) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.warning("请选择操作的数据"); | 
				 | 
				 | 
				        this.$message.warning("请选择操作的数据"); | 
			
		
		
	
		
			
				 | 
				 | 
				      } else { | 
				 | 
				 | 
				      } else { | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -576,7 +592,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    //删除 | 
				 | 
				 | 
				    //删除 | 
			
		
		
	
		
			
				 | 
				 | 
				    delets(row) { | 
				 | 
				 | 
				    delets(row) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.form={...this.curRow} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.form = { ...this.curRow }; | 
			
		
		
	
		
			
				 | 
				 | 
				      if (this.form.id == undefined) { | 
				 | 
				 | 
				      if (this.form.id == undefined) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.warning("请选择删除的数据"); | 
				 | 
				 | 
				        this.$message.warning("请选择删除的数据"); | 
			
		
		
	
		
			
				 | 
				 | 
				      } else { | 
				 | 
				 | 
				      } else { | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -596,7 +612,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    //编辑弹框 | 
				 | 
				 | 
				    //编辑弹框 | 
			
		
		
	
		
			
				 | 
				 | 
				    editpopup() { | 
				 | 
				 | 
				    editpopup() { | 
			
		
		
	
		
			
				 | 
				 | 
				      this.form={...this.curRow} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.form = { ...this.curRow }; | 
			
		
		
	
		
			
				 | 
				 | 
				      if (this.form.id == undefined) { | 
				 | 
				 | 
				      if (this.form.id == undefined) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.warning("请点击选择操作的数据"); | 
				 | 
				 | 
				        this.$message.warning("请点击选择操作的数据"); | 
			
		
		
	
		
			
				 | 
				 | 
				      } else { | 
				 | 
				 | 
				      } else { | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -635,7 +651,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    rowclick(val) { | 
				 | 
				 | 
				    rowclick(val) { | 
			
		
		
	
		
			
				 | 
				 | 
				      getapi(`/api/app/medical-package/${val.id}`).then((res) => { | 
				 | 
				 | 
				      getapi(`/api/app/medical-package/${val.id}`).then((res) => { | 
			
		
		
	
		
			
				 | 
				 | 
				        // this.form = res.data; | 
				 | 
				 | 
				        // this.form = res.data; | 
			
		
		
	
		
			
				 | 
				 | 
				        this.curRow={...res.data} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.curRow = { ...res.data }; | 
			
		
		
	
		
			
				 | 
				 | 
				        console.log(res); | 
				 | 
				 | 
				        console.log(res); | 
			
		
		
	
		
			
				 | 
				 | 
				      }); | 
				 | 
				 | 
				      }); | 
			
		
		
	
		
			
				 | 
				 | 
				      getapi( | 
				 | 
				 | 
				      getapi( | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |