修改样式
This commit is contained in:
parent
90d1639a7b
commit
b93adfc4fe
|
|
@ -57,27 +57,38 @@
|
|||
<SectionDivider :title="'机构信息'" />
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="机构所在地" v-bind="validateInfos.cityViewValue" id="OrgApplyInfoForm-cityViewValue"
|
||||
name="cityViewValue">
|
||||
<a-textarea :autosize="{ minRows: 1 }" maxlength="50" disabled v-model:value="cityViewValue"
|
||||
allow-clear></a-textarea>
|
||||
<!-- {{ cityViewValue }} -->
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="机构负责人" v-bind="validateInfos.orgLeader" id="OrgApplyInfoForm-orgLeader"
|
||||
name="orgLeader">
|
||||
<a-input v-model:value="formData.orgLeader" placeholder="请输入机构负责人" disabled allow-clear></a-input>
|
||||
<!-- {{ formData.orgLeader }} -->
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="负责人电话" v-bind="validateInfos.orgLeaderPhone" id="OrgApplyInfoForm-orgLeaderPhone"
|
||||
name="orgLeaderPhone">
|
||||
<a-input v-model:value="formData.orgLeaderPhone" placeholder="请输入负责人电话" disabled
|
||||
allow-clear></a-input>
|
||||
<!-- {{ formData.orgLeaderPhone }} -->
|
||||
</a-form-item>
|
||||
<a-row>
|
||||
<a-col :span="16">
|
||||
<a-col :span="24">
|
||||
<a-form-item label="机构位置" v-bind="validateInfos.cityViewValue" id="OrgApplyInfoForm-cityViewValue"
|
||||
name="cityViewValue" :labelCol="labelCol4" :wrapperCol="wrapperCol4">
|
||||
<a-textarea :autosize="{ minRows: 1 }" maxlength="50" disabled v-model:value="cityViewValue"
|
||||
allow-clear></a-textarea>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="机构负责人" v-bind="validateInfos.orgLeader" id="OrgApplyInfoForm-orgLeader"
|
||||
name="orgLeader" :labelCol="labelCol4" :wrapperCol="wrapperCol4">
|
||||
<a-input v-model:value="formData.orgLeader" placeholder="请输入机构负责人" disabled allow-clear></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="负责人电话" v-bind="validateInfos.orgLeaderPhone" id="OrgApplyInfoForm-orgLeaderPhone"
|
||||
name="orgLeaderPhone" :labelCol="labelCol4" :wrapperCol="wrapperCol4">
|
||||
<a-input v-model:value="formData.orgLeaderPhone" disabled
|
||||
allow-clear></a-input>
|
||||
</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 :span="24">
|
||||
<a-form-item label="房屋性质" v-bind="validateInfos.orgPropertyType" id="OrgApplyInfoForm-orgPropertyType"
|
||||
|
|
@ -290,6 +301,7 @@ const formData = reactive<Record<string, any>>({
|
|||
auditBy: '',
|
||||
auditTime: '',
|
||||
departName: '',
|
||||
headPath: '',
|
||||
|
||||
});
|
||||
const tempNullVal = ref('');
|
||||
|
|
@ -297,6 +309,8 @@ const sfsh = ref<string>('0');
|
|||
const { createMessage } = useMessage();
|
||||
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 8 } });
|
||||
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 validatorRules = reactive({
|
||||
|
|
@ -366,6 +380,13 @@ function edit(record) {
|
|||
cityViewValue.value = record.orgProvince_dictText
|
||||
+ (!!record.orgCity_dictText ? record.orgCity_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);
|
||||
if (lsbl == '1') {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ function add() {
|
|||
* @param record
|
||||
*/
|
||||
function edit(record) {
|
||||
title.value = disableSubmit.value ? '详情' : '机构加盟申请审核';
|
||||
title.value = disableSubmit.value ? '机构详情' : '机构加盟申请审核';
|
||||
visible.value = true;
|
||||
nextTick(() => {
|
||||
registerForm.value.edit(record);
|
||||
|
|
|
|||
Loading…
Reference in New Issue