zhc4dev
wangjiadong 2 years ago
parent a0bc5dcac6
commit 835ae5bf8a
  1. 2
      ant-design-vue-jeecg/src/components/layouts/Jxrysjkzxt.vue
  2. 10
      ant-design-vue-jeecg/src/views/customermeasure/admin/CustomerMeasureList.vue
  3. 6
      ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue
  4. 4
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/entity/CustomerMeasure.java

@ -4,7 +4,7 @@
<div class="top"> <div class="top">
<div class="header"> <div class="header">
<img src="~@/assets/logohuanghuai.png" class="logo" alt="logo"> <img src="~@/assets/logohuanghuai.png" class="logo" alt="logo">
<span class="title">黄淮学院服装智能制造管理平台</span><br> <span class="title">黄淮学院服装智能制造平台</span><br>
<span class="title1">教学人员数据库子系统</span> <span class="title1">教学人员数据库子系统</span>
</div> </div>
<div class="desc"> <div class="desc">

@ -100,6 +100,8 @@
</template> </template>
<span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record">
<a @click="moren(record)">默认</a>
<a-divider type="vertical" />
<a @click="handleEdit(record)">编辑</a> <a @click="handleEdit(record)">编辑</a>
<a-divider type="vertical" /> <a-divider type="vertical" />
@ -133,6 +135,7 @@
import { JeecgListMixin } from '@/mixins/JeecgListMixin' import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import CustomerMeasureModal from './modules/CustomerMeasureModal' import CustomerMeasureModal from './modules/CustomerMeasureModal'
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' import {filterMultiDictText} from '@/components/dict/JDictSelectUtil'
import { getAction } from '@/api/manage'
export default { export default {
name: 'CustomerMeasureList', name: 'CustomerMeasureList',
@ -277,8 +280,8 @@
superFieldList:[], superFieldList:[],
} }
}, },
created() { created(record){
this.getSuperFieldList(); getAction(this.url.moreYear,{ id: record.id})
}, },
computed: { computed: {
importExcelUrl: function(){ importExcelUrl: function(){
@ -286,6 +289,9 @@
}, },
}, },
methods: { methods: {
moren(){
},
initDictConfig(){ initDictConfig(){
}, },
getSuperFieldList(){ getSuperFieldList(){

@ -18,7 +18,7 @@
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<a-form-model-item label="登录名" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="userdlm"> <a-form-model-item label="登录名" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="userdlm">
<a-input v-model="model.userdlm" placeholder="请输入登录名" ></a-input> <a-input v-model="model.userdlm" placeholder="请输入登录名" disabled></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
@ -173,10 +173,10 @@
}, },
confirmLoading: false, confirmLoading: false,
validatorRules: { validatorRules: {
sort: [ /* sort: [
{ required: false}, { required: false},
{ validator: (rule, value, callback) => validateDuplicateValue('customer_measure', 'sort', value, this.model.id, callback)}, { validator: (rule, value, callback) => validateDuplicateValue('customer_measure', 'sort', value, this.model.id, callback)},
], ],*/
height: [ height: [
{ required: true, message: '请输入身高!'}, { required: true, message: '请输入身高!'},
{pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'}, {pattern: /^\d*\.?\d$/,message:'请输入大于0的数,保留一位小数'},

@ -139,8 +139,8 @@ public class CustomerMeasure implements Serializable {
@ApiModelProperty(value = "量体店铺") @ApiModelProperty(value = "量体店铺")
private java.lang.String storename; private java.lang.String storename;
/**量体设备*/ /**量体设备*/
@Excel(name = "量体设备", width = 15, dictTable = "zy_devicetype", dicText = "name", dicCode = "id") @Excel(name = "量体设备", width = 15, dictTable = "zy_device", dicText = "name", dicCode = "id")
@Dict(dictTable = "zy_devicetype", dicText = "name", dicCode = "id") @Dict(dictTable = "zy_device", dicText = "name", dicCode = "id")
@ApiModelProperty(value = "量体设备") @ApiModelProperty(value = "量体设备")
private java.lang.String deviceId; private java.lang.String deviceId;
/**量体设备*/ /**量体设备*/

Loading…
Cancel
Save