| 
					
					
						
							
						
					
					
				 | 
				@ -23,7 +23,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				            <el-table :data="sysParms" border :height="window.pageHeight < 600 ? 420 : window.pageHeight - 190" | 
				 | 
				 | 
				            <el-table :data="sysParms" border :height="window.pageHeight < 600 ? 420 : window.pageHeight - 190" | 
			
		
		
	
		
			
				 | 
				 | 
				              size="small" highlight-current-row> | 
				 | 
				 | 
				              size="small" highlight-current-row> | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-table-column prop="id" label="参数ID" /> | 
				 | 
				 | 
				              <el-table-column prop="id" label="参数ID" /> | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-table-column prop="displayName" label="参数名称" /> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				              <el-table-column prop="displayName" label="参数名称" width="120"/> | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-table-column prop="organizationUnitId" label="体检中心"> | 
				 | 
				 | 
				              <el-table-column prop="organizationUnitId" label="体检中心"> | 
			
		
		
	
		
			
				 | 
				 | 
				                <template slot-scope="scope"> | 
				 | 
				 | 
				                <template slot-scope="scope"> | 
			
		
		
	
		
			
				 | 
				 | 
				                  <el-select v-model="scope.row.organizationUnitId" placeholder="请选择体检中心" filterable size="small" > | 
				 | 
				 | 
				                  <el-select v-model="scope.row.organizationUnitId" placeholder="请选择体检中心" filterable size="small" > | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -34,13 +34,12 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				              </el-table-column> | 
				 | 
				 | 
				              </el-table-column> | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-table-column prop="sysParmValueName" label="参数值"> | 
				 | 
				 | 
				              <el-table-column prop="sysParmValueName" label="参数值"> | 
			
		
		
	
		
			
				 | 
				 | 
				                <template slot-scope="scope"> | 
				 | 
				 | 
				                <template slot-scope="scope"> | 
			
		
		
	
		
			
				 | 
				 | 
				                  <el-input v-model="scope.row.sysParmValueName"/> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                  <el-input type="textarea" v-model="scope.row.sysParmValueName" :autosize="{minRows: 1, maxRows: 100 }" size="small"/> | 
			
		
		
	
		
			
				 | 
				 | 
				                </template> | 
				 | 
				 | 
				                </template> | 
			
		
		
	
		
			
				 | 
				 | 
				              </el-table-column> | 
				 | 
				 | 
				              </el-table-column> | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-table-column prop="sysParmValueRemark" label="备注"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				              <el-table-column prop="valueRemark" label="备注"> | 
			
		
		
	
		
			
				 | 
				 | 
				                <template slot-scope="scope"> | 
				 | 
				 | 
				                <template slot-scope="scope"> | 
			
		
		
	
		
			
				 | 
				 | 
				                  <el-input v-model="scope.row.sysParmValueRemark"/> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                  <el-input type="textarea" v-model="scope.row.valueRemark" :autosize="{minRows: 1, maxRows: 100 }" size="small"/> | 
			
		
		
	
		
			
				 | 
				 | 
				                </template> | 
				 | 
				 | 
				                </template> | 
			
		
		
	
		
			
				 | 
				 | 
				              </el-table-column> | 
				 | 
				 | 
				              </el-table-column> | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-table-column prop="remark" label="参数说明"/> | 
				 | 
				 | 
				              <el-table-column prop="remark" label="参数说明"/> | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -96,7 +95,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    //获取系统参数类别树数据 | 
				 | 
				 | 
				    //获取系统参数类别树数据 | 
			
		
		
	
		
			
				 | 
				 | 
				    getSysParmTypesTree() { | 
				 | 
				 | 
				    getSysParmTypesTree() { | 
			
		
		
	
		
			
				 | 
				 | 
				      getapi("/api/app/sys-parm-type/by-code-all").then((res) => { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      getapi("/api/app/sysparmtype/treelist").then((res) => { | 
			
		
		
	
		
			
				 | 
				 | 
				        if (res.code != - 1) { | 
				 | 
				 | 
				        if (res.code != - 1) { | 
			
		
		
	
		
			
				 | 
				 | 
				          this.sysParmTypesTree = res.data; | 
				 | 
				 | 
				          this.sysParmTypesTree = res.data; | 
			
		
		
	
		
			
				 | 
				 | 
				          //console.log("res.data", res.data);        | 
				 | 
				 | 
				          //console.log("res.data", res.data);        | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -116,7 +115,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    getSysParms() { | 
				 | 
				 | 
				    getSysParms() { | 
			
		
		
	
		
			
				 | 
				 | 
				      let url = `/api/app/sys-parm/in-sys-parm-value-name?SysParmTypeId=${this.sysParmTypeId}`; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let url = `/api/app/sysparm/getlistinsysparmvaluename?SysParmTypeId=${this.sysParmTypeId}`; | 
			
		
		
	
		
			
				 | 
				 | 
				      if (this.organizationId) { | 
				 | 
				 | 
				      if (this.organizationId) { | 
			
		
		
	
		
			
				 | 
				 | 
				        url += `&OrganizationUnitId=${this.organizationId}` | 
				 | 
				 | 
				        url += `&OrganizationUnitId=${this.organizationId}` | 
			
		
		
	
		
			
				 | 
				 | 
				      } | 
				 | 
				 | 
				      } | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -135,11 +134,11 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				          sysParmId:item.id, | 
				 | 
				 | 
				          sysParmId:item.id, | 
			
		
		
	
		
			
				 | 
				 | 
				          organizationUnitId:item.organizationUnitId, | 
				 | 
				 | 
				          organizationUnitId:item.organizationUnitId, | 
			
		
		
	
		
			
				 | 
				 | 
				          parmValue:item.sysParmValueName, | 
				 | 
				 | 
				          parmValue:item.sysParmValueName, | 
			
		
		
	
		
			
				 | 
				 | 
				          remark:item.sysParmValueRemark | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          remark:item.valueRemark | 
			
		
		
	
		
			
				 | 
				 | 
				        }); | 
				 | 
				 | 
				        }); | 
			
		
		
	
		
			
				 | 
				 | 
				      }); | 
				 | 
				 | 
				      }); | 
			
		
		
	
		
			
				 | 
				 | 
				       | 
				 | 
				 | 
				       | 
			
		
		
	
		
			
				 | 
				 | 
				      getpost("/api/app/sys-parm-type/by-code-all",body).then((res) => { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      postapi("/api/app/sysparmvalue/updatesysparmvaluemany",body).then((res) => { | 
			
		
		
	
		
			
				 | 
				 | 
				        if (res.code != - 1) { | 
				 | 
				 | 
				        if (res.code != - 1) { | 
			
		
		
	
		
			
				 | 
				 | 
				          this.$message.success('操作成功!'); | 
				 | 
				 | 
				          this.$message.success('操作成功!'); | 
			
		
		
	
		
			
				 | 
				 | 
				        } | 
				 | 
				 | 
				        } | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |