'修改年度比赛项目赛程管理时间回写问题'

gst4base
JayChou 2 months ago
parent 32f80d0c05
commit 6110bd286f
  1. 4
      jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue
  2. 20
      jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/AnnualCompPointFormscgl.vue
  3. 5
      jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/cardItem.vue

@ -134,6 +134,8 @@
*/ */
const handleDetail = (record) => { const handleDetail = (record) => {
registerModal.value.disableSubmit = true; registerModal.value.disableSubmit = true;
console.log(record.value,'record.value', raceList.value);
registerModal.value.edit(record.value); registerModal.value.edit(record.value);
}; };
/** /**
@ -142,6 +144,8 @@
const registerModalscgl = ref(); const registerModalscgl = ref();
const handleEditscgl = (record) => { const handleEditscgl = (record) => {
registerModalscgl.value.disableSubmit = false; registerModalscgl.value.disableSubmit = false;
console.log(record.value,'record.value');
registerModalscgl.value.edit(record.value); registerModalscgl.value.edit(record.value);
}; };
/** /**

@ -328,16 +328,16 @@ function add() {
function edit(record) { function edit(record) {
nextTick(() => { nextTick(() => {
resetFields(); resetFields();
record.applyStartTime=''; // record.applyStartTime='';
record.applyStartTime=''; // record.applyStartTime='';
record.applyEndTime=''; // record.applyEndTime='';
record.topicStartTime=''; // record.topicStartTime='';
record.topicEndTime=''; // record.topicEndTime='';
record.uploadStartTime=''; // record.uploadStartTime='';
record.uploadEndTime=''; // record.uploadEndTime='';
record.scoreStartTime=''; // record.scoreStartTime='';
record.scoreEndTime=''; // record.scoreEndTime='';
record.uploadWorksType=''; // record.uploadWorksType='';
// //
Object.assign(formData, record); Object.assign(formData, record);
}); });

@ -63,9 +63,12 @@
emits('delChange', data); emits('delChange', data);
}; };
const info = () => { const info = () => {
console.log(data.value,'子');
emits('infoChange', data); emits('infoChange', data);
}; };
const editscgl = () => { const editscgl = () => {
console.log(data.value,'子');
emits('editscglChange', data); emits('editscglChange', data);
}; };
const updateApply = () => { const updateApply = () => {
@ -126,6 +129,8 @@
watch( watch(
() => props.data, () => props.data,
(newVal) => { (newVal) => {
console.log(newVal,'newVal');
data.value = newVal; data.value = newVal;
} }
); );

Loading…
Cancel
Save