且企业信息维护界面
This commit is contained in:
parent
0fd45a7085
commit
194eaedd34
|
|
@ -7,6 +7,11 @@
|
|||
<a-input v-model:value="formData.entName" placeholder="请输入企业名称" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="企业短名" v-bind="validateInfos.entShortName">
|
||||
<a-input v-model:value="formData.entShortName" placeholder="请输入企业短名" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="信用代码" v-bind="validateInfos.entCredit">
|
||||
<a-input v-model:value="formData.entCredit" placeholder="请输入信用代码" :disabled="disabled"></a-input>
|
||||
|
|
@ -27,6 +32,58 @@
|
|||
<a-input v-model:value="formData.entPhone" placeholder="请输入联系电话" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="纬度" v-bind="validateInfos.entLonglat">
|
||||
<mapselect v-model:value="formData.entLonglat" placeholder="请选择经纬度" :disabled="disabled"></mapselect>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<!-- <a-col :span="24">-->
|
||||
<!-- <a-form-item label="纬度" v-bind="validateInfos.entLat">-->
|
||||
<!-- <a-input v-model:value="formData.entLat" placeholder="请输入纬度" :disabled="disabled"></a-input>-->
|
||||
<!-- </a-form-item>-->
|
||||
<!-- </a-col>-->
|
||||
<!-- <a-col :span="24">-->
|
||||
<!-- <a-form-item label="经度" v-bind="validateInfos.entLong">-->
|
||||
<!-- <a-input v-model:value="formData.entLong" placeholder="请输入经度" :disabled="disabled"></a-input>-->
|
||||
<!-- </a-form-item>-->
|
||||
<!-- </a-col>-->
|
||||
<a-col :span="24">
|
||||
<a-form-item label="企业地图图标" v-bind="validateInfos.entMapIcon">
|
||||
<JImageUpload :fileMax="1" v-model:value="formData.entMapIcon" :disabled="disabled"></JImageUpload>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="是否显示" v-bind="validateInfos.isShow">
|
||||
<JDictSelectTag
|
||||
type="radio"
|
||||
v-model:value="formData.isShow"
|
||||
dictCode="yn"
|
||||
placeholder="选择状态"
|
||||
:disabled="disabled"
|
||||
stringToNumber="true"
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :span="24">
|
||||
<a-form-item label="是否启用" v-bind="validateInfos.isEnable">
|
||||
<JDictSelectTag
|
||||
type="radio"
|
||||
v-model:value="formData.isEnable"
|
||||
dictCode="yn"
|
||||
placeholder="选择状态"
|
||||
:disabled="disabled"
|
||||
stringToNumber="true"
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :span="24">
|
||||
<a-form-item label="排序值" v-bind="validateInfos.sortNo">
|
||||
<a-input-number v-model:value="formData.sortNo" placeholder="请输入排序值" :disabled="disabled"></a-input-number>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</a-spin>
|
||||
|
|
@ -39,11 +96,14 @@
|
|||
import { getValueType } from '/@/utils';
|
||||
import { saveOrUpdate } from '../SurvEnterpriseInfo.api';
|
||||
import { Form } from 'ant-design-vue';
|
||||
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
||||
import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.vue';
|
||||
import mapselect from '/@/components/MapSelect/MapSelect.vue';
|
||||
|
||||
const props = defineProps({
|
||||
formDisabled: { type: Boolean, default: false },
|
||||
formData: { type: Object, default: () => {} },
|
||||
formBpm: { type: Boolean, default: true }
|
||||
formBpm: { type: Boolean, default: true },
|
||||
});
|
||||
const formRef = ref();
|
||||
const useForm = Form.useForm;
|
||||
|
|
@ -61,6 +121,13 @@
|
|||
updatedBy: '',
|
||||
isDel: undefined,
|
||||
updatedTime: '',
|
||||
entLat: '',
|
||||
entLong: '',
|
||||
entMapIcon: '',
|
||||
entShortName: '',
|
||||
isShow: 1,
|
||||
sortNo: 1,
|
||||
isEnable: 1,
|
||||
});
|
||||
const { createMessage } = useMessage();
|
||||
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });
|
||||
|
|
@ -84,7 +151,6 @@
|
|||
return props.formDisabled;
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
|
|
@ -141,7 +207,6 @@
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
defineExpose({
|
||||
add,
|
||||
edit,
|
||||
|
|
|
|||
Loading…
Reference in New Issue