|
|
@ -15,6 +15,10 @@ |
|
|
</el-option> |
|
|
</el-option> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div style="display: flex;"> |
|
|
|
|
|
<el-color-picker v-model="color16" @change="chooseColor"/> |
|
|
|
|
|
<el-input v-model="color10" @input="inputColor" /> |
|
|
|
|
|
</div> |
|
|
<div style="margin-left: 30px;"> |
|
|
<div style="margin-left: 30px;"> |
|
|
<el-button type="success" @click="save">保存</el-button> |
|
|
<el-button type="success" @click="save">保存</el-button> |
|
|
</div> |
|
|
</div> |
|
|
@ -69,6 +73,8 @@ export default { |
|
|
organizationId: '00000000-0000-0000-0000-000000000000', |
|
|
organizationId: '00000000-0000-0000-0000-000000000000', |
|
|
sysParmTypeId: '', |
|
|
sysParmTypeId: '', |
|
|
sysParms: [], //系统参数列表 |
|
|
sysParms: [], //系统参数列表 |
|
|
|
|
|
color16:'#409EFF', |
|
|
|
|
|
color10:1089274, |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -84,6 +90,15 @@ export default { |
|
|
...mapState(["window", "dict"]), |
|
|
...mapState(["window", "dict"]), |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
chooseColor(v){ |
|
|
|
|
|
this.color10 = eval(v.replace('#','0x')); |
|
|
|
|
|
}, |
|
|
|
|
|
inputColor(v){ |
|
|
|
|
|
this.color10 = Number(v); |
|
|
|
|
|
let temp = '000000' + this.color10.toString(16); |
|
|
|
|
|
this.color16 = '#' + temp.substring(temp.length - 6,temp.length); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
//获取组织体检中心数据 |
|
|
//获取组织体检中心数据 |
|
|
getOraniztion() { |
|
|
getOraniztion() { |
|
|
getapi("/api/app/organization-units/organization-unit-by-is-peis").then( |
|
|
getapi("/api/app/organization-units/organization-unit-by-is-peis").then( |
|
|
|