合并zcwy-dev

This commit is contained in:
nisen
2023-08-01 18:03:29 +08:00
parent 89cb4c8d28
commit 19c8dee418
12 changed files with 2145 additions and 30 deletions

View File

@@ -2211,7 +2211,16 @@ export default defineComponent({
return text ? text : "-";
},
},
{
title: "关键字",
dataIndex: "tips",
key: "tips",
align: "left",
customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
customRender: ({ text }) => {
return <a-tooltip placement="topLeft" title = {text} >{text ? text : "-"}</a-tooltip>
},
},
{
title: "内容分类",
width: 130,
@@ -3754,6 +3763,9 @@ export default defineComponent({
//编辑开课
const handelEditStu = async (item) => {
if (item.expenseStatus) {
return message.warning("该开课在审批中,不可进行编辑!");
}
state.offcourseId = item.offcourseId;
state.itemType = item.type;
state.offcoursePlanId = item.id;
@@ -4256,6 +4268,9 @@ export default defineComponent({
delete_exit1();
};
const handleDeleteKaike = (value) => {
if (value.expenseStatus) {
return message.warning("该开课在审批中,不可进行删除!");
}
state.offcoursePlanId = value.id;
state.delete_hs = true;