Compare commits
No commits in common. "eb562c18aee30a54675a62323c8b9d094907512b" and "1260d288a232a63464f937ea93a7cd86ad8d1c5f" have entirely different histories.
eb562c18ae
...
1260d288a2
@ -61,7 +61,4 @@ public class CustomerInfoRespVO {
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(description = "租户id")
|
||||
private Long tenantId;
|
||||
|
||||
}
|
@ -30,7 +30,6 @@ public interface EquipInfoMapper extends BaseMapperX<EquipInfoDO> {
|
||||
.likeIfPresent(EquipInfoDO::getEquipName, reqVO.getEquipName())
|
||||
.likeIfPresent(EquipInfoDO::getEquipNo, reqVO.getEquipNo())
|
||||
.eqIfPresent(EquipInfoDO::getStatus, reqVO.getStatus())
|
||||
.eqIfPresent(EquipInfoDO::getRunStatus, reqVO.getRunStatus())
|
||||
.groupBy(EquipInfoDO::getCustomerId, EquipInfoDO::getModelId)
|
||||
);
|
||||
}
|
||||
|
@ -156,15 +156,6 @@ export default {
|
||||
name: "CustomerInfoForm",
|
||||
components: {},
|
||||
data() {
|
||||
// 定义验证规则
|
||||
var validatePhoneNumber = (rule, value, callback) => {
|
||||
const reg = /^1[3|4|5|6|7|8|9][0-9]{9}$/
|
||||
if (!reg.test(value)) {
|
||||
callback(new Error('请输入有效的手机号码'))
|
||||
} else {
|
||||
callback()
|
||||
}
|
||||
};
|
||||
return {
|
||||
areaTree: [],
|
||||
areaTreeData: [],
|
||||
@ -197,10 +188,6 @@ export default {
|
||||
industryType: [
|
||||
{ required: true, message: "请选择所属行业", trigger: "change" },
|
||||
],
|
||||
contactPhone: [
|
||||
{ required: true, message: '请输入手机号码', trigger: 'blur' },
|
||||
{ validator: validatePhoneNumber, trigger: 'blur' }
|
||||
],
|
||||
},
|
||||
|
||||
tenantLists: [],
|
||||
|
@ -25,7 +25,7 @@
|
||||
<el-input v-model="formData.remark" :rows="4" type="textarea" placeholder="请输入内容"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="型号图片:" prop="modelPicPath">
|
||||
<ImageUpload v-model="formData.modelPicPath" :limit="1"/>
|
||||
<ImageUpload v-model="formData.modelPicPath"/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
|
@ -212,12 +212,12 @@ export default {
|
||||
this.formData.equipId,
|
||||
this.equipCascader
|
||||
);
|
||||
this.dialogTitle = "修改机床组件信息";
|
||||
this.title = "修改机床组件信息";
|
||||
} finally {
|
||||
this.formLoading = false;
|
||||
}
|
||||
}
|
||||
this.dialogTitle = "新增机床组件信息";
|
||||
this.title = "新增机床组件信息";
|
||||
},
|
||||
/** 提交按钮 */
|
||||
async submitForm() {
|
||||
|
@ -146,7 +146,7 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="二维码图片">
|
||||
<ImageUpload v-model="formData.qrcodePicPath" :limit="1"/>
|
||||
<ImageUpload v-model="formData.qrcodePicPath" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div
|
||||
|
@ -58,7 +58,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="机床状态"
|
||||
prop="runStatus"
|
||||
prop="status"
|
||||
>
|
||||
<el-select
|
||||
v-model="queryParams.status"
|
||||
@ -67,7 +67,7 @@
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in this.getDictDatas(DICT_TYPE.EQUIP_RUN_STATUS)"
|
||||
v-for="dict in this.getDictDatas(DICT_TYPE.EQUIP_STATUS)"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
@ -178,12 +178,12 @@
|
||||
<el-table-column
|
||||
label="机床状态"
|
||||
align="center"
|
||||
prop="runStatus"
|
||||
prop="status"
|
||||
>
|
||||
<template v-slot="scope">
|
||||
<dict-tag
|
||||
:type="DICT_TYPE.EQUIP_RUN_STATUS"
|
||||
:value="scope.row.runStatus"
|
||||
:type="DICT_TYPE.EQUIP_STATUS"
|
||||
:value="scope.row.status"
|
||||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
Loading…
Reference in New Issue
Block a user