mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 16:26:45 +08:00
lecturer-教师专长 Teaching--日期
This commit is contained in:
@@ -118,8 +118,9 @@
|
|||||||
<a-upload
|
<a-upload
|
||||||
v-model:file-list="fileList"
|
v-model:file-list="fileList"
|
||||||
name="avatar"
|
name="avatar"
|
||||||
|
avatar-uploader
|
||||||
list-type="picture-card"
|
list-type="picture-card"
|
||||||
class="avatar-uploader"
|
class=""
|
||||||
:show-upload-list="false"
|
:show-upload-list="false"
|
||||||
action="https://www.mocky.io/v2/5cc8019d300000980a055e76"
|
action="https://www.mocky.io/v2/5cc8019d300000980a055e76"
|
||||||
:before-upload="beforeUpload"
|
:before-upload="beforeUpload"
|
||||||
@@ -220,6 +221,7 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
|
<div class="add_content" @click="addContentData">+</div>
|
||||||
<!-- 交互按钮 -->
|
<!-- 交互按钮 -->
|
||||||
<div
|
<div
|
||||||
:style="{
|
:style="{
|
||||||
@@ -292,6 +294,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
|
<AddContent v-model:showContent="showContent" @AddContentList="AddContentList" />
|
||||||
<!-- <div> <Upload/> </div> -->
|
<!-- <div> <Upload/> </div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -310,11 +313,11 @@ import { message } from "ant-design-vue";
|
|||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
import { getTeacherSystemList, getTeacherList, getPayRollPlace, getLevel, insertTeacher, deleteInTeacher, updateInTeacher, getTeacherById, updateTeacherState, getTeacherExpertise, getTeacherExpertiseByPid, infoteacher, } from "../../api/Lecturer";
|
import { getTeacherSystemList, getTeacherList, getPayRollPlace, getLevel, insertTeacher, deleteInTeacher, updateInTeacher, getTeacherById, updateTeacherState, getTeacherExpertise, getTeacherExpertiseByPid, infoteacher, } from "../../api/Lecturer";
|
||||||
// import {getProjSt} from "../../api/indexProjStu";
|
// import {getProjSt} from "../../api/indexProjStu";
|
||||||
// import AddTeacher from "../../components/drawers/project/AddTeacher"
|
import AddContent from "../../components/project/AddContent.vue"
|
||||||
export default {
|
export default {
|
||||||
name: "InsideLecturer",
|
name: "InsideLecturer",
|
||||||
components: {
|
components: {
|
||||||
// AddTeacher,
|
AddContent,
|
||||||
Editor,
|
Editor,
|
||||||
// FJUpload,
|
// FJUpload,
|
||||||
RightOutlined, //图标--展开
|
RightOutlined, //图标--展开
|
||||||
@@ -325,6 +328,7 @@ export default {
|
|||||||
setup() {
|
setup() {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
|
showContent: false,
|
||||||
moreid: 1,
|
moreid: 1,
|
||||||
byPid: null,
|
byPid: null,
|
||||||
currentPage1: 1,
|
currentPage1: 1,
|
||||||
@@ -393,6 +397,36 @@ export default {
|
|||||||
console.log("获取讲师", LecturerSystemList);
|
console.log("获取讲师", LecturerSystemList);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
const addContentData = () => {
|
||||||
|
state.showContent = true
|
||||||
|
}
|
||||||
|
const AddContentList = (data) => {
|
||||||
|
console.log(data,'treedatalist')
|
||||||
|
//组件获取返回的所有值,调用以前接口,现环境不可用,示例:
|
||||||
|
// [{
|
||||||
|
// "id": "966459050400600064",
|
||||||
|
// "sysCreateAid": "952948872212635648",
|
||||||
|
// "sysCreateBy": "董瑞华",
|
||||||
|
// "sysCreateTime": "2022-04-20 22:03:13",
|
||||||
|
// "sysUpdateTime": "2022-04-20 22:03:13",
|
||||||
|
// "sysUpdateBy": "董瑞华",
|
||||||
|
// "sysVersion": 0,
|
||||||
|
// "deleted": false,
|
||||||
|
// "name": "研发",
|
||||||
|
// "parentId": "966458733088919552",
|
||||||
|
// "filter": true,
|
||||||
|
// "orderIndex": 2,
|
||||||
|
// "origin": 2,
|
||||||
|
// "status": 1,
|
||||||
|
// "total": 0,
|
||||||
|
// "sysResType": 1,
|
||||||
|
// "children": "",
|
||||||
|
// "parentName": "专业力",
|
||||||
|
// "resDataManager": "",
|
||||||
|
// "code": "966459050400600064",
|
||||||
|
// "value": "966459050400600064"
|
||||||
|
// }]
|
||||||
|
}
|
||||||
LecturerSystemLista()
|
LecturerSystemLista()
|
||||||
//获取内部讲师级别
|
//获取内部讲师级别
|
||||||
const getLevelList = ref([
|
const getLevelList = ref([
|
||||||
@@ -915,11 +949,24 @@ export default {
|
|||||||
getTeacherExpertiseByPida,
|
getTeacherExpertiseByPida,
|
||||||
infoteacherList,
|
infoteacherList,
|
||||||
getinfoteacher,
|
getinfoteacher,
|
||||||
|
addContentData,
|
||||||
|
AddContentList,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.add_content{
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #4ea6ff;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 40px;
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 26px;
|
||||||
|
}
|
||||||
//导出按钮icon
|
//导出按钮icon
|
||||||
.daochu {
|
.daochu {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
|||||||
@@ -819,7 +819,7 @@ export default {
|
|||||||
LecturerSystemLista,
|
LecturerSystemLista,
|
||||||
TeacherSystem,
|
TeacherSystem,
|
||||||
getOrganizationLista,
|
getOrganizationLista,
|
||||||
getOrganizationList
|
getOrganizationList,searchTimeChange
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user