乡镇配置增加二维码上传
This commit is contained in:
parent
8c9f1ab94b
commit
576f987f37
|
|
@ -34,6 +34,11 @@ export const columns: BasicColumn[] = [
|
||||||
return text;
|
return text;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '二维码',
|
||||||
|
dataIndex: 'qrCode',
|
||||||
|
customRender: render.renderImage,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,11 @@
|
||||||
<a-date-picker placeholder="请选择注册设备时间" v-model:value="formData.occurtime" value-format="YYYY-MM-DD" style="width: 100%" allow-clear />
|
<a-date-picker placeholder="请选择注册设备时间" v-model:value="formData.occurtime" value-format="YYYY-MM-DD" style="width: 100%" allow-clear />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :span="24">
|
||||||
|
<a-form-item label="二维码图片" v-bind="validateInfos.qrCode" id="BlWaterFlowConfigForm-qrCode" name="qrCode">
|
||||||
|
<JImageUpload :fileMax="1" v-model:value="formData.qrCode"></JImageUpload>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -45,6 +50,7 @@
|
||||||
import { saveOrUpdate } from '../BlWaterFlowConfig.api';
|
import { saveOrUpdate } from '../BlWaterFlowConfig.api';
|
||||||
import { Form } from 'ant-design-vue';
|
import { Form } from 'ant-design-vue';
|
||||||
import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
|
import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
|
||||||
|
import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.vue';
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
formDisabled: { type: Boolean, default: false },
|
formDisabled: { type: Boolean, default: false },
|
||||||
formData: { type: Object, default: () => ({})},
|
formData: { type: Object, default: () => ({})},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue