暖暖 2 years ago
parent ceb101e904
commit d5f7eec08c
  1. 5
      ant-design-vue-jeecg/src/views/erp/tool/ZyToolListRef.vue
  2. 6
      ant-design-vue-jeecg/src/views/team/modules/StationToolModal.vue

@ -180,6 +180,7 @@
}, },
dictOptions:{}, dictOptions:{},
superFieldList:[], superFieldList:[],
selectedRowKeys: [],
} }
}, },
created() { created() {
@ -191,6 +192,10 @@
}, },
}, },
methods: { methods: {
onSelectChange(selectedRowKeys){
console.log('selectedRowKeys changed: ', selectedRowKeys);
this.selectedRowKeys = selectedRowKeys;
},
initDictConfig(){ initDictConfig(){
}, },
getSuperFieldList(){ getSuperFieldList(){

@ -5,7 +5,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
switchFullscreen switchFullscreen
@ok="handleOk2(record)" @ok="handleOk2"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭"> cancelText="关闭">
@ -83,7 +83,9 @@ export default {
this.$refs.form.clearValidate(); this.$refs.form.clearValidate();
}, },
handleOk2(record) { handleOk2(record) {
alert(record); // alert(record);
// console.log('-----------------------------------------------------------------------')
console.log(this.$refs["modalForm2"].selectedRowKeys)
const that = this; const that = this;
// //
// this.$refs.form.validate(valid => { // this.$refs.form.validate(valid => {

Loading…
Cancel
Save