|
|
|
@ -8,7 +8,6 @@ |
|
|
|
|
import { ref, nextTick, defineExpose } from 'vue'; |
|
|
|
|
import ExpScoreForm from '../../scorestapointd/ScoreStaPointDList.vue' |
|
|
|
|
import { useRoute } from 'vue-router'; |
|
|
|
|
|
|
|
|
|
const route = useRoute(); |
|
|
|
|
const title = ref<string>(''); |
|
|
|
|
const width = ref<number>(800); |
|
|
|
@ -16,7 +15,6 @@ |
|
|
|
|
const disableSubmit = ref<boolean>(false); |
|
|
|
|
const registerForm = ref(); |
|
|
|
|
const emit = defineEmits(['register', 'success']); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 新增 |
|
|
|
|
*/ |
|
|
|
@ -33,6 +31,9 @@ |
|
|
|
|
* @param record |
|
|
|
|
*/ |
|
|
|
|
function edit(record) { |
|
|
|
|
console.log(record.id); |
|
|
|
|
console.log(registerForm.value); |
|
|
|
|
registerForm.value? registerForm.value.searchReset() : '' |
|
|
|
|
title.value = disableSubmit.value ? '详情' : '细则得分'; |
|
|
|
|
visible.value = true; |
|
|
|
|
let id= record.id; |
|
|
|
|