修改样式
This commit is contained in:
parent
90d1639a7b
commit
b93adfc4fe
|
|
@ -57,27 +57,38 @@
|
||||||
<SectionDivider :title="'机构信息'" />
|
<SectionDivider :title="'机构信息'" />
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item label="机构所在地" v-bind="validateInfos.cityViewValue" id="OrgApplyInfoForm-cityViewValue"
|
<a-row>
|
||||||
name="cityViewValue">
|
<a-col :span="16">
|
||||||
<a-textarea :autosize="{ minRows: 1 }" maxlength="50" disabled v-model:value="cityViewValue"
|
<a-col :span="24">
|
||||||
allow-clear></a-textarea>
|
<a-form-item label="机构位置" v-bind="validateInfos.cityViewValue" id="OrgApplyInfoForm-cityViewValue"
|
||||||
<!-- {{ cityViewValue }} -->
|
name="cityViewValue" :labelCol="labelCol4" :wrapperCol="wrapperCol4">
|
||||||
</a-form-item>
|
<a-textarea :autosize="{ minRows: 1 }" maxlength="50" disabled v-model:value="cityViewValue"
|
||||||
</a-col>
|
allow-clear></a-textarea>
|
||||||
<a-col :span="24">
|
</a-form-item>
|
||||||
<a-form-item label="机构负责人" v-bind="validateInfos.orgLeader" id="OrgApplyInfoForm-orgLeader"
|
</a-col>
|
||||||
name="orgLeader">
|
<a-col :span="24">
|
||||||
<a-input v-model:value="formData.orgLeader" placeholder="请输入机构负责人" disabled allow-clear></a-input>
|
<a-form-item label="机构负责人" v-bind="validateInfos.orgLeader" id="OrgApplyInfoForm-orgLeader"
|
||||||
<!-- {{ formData.orgLeader }} -->
|
name="orgLeader" :labelCol="labelCol4" :wrapperCol="wrapperCol4">
|
||||||
</a-form-item>
|
<a-input v-model:value="formData.orgLeader" placeholder="请输入机构负责人" disabled allow-clear></a-input>
|
||||||
</a-col>
|
</a-form-item>
|
||||||
<a-col :span="24">
|
</a-col>
|
||||||
<a-form-item label="负责人电话" v-bind="validateInfos.orgLeaderPhone" id="OrgApplyInfoForm-orgLeaderPhone"
|
<a-col :span="24">
|
||||||
name="orgLeaderPhone">
|
<a-form-item label="负责人电话" v-bind="validateInfos.orgLeaderPhone" id="OrgApplyInfoForm-orgLeaderPhone"
|
||||||
<a-input v-model:value="formData.orgLeaderPhone" placeholder="请输入负责人电话" disabled
|
name="orgLeaderPhone" :labelCol="labelCol4" :wrapperCol="wrapperCol4">
|
||||||
allow-clear></a-input>
|
<a-input v-model:value="formData.orgLeaderPhone" disabled
|
||||||
<!-- {{ formData.orgLeaderPhone }} -->
|
allow-clear></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="8">
|
||||||
|
<a-col :span="24">
|
||||||
|
<a-form-item label="" v-bind="validateInfos.headPath" id="OrgApplyInfoForm-headPath"
|
||||||
|
name="headPath" style="margin-left: 40px;">
|
||||||
|
<JImageUpload :fileMax="1" text="无" v-model:value="formData.headPath" :disabled="true"></JImageUpload>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item label="房屋性质" v-bind="validateInfos.orgPropertyType" id="OrgApplyInfoForm-orgPropertyType"
|
<a-form-item label="房屋性质" v-bind="validateInfos.orgPropertyType" id="OrgApplyInfoForm-orgPropertyType"
|
||||||
|
|
@ -290,6 +301,7 @@ const formData = reactive<Record<string, any>>({
|
||||||
auditBy: '',
|
auditBy: '',
|
||||||
auditTime: '',
|
auditTime: '',
|
||||||
departName: '',
|
departName: '',
|
||||||
|
headPath: '',
|
||||||
|
|
||||||
});
|
});
|
||||||
const tempNullVal = ref('');
|
const tempNullVal = ref('');
|
||||||
|
|
@ -297,6 +309,8 @@ const sfsh = ref<string>('0');
|
||||||
const { createMessage } = useMessage();
|
const { createMessage } = useMessage();
|
||||||
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 8 } });
|
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 8 } });
|
||||||
const wrapperCol = ref<any>({ xs: { span: 24 }, sm: { span: 16 } });
|
const wrapperCol = ref<any>({ xs: { span: 24 }, sm: { span: 16 } });
|
||||||
|
const labelCol4 = ref<any>({ xs: { span: 24 }, sm: { span: 12 } });
|
||||||
|
const wrapperCol4 = ref<any>({ xs: { span: 24 }, sm: { span: 12 } });
|
||||||
const confirmLoading = ref<boolean>(false);
|
const confirmLoading = ref<boolean>(false);
|
||||||
//表单验证
|
//表单验证
|
||||||
const validatorRules = reactive({
|
const validatorRules = reactive({
|
||||||
|
|
@ -366,6 +380,13 @@ function edit(record) {
|
||||||
cityViewValue.value = record.orgProvince_dictText
|
cityViewValue.value = record.orgProvince_dictText
|
||||||
+ (!!record.orgCity_dictText ? record.orgCity_dictText : '')
|
+ (!!record.orgCity_dictText ? record.orgCity_dictText : '')
|
||||||
+ (!!record.orgDistrict_dictText ? record.orgDistrict_dictText : '')
|
+ (!!record.orgDistrict_dictText ? record.orgDistrict_dictText : '')
|
||||||
|
if(!tmpData.headPath){
|
||||||
|
if(tmpData.sex == '女'){
|
||||||
|
tmpData.headPath = 'https://www.focusnu.com/media/directive/index/nv.png';
|
||||||
|
}else{
|
||||||
|
tmpData.headPath = 'https://www.focusnu.com/media/directive/index/nan.png';
|
||||||
|
}
|
||||||
|
}
|
||||||
//赋值
|
//赋值
|
||||||
Object.assign(formData, tmpData);
|
Object.assign(formData, tmpData);
|
||||||
if (lsbl == '1') {
|
if (lsbl == '1') {
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ function add() {
|
||||||
* @param record
|
* @param record
|
||||||
*/
|
*/
|
||||||
function edit(record) {
|
function edit(record) {
|
||||||
title.value = disableSubmit.value ? '详情' : '机构加盟申请审核';
|
title.value = disableSubmit.value ? '机构详情' : '机构加盟申请审核';
|
||||||
visible.value = true;
|
visible.value = true;
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
registerForm.value.edit(record);
|
registerForm.value.edit(record);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue