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