'修改专家评分不更新'

main
JayChou 4 months ago
parent 04aec1977e
commit 442b0407e5
  1. 3
      jeecgboot-vue3-master/src/views/expscore/ExpScoreList.vue
  2. 5
      jeecgboot-vue3-master/src/views/expscore/components/ExpScoreModal.vue
  3. 4
      jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointDList.vue

@ -146,8 +146,9 @@
xzzf({zjpfid:record.id}).then((result)=>{ xzzf({zjpfid:record.id}).then((result)=>{
console.log(result) console.log(result)
if(result=="true"){ if(result=="true"){
registerModal.value.disableSubmit = false;
registerModal.value.edit(record); registerModal.value.edit(record);
registerModal.value.disableSubmit = false;
}else{ }else{
createMessage.warning("评分细则总分不足100分,请先添加评分细则"); createMessage.warning("评分细则总分不足100分,请先添加评分细则");
} }

@ -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;

@ -184,6 +184,8 @@
* 查询 * 查询
*/ */
function searchQuery() { function searchQuery() {
console.log('查询');
reload(); reload();
} }
@ -218,6 +220,8 @@
} }
defineExpose({ defineExpose({
submitForm, submitForm,
searchQuery,
searchReset
}); });

Loading…
Cancel
Save