mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 07:46:46 +08:00
lecturer-教师专长 Teaching--日期
This commit is contained in:
@@ -118,8 +118,9 @@
|
||||
<a-upload
|
||||
v-model:file-list="fileList"
|
||||
name="avatar"
|
||||
avatar-uploader
|
||||
list-type="picture-card"
|
||||
class="avatar-uploader"
|
||||
class=""
|
||||
:show-upload-list="false"
|
||||
action="https://www.mocky.io/v2/5cc8019d300000980a055e76"
|
||||
:before-upload="beforeUpload"
|
||||
@@ -220,6 +221,7 @@
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
<div class="add_content" @click="addContentData">+</div>
|
||||
<!-- 交互按钮 -->
|
||||
<div
|
||||
:style="{
|
||||
@@ -292,6 +294,7 @@
|
||||
</div>
|
||||
</a-modal>
|
||||
</div>
|
||||
<AddContent v-model:showContent="showContent" @AddContentList="AddContentList" />
|
||||
<!-- <div> <Upload/> </div> -->
|
||||
</div>
|
||||
</template>
|
||||
@@ -310,11 +313,11 @@ import { message } from "ant-design-vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import { getTeacherSystemList, getTeacherList, getPayRollPlace, getLevel, insertTeacher, deleteInTeacher, updateInTeacher, getTeacherById, updateTeacherState, getTeacherExpertise, getTeacherExpertiseByPid, infoteacher, } from "../../api/Lecturer";
|
||||
// import {getProjSt} from "../../api/indexProjStu";
|
||||
// import AddTeacher from "../../components/drawers/project/AddTeacher"
|
||||
import AddContent from "../../components/project/AddContent.vue"
|
||||
export default {
|
||||
name: "InsideLecturer",
|
||||
components: {
|
||||
// AddTeacher,
|
||||
AddContent,
|
||||
Editor,
|
||||
// FJUpload,
|
||||
RightOutlined, //图标--展开
|
||||
@@ -325,6 +328,7 @@ export default {
|
||||
setup() {
|
||||
const router = useRouter();
|
||||
const state = reactive({
|
||||
showContent: false,
|
||||
moreid: 1,
|
||||
byPid: null,
|
||||
currentPage1: 1,
|
||||
@@ -393,6 +397,36 @@ export default {
|
||||
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()
|
||||
//获取内部讲师级别
|
||||
const getLevelList = ref([
|
||||
@@ -915,11 +949,24 @@ export default {
|
||||
getTeacherExpertiseByPida,
|
||||
infoteacherList,
|
||||
getinfoteacher,
|
||||
addContentData,
|
||||
AddContentList,
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<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
|
||||
.daochu {
|
||||
width: 16px;
|
||||
|
||||
Reference in New Issue
Block a user