|
|
|
@ -57,6 +57,8 @@ |
|
|
|
|
<!-- 表单区域 --> |
|
|
|
|
<AnnualCompPointModal ref="registerModal" @success="handleSuccess"></AnnualCompPointModal> |
|
|
|
|
<AnnualCompPointModalscgl ref="registerModalscgl" @success="handleSuccess"></AnnualCompPointModalscgl> |
|
|
|
|
<!-- 项目题目--> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
@ -79,8 +81,8 @@ |
|
|
|
|
tongfenfuping, |
|
|
|
|
} from './AnnualCompPoint.api'; |
|
|
|
|
import {downloadFile} from '/@/utils/common/renderUtils'; |
|
|
|
|
import AnnualCompPointModal from './components/AnnualCompPointModal.vue' |
|
|
|
|
import AnnualCompPointModalscgl from './components/AnnualCompPointModalscgl.vue' |
|
|
|
|
import AnnualCompPointModal from './components/AnnualCompPointModal.vue'; |
|
|
|
|
import AnnualCompPointModalscgl from './components/AnnualCompPointModalscgl.vue'; |
|
|
|
|
import JSwitch from '/@/components/Form/src/jeecg/components/JSwitch.vue'; |
|
|
|
|
import JSelectMultiple from '/@/components/Form/src/jeecg/components/JSelectMultiple.vue'; |
|
|
|
|
import JPopup from '/@/components/Form/src/jeecg/components/JPopup.vue'; |
|
|
|
@ -95,6 +97,7 @@ |
|
|
|
|
const toggleSearchStatus = ref<boolean>(false); |
|
|
|
|
const registerModal = ref(); |
|
|
|
|
const registerModalscgl = ref(); |
|
|
|
|
const annualCompAwardModal = ref(); |
|
|
|
|
const { createMessage } = useMessage(); |
|
|
|
|
//注册table数据 |
|
|
|
|
const {prefixCls, tableContext, onExportXls,onExportXlsMb} = useListPage({ |
|
|
|
@ -162,6 +165,36 @@ |
|
|
|
|
registerModalscgl.value.edit(record); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* /!** |
|
|
|
|
* 比赛奖项管理事件 |
|
|
|
|
*!/ |
|
|
|
|
function handleEditbsjx(record: Recordable) { |
|
|
|
|
console.log(annualCompAwardModal.value) |
|
|
|
|
annualCompAwardModal.value.disableSubmit = false; |
|
|
|
|
annualCompAwardModal.value.edit(record); |
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 项目能力管理事件 |
|
|
|
|
*/ |
|
|
|
|
function handleEditxmnl(record: Recordable) { |
|
|
|
|
router.push({ |
|
|
|
|
path: '/compp/compskill', |
|
|
|
|
query: {id: record.id} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 项目题目管理事件 |
|
|
|
|
*/ |
|
|
|
|
function handleEdittopic(record: Recordable) { |
|
|
|
|
router.push({ |
|
|
|
|
path: '/compp/topic', |
|
|
|
|
query: {id: record.id} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function onImportXls(d) { |
|
|
|
|
if(selectedRowKeys.value.length===1){ |
|
|
|
|
handleImportXls(d, '/AnnualCompPoint/annualCompPoint/importExcel?ndbsxmid='+selectedRowKeys.value[0],() => { |
|
|
|
@ -185,7 +218,7 @@ |
|
|
|
|
const router = useRouter() |
|
|
|
|
function pingjiang(record: Recordable) { |
|
|
|
|
router.push({ |
|
|
|
|
path: '/award/AwardManagementList', |
|
|
|
|
path: '/compp/annualcompaward', |
|
|
|
|
query: {id: record.id} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
@ -208,6 +241,15 @@ |
|
|
|
|
query: {acpid: record.id} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* 比赛奖项管理 |
|
|
|
|
*/ |
|
|
|
|
function bsjxgl(record: Recordable) { |
|
|
|
|
router.push({ |
|
|
|
|
path: '/compp/annualcompaward', |
|
|
|
|
query: {acpid: record.id} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 个人积分汇总 |
|
|
|
@ -288,6 +330,23 @@ |
|
|
|
|
label: '项目赛程管理', |
|
|
|
|
onClick: handleEditscgl.bind(null, record), |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
/* { |
|
|
|
|
label: '比赛奖项管理', |
|
|
|
|
onClick: handleEditbsjx.bind(null, record), |
|
|
|
|
},*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
label: '项目能力管理', |
|
|
|
|
onClick: handleEditxmnl.bind(null, record), |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
label: '题目管理', |
|
|
|
|
onClick: handleEdittopic.bind(null, record), |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
label: '详情', |
|
|
|
|
onClick: handleDetail.bind(null, record), |
|
|
|
@ -374,10 +433,18 @@ |
|
|
|
|
label: '作品管理', |
|
|
|
|
onClick: workManage.bind(null, record), |
|
|
|
|
}); |
|
|
|
|
actions.unshift({ |
|
|
|
|
/* actions.unshift({ |
|
|
|
|
label: '评分标准', |
|
|
|
|
onClick: pfbz.bind(null, record), |
|
|
|
|
});*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
actions.unshift({ |
|
|
|
|
label: '比赛奖项管理', |
|
|
|
|
onClick: bsjxgl.bind(null, record), |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// if (record.requireUploadWorks === 'Y' && record.annualCompState === "2") { |
|
|
|
|
// actions.unshift({ |
|
|
|
|
// label: '上传作品', |
|
|
|
|