2023-4-11quanxian

master
YTD 2 years ago
parent e5eab0d3e9
commit e0b7b7fc80
  1. 6
      ant-design-vue-jeecg/src/mixins/JeecgListMixin.js
  2. 9
      ant-design-vue-jeecg/src/views/functionx/modules/FunctionxForm.vue

@ -276,9 +276,9 @@ export const JeecgListMixin = {
},
fuzhi: function(record){
record.id=''
record.functionName=record.functionName+1
record.functionEnName=record.functionEnName+1
record.functionCode=record.functionCode+1
record.functionName1=record.functionName+1
record.functionEnName1=record.functionEnName+1
record.functionCode1=record.functionCode+1
this.$refs.modalForm.edit(record);
this.$refs.modalForm.title = "复制";
this.$refs.modalForm.disableSubmit = false;

@ -243,6 +243,15 @@
},
edit (record) {
this.model = Object.assign({}, record);
if(this.model.functionName1!=null){
this.model.functionName=this.model.functionName1;
}
if(this.model.functionEnName1!=null){
this.model.functionEnName=this.model.functionEnName1
}
if(this.model.functionCode1!=null){
this.model.functionCode=this.model.functionCode1
}
this.visible = true;
},
submitForm () {

Loading…
Cancel
Save