| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116 |
- <template>
- <div>
- <div v-if="pType == 2" v-loading="tabLoad">
- <div class="sBox_table">
- <div class="table_title">
- <div>一级指标</div>
- <div>二级指标</div>
- <div>负责部门</div>
- <div>分值</div>
- <div>审核进度</div>
- <div>自评平均分</div>
- <div>考核平均分</div>
- <div>数据来源</div>
- <div>操作</div>
- </div>
- <div class="table_Content" v-for="item in tableJsonCon" :key="item.id">
- <div class="twoCol">
- <div class="ColTit">{{ item.name }}</div>
- <div class="ColCon">
- <div class="twoCon" v-for="k in item.children" :key="k.id">
- <div>{{ k.name }}</div>
- <div>
- {{ k.dep.join(",") }}
- </div>
- <div>{{ k.score }}</div>
- <div>
- <div v-if="allData.length">
- {{ k.pum }}/{{ allData.length }}
- </div>
- </div>
- <div>{{ k.sco1 }}</div>
- <div>{{ k.sco2 }}</div>
- <div>
- <div v-if="!k.testid.test.length">/</div>
- <div v-else style="padding-top: 10px;">
- <div
- v-for="(item2) in k.testid.test"
- :key="item2.courseId"
- @click="lookPrize(item2.courseId)"
- class="orgDataCss"
- >
- {{ item2.title }}:{{ item2.num }}份
- </div>
- </div>
- </div>
- <div
- style="display: flex;justify-content: space-around;padding: 0 10px;box-sizing: border-box;"
- >
- <!-- <div class="TabBtn" @click="lookPrize">查看</div> -->
- <div
- class="TabBtn"
- @click="lookScore(k.id, item.name, k.name)"
- >
- 评分
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div v-if="pType == 1" v-loading="tabLoad">
- <div class="sBox_table">
- <div class="table_title2">
- <div>一级指标</div>
- <div>二级指标</div>
- <div>分值</div>
- <div>审核进度</div>
- <div>自评平均分</div>
- <div>考核平均分</div>
- <div>数据来源</div>
- <div>操作</div>
- </div>
- <div class="table_Content2" v-for="item in tableJsonCon" :key="item.id">
- <div class="twoCol">
- <div class="ColTit2">{{ item.name }}</div>
- <div class="ColCon">
- <div class="twoCon2" v-for="k in item.children" :key="k.id">
- <div>{{ k.name }}</div>
- <div>{{ k.score }}</div>
- <div>
- <div v-if="allData.length">
- {{ k.pum }}/{{ allData.length }}
- </div>
- </div>
- <div>{{ k.sco1 }}</div>
- <div>{{ k.sco2 }}</div>
- <div>
- <div v-if="!k.testid.test.length">/</div>
- <div v-else style="padding-top: 10px;">
- <div
- v-for="(item2) in k.testid.test"
- :key="item2.courseId"
- @click="lookPrize(item2.courseId)"
- class="orgDataCss"
- >
- {{ item2.title }}:{{ item2.num }}份
- </div>
- </div>
- </div>
- <div
- style="display: flex;justify-content: space-around;padding: 0 10px;box-sizing: border-box;"
- >
- <!-- <div class="TabBtn" @click="lookPrize">查看</div> -->
- <div
- class="TabBtn"
- @click="lookScore(k.id, item.name, k.name)"
- >
- 评分
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- 点击查看数据来源 -->
- <el-dialog
- title=""
- :visible.sync="diaIframe"
- :append-to-body="true"
- width="95%"
- :before-close="handleClose2"
- class="dialog_diy"
- >
- <div style="height: 100%;">
- <iframe
- ref="viframe"
- style="width: 100%; height: 99%; border: none"
- :src="ifmUrl"
- ></iframe>
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button @click="diaIframe = false">关 闭</el-button>
- </span>
- </el-dialog>
- <!-- 点击评分 -->
- <el-dialog
- :title="evaOneName + ':' + evaTwoName"
- :visible.sync="diaScore"
- :append-to-body="true"
- width="95%"
- :before-close="handleClose"
- class="dialog_diy"
- v-loading="evaScoDig"
- >
- <div
- style="height: 100%;padding: 25px;overflow: auto; box-sizing: border-box;padding-bottom: 100px;"
- >
- <div class="diaScoreTop">
- <div class="diaScoreLeft">
- <div>自评平均分:{{ !evaScoDigSvg ? 0 : evaScoDigSvg }}</div>
- <div>认定平均分:{{ !evaScoDigCog ? 0 : evaScoDigCog }}</div>
- <div>存在分差总人数:{{ evaScoDigPerC }}</div>
- </div>
- <div class="diaScoreRight">
- <el-button size="small" @click="allSubmit" type="primary"
- >保存</el-button
- >
- </div>
- </div>
- <el-table class="scoTab" :data="tableData" style="width: 100%">
- <el-table-column type="index" align="center" label="序号" width="180">
- </el-table-column>
- <el-table-column
- prop="username"
- align="center"
- label="教师姓名"
- width="180"
- >
- </el-table-column>
- <el-table-column
- :show-overflow-tooltip="true"
- prop="tea"
- :filters="TeachingOptions"
- :filter-method="filterTea"
- align="center"
- label="教研室"
- >
- </el-table-column>
- <el-table-column prop="score" align="center" label="分值">
- </el-table-column>
- <el-table-column
- :sortable="true"
- :sort-method="sortEvaMethod"
- prop="evaSca"
- align="center"
- label="自评分数"
- >
- </el-table-column>
- <el-table-column
- prop="evaMed"
- :show-overflow-tooltip="true"
- align="center"
- label="自评概述"
- >
- <template slot-scope="scope">
- <div v-if="!scope.row.evaMed">/</div>
- <div
- v-else
- style="white-space: nowrap;text-overflow: ellipsis;overflow: hidden;"
- >
- {{ scope.row.evaMed }}
- </div>
- </template>
- </el-table-column>
- <el-table-column width="300px" align="center" label="数据来源">
- <template slot-scope="scope">
- <div v-if="!scope.row.orgData.length">/</div>
- <div v-else style="padding-top: 10px;">
- <div
- v-for="(item2) in scope.row.orgData"
- :key="item2.courseId"
- class="orgDataCss"
- >
- <div @click="lookUserPrize(scope.row, item2.courseId)">
- <!-- @click="lookPrize(item2.courseId)" -->
- {{ item2.title }}:{{ item2.num }}份
- </div>
- </div>
- </div>
- </template>
- </el-table-column>
- <el-table-column
- :sortable="true"
- :sort-method="sortCogMethod"
- prop="cogSco"
- width="200px"
- align="center"
- label="认定分数"
- >
- <template slot-scope="scope">
- <div class="ScoreStep">
- <el-input
- v-if="scope.row.judge == 1"
- style=" color
- :#A7AAB2;"
- @blur="Submit(scope.row)"
- v-model.number="scope.row.cogSco"
- v-stopMousewheel
- ></el-input>
- <el-input
- v-else
- :style="{
- color: scope.row.cogSco == scope.row.evaSca ? '#000' : 'red'
- }"
- @blur="Submit(scope.row)"
- v-model.number="scope.row.cogSco"
- v-stopMousewheel
- ></el-input>
- </div>
- </template>
- </el-table-column>
- <el-table-column
- width="200px"
- align="center"
- prop="cognizance"
- label="认定概述"
- >
- <template slot-scope="scope">
- <textarea
- @blur="Submit2(scope.row)"
- class="tArea"
- v-model.trim="scope.row.cogSummary"
- />
- </template>
- </el-table-column>
- </el-table>
- </div>
- </el-dialog>
- </div>
- </template>
- <script>
- // import Vue from 'vue';
- export default {
- directives: {
- stopMousewheel: {
- inserted: function(el) {
- const ele = el.tagName === "INPUT" ? el : el.querySelector("input");
- ele.addEventListener("mousewheel", () => {
- ele.blur();
- });
- }
- }
- },
- props: {
- pType: {
- //2专任教师 1班主任
- type: Number,
- default: 0
- }
- },
- data() {
- return {
- evaScoDig: false,
- evaScoDigSvg: 0,
- evaScoDigCog: 0,
- evaScoDigPerC: 0,
- diaIframe: false, //数据来源弹框
- diaScore: false, //查看分数弹框
- ifmUrl: "", //数据来源地址
- tabLoad: false, //表格加载状态
- secondId: "", //查看评分二级id
- // cogSco: "", // 评分弹框认定分数
- // cogSummary: "", // 评分弹框认定概述
- evaOneName: "", //评分一级指标
- evaTwoName: "", //评分二级指标
- userid: this.$route.query.userid, //用户id
- oid: this.$route.query.oid, //学校id
- org: this.$route.query.org, //组织id
- allData: [], //获取全部提交的表单
- // 基础页面数据
- tableJsonCon: [
- // {
- // id: "q",
- // name: "师德师风",
- // children: [
- // {
- // id: "1q",
- // sco1: "", //自评分
- // evaStandard: "不乱收费,不从事有偿家教,不收受家长贿赂。", //评价标准
- // evaMethod: "参考同行、学生、家长师德考核问卷结果", //评价方法
- // sco2: "", //认定分
- // score: 4, //分值
- // cogSum: "",
- // cueWordType: 0, //认定概述
- // name: "廉洁从教", //二级指标名字
- // dep: ["行政事务中心"], // 部门
- // selfSummary: "", // 自评概述
- // type: 1, // 判断蓝色二级指标,暂定为一
- // testid: {
- // //数据来源
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "2q",
- // sco1: "", //自评分
- // evaStandard:
- // "认真负责,做好本职工作。上班时间无打游戏、炒股、刷小视频等与教学工作无关的行为。", //评价标准
- // evaMethod: "参考同行、学生、家长师德考核问卷结果", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "爱岗敬业",
- // dep: ["行政事务中心"],
- // score: 4,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "3q",
- // sco1: "", //自评分
- // evaStandard:
- // "尊重、关心学生,学生、家长评价高。不体罚和变相体罚学生,在岗期间无有效投诉。", //评价标准
- // evaMethod: "参考同行、学生、家长师德考核问卷结果", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "热爱学生",
- // dep: ["行政事务中心"],
- // score: 4,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "4q",
- // sco1: "", //自评分
- // evaStandard:
- // "履行岗位安全职责,不空堂不缺课,请假、外出学习做好工作交接,做好值周工作,无安全责任事故。", //评价标准
- // evaMethod: "参考值周行政巡查反馈结果", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "安全教学",
- // dep: ["行政事务中心"],
- // score: 4,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "5q",
- // sco1: "", //自评分
- // evaStandard:
- // "严于律己,服从学校正常工作安排,同事之间相互支持,友好协调。", //评价标准
- // evaMethod: "参考师德考核同行评价结果", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "团结协作",
- // dep: ["行政事务中心"],
- // score: 4,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // }
- // ]
- // },
- // {
- // id: "1a",
- // name: "考勤情况",
- // children: [
- // {
- // id: "1a",
- // sco1: "", //自评分
- // evaStandard: "按时到岗,严格遵守请销假制度等工作纪律。", //评价标准
- // evaMethod: "参考学年抽查情况(行政事务中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "日常考勤",
- // dep: ["行政事务中心"],
- // score: 2,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "2a",
- // sco1: "", //自评分
- // evaStandard:
- // "例会、升旗、全校性大型活动等按时参加,不迟到不缺席,线上会议实名入会并全程打开摄像头参会。", //评价标准
- // evaMethod: "参考学年会议活动签到考勤情况(行政事务中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "会议活动考勤",
- // dep: ["行政事务中心"],
- // score: 2,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // }
- // ]
- // },
- // {
- // id: "b",
- // name: "常规教学(备、教、改、考、评、辅)",
- // children: [
- // {
- // id: "1b",
- // sco1: "", //自评分
- // evaStandard: "按学校备课要求完成备课工作,及时提交教案。", //评价标准
- // evaMethod:
- // "数量足2分;结构完整2分;有反思、个性化设计2分(科组评选30%为6分)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "备课",
- // dep: ["教学服务中心"],
- // score: 6,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "2b",
- // sco1: "", //自评分
- // evaStandard:
- // "先备课再上课,教学准备充分;遵守学校教学规范,教学秩序良好;教学方法新效果好。", //评价标准
- // evaMethod:
- // "准备2分;秩序好2分;方法效果好2分(教学服务中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "上课",
- // dep: ["教学服务中心"],
- // score: 6,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "3b",
- // sco1: "", //自评分
- // evaStandard:
- // "学生作业量适中、书写规范;教师批改及时、认真、正确;学生错题及时订正。", //评价标准
- // evaMethod:
- // "量适中规范2分;全批全改2 分;督促订正2 分(科组评选30%为6分)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "批改作业",
- // dep: ["教学服务中心"],
- // score: 6,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "4b",
- // sco1: "", //自评分
- // evaStandard:
- // "按学校要求,期末测试并录入系统,有批改讲评。(一、二年级组织精心组织期末游园活动,让学生在游戏中接受评价,在评价中成长)", //评价标准
- // evaMethod: "跟进度测试2分,全部有批改讲评4分(科组评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "学科测试",
- // dep: ["教学服务中心"],
- // score: 6,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "5b",
- // sco1: "", //自评分
- // evaStandard:
- // "期初、期末按时完成并提交:计划、总结、教案、评语、听课记录、会议记录等资料。", //评价标准
- // evaMethod:
- // "迟交、少交一项扣1分,扣完6分为止。(教学服务中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "资料提交",
- // dep: ["教学服务中心"],
- // score: 6,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: [
- // "1b6f078b-b673-11ee-b534-005056b86db5",
- // "5eac308d-b66d-11ee-b534-005056b86db5"
- // ]
- // }
- // },
- // {
- // id: "6b",
- // sco1: "", //自评分
- // evaStandard:
- // "每学期教师听课12节,科组长和行政15节、主管教学的行政20节,听课后积极参与评课。", //评价标准
- // evaMethod: "数量足2分;有评课2分;记录完整1分(科组评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "听课评课",
- // dep: ["教学服务中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "7b",
- // sco1: "", //自评分
- // evaStandard: "综合评测上学期期末测试与本学期期中测试结果", //评价标准
- // evaMethod:
- // "平均分、优秀率、及格率均与年级平均值比:平均分+-5分,优秀率+-10%,及格率+-10%,都符合以上条件得4分。平均分>5分,优秀率>10%,及格率>10%,符合其中1个及以上得5分。同时教几个班的,自选一个班计算。(教学服务中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "教学质量",
- // dep: ["教学服务中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // }
- // ]
- // },
- // {
- // id: "c",
- // name: "科研工作",
- // children: [
- // {
- // id: "1c",
- // sco1: "", //自评分
- // evaStandard:
- // "每学年至少上一节校级公开课(40岁以上的教师可选择给教师做讲座)", //评价标准
- // evaMethod:
- // "纳入期初计划、科组及全校观摩,提交教案、PPT(教学服务中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "研讨课",
- // dep: ["教学服务中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["e9e6dc5a-89d1-11ee-b98c-005056b86db5"]
- // }
- // },
- // {
- // id: "2c",
- // sco1: "", //自评分
- // evaStandard: "完成本学年的继续教育学时", //评价标准
- // evaMethod:
- // "按要求完成全年学时,没完成不计分。(教师发展中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "继续教育",
- // dep: ["教师发展中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "3c",
- // sco1: "", //自评分
- // evaStandard:
- // "积极参加校(区)教研活动、汇报交流、读书沙龙等,不无故缺勤。服从安排,积极完成科组临时性任务。", //评价标准
- // evaMethod:
- // "准时,不无故缺席科组会。出席率超80%、70%、60%的分别计3、2、1分 (科组评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "科组活动",
- // dep: ["教学服务中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // }
- // ]
- // },
- // {
- // id: "d",
- // name: "教学成果加分",
- // children: [
- // {
- // id: "1d",
- // sco1: "", //自评分
- // evaStandard:
- // "根据学科特点开展特色活动,如英语节,艺术节,科技节、体育节、数学文化周、读书分享等。", //评价标准
- // evaMethod: "特色活动中承担指导、评价、布展等工作。(科组评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "学科特色活动",
- // dep: ["教学服务中心"],
- // score: 2,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "2d",
- // sco1: "", //自评分
- // evaStandard:
- // "承担省、市、区、学校对外公开课、线上课资源开发、接待课、培训讲座任务。", //评价标准
- // evaMethod:
- // "国、省、市、区、校级公开课每节(次)加5、4、3、2、1分(教学服务中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "对外公开课、接待课、培训讲座",
- // dep: ["教学服务中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["9547874d-2fb3-11ef-bf55-005056b86db5"]
- // }
- // },
- // {
- // id: "3d",
- // sco1: "", //自评分
- // evaStandard:
- // "主持或参与教育教学课题研究并结题;指导学生课题并结题。以结题证书为准,一个课题只加1次分。", //评价标准
- // evaMethod:
- // "主持国家、省、市、区、校级立项课题分别加5、4、3、2、1分,参与课题相应加分减半;指导学生课题等同于主持课题,相应加分参看主持课题加分。(教师发展中心评定)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "课题研究",
- // dep: ["教师发展中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["73546fa2-2f67-11ef-bf55-005056b86db5"]
- // }
- // },
- // {
- // id: "4d",
- // sco1: "", //自评分
- // evaStandard:
- // "评为省、市、区、校名师工作室主持人、学员、成员,以挂牌为准,1个工作室只加1次分。", //评价标准
- // evaMethod:
- // "省、市、区、校名师工作室主持人分别加4、3、2、1分;学员、成员分减半。(教师发展中心评定)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "名师工作室",
- // dep: ["教师发展中心"],
- // score: 4,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "5d",
- // sco1: "", //自评分
- // evaStandard:
- // "公开发表论文等学术成果、教育网站发表学术文章或公开交流、主题发言等。公开发表需有期刊号或书号,(《深圳教育科研》等同市级期刊、《光明教育》等同区级期刊);教育网站或公开交流、主题发言等,网站、公众号、交流等分数减半。", //评价标准
- // evaMethod:
- // "国家级:2.5分/篇 省级:2分/篇市 级:1.5分/篇 区级:1分/篇校 级:0.5分/篇(教师发展中心评定)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "老师发表学术成果",
- // dep: ["教师发展中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["218ae830-2f6c-11ef-bf55-005056b86db5"]
- // }
- // },
- // {
- // id: "6d",
- // sco1: "", //自评分
- // evaStandard: "指导学生发表论文、公众号文章等。", //评价标准
- // evaMethod:
- // "期刊、报纸上发表1分/篇,公众号、网络平台减半,封顶5分。(教师发展中心评定)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "指导学生发表学术成果",
- // dep: ["教师发展中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["ad02ca32-2f6c-11ef-bf55-005056b86db5"]
- // }
- // },
- // {
- // id: "7d",
- // sco1: "", //自评分
- // evaStandard:
- // "(1)获得国家级、省级、市级、区级人民政府及教育主管部门、校级的竞赛奖项,同一成果同时获得几个奖项,以最高奖项为准;设特等奖、一、二、三等奖和优秀奖、若组织方没有设几等奖,则获第一、二名等同于一等奖,三、四名等同于二等奖,后面名次等同于三等奖。(2)获得非人民政府计分及各级教育主管部门外的竞赛奖项,加分标准如下:(同一成果同时获得几个奖项,以最高奖项为准)(只设一、二、三等奖)", //评价标准
- // evaMethod:
- // "国家级、省级、市级、区级、校级的加分依次是:一:5分、4.5分、4分、3.5分、3分 二:4分、3.5分、3分、2.5分 、2分三:3分、2.5分 、2分、1.5分、1分四:2分、1.5分、1分、0.5分、0.2五:1分、0.5分、0.2分(教师发展中心评定)国家级:2.5 2分 1.5分 省 级:2分 1.5分 1分 市 级:1.5分 1分 0.5分 区 级:1分 0.5分 0.2分(教师发展中心评定)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "教师获奖",
- // dep: ["教师发展中心", "教学服务中心", "课程与创新中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: [
- // "d47a6ab6-8a75-11ee-b98c-005056b86db5",
- // "729dbb8e-292e-11ef-bee5-005056b86db5"
- // ]
- // }
- // },
- // {
- // id: "8d",
- // sco1: "", //自评分
- // evaStandard:
- // "指导学生获得国家级、省级、市级、区级人民政府及教育主管部门、校级的竞赛奖项,同一成果同时获得几个奖项,以最高奖项为准;设特等奖、一、二、三等奖和优秀奖、若组织方没有设几等奖,则获第一、二名等同于一等奖,三、四名等同于二等奖,后面名次等同于三等奖。", //评价标准
- // evaMethod:
- // "国家级、省级、市级、区级、校级的加分依次是:一:5分、4.5分、4分、3.5分、3分 二:4分、3.5分、3分、2.5分 、2分三:3分、2.5分 、2分、1.5分、1分四:2分、1.5分、1分、0.5分、0.2五:1分、0.5分、0.2分(教师发展中心评定)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "指导学生获奖",
- // dep: ["教师发展中心", "教学服务中心", "课程与创新中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["06870865-2fb1-11ef-bf55-005056b86db5"]
- // }
- // }
- // ]
- // },
- // {
- // id: "e",
- // name: "特色工作加分",
- // children: [
- // {
- // id: "1e",
- // sco1: "", //自评分
- // evaStandard: "按时按量完成社团工作,并积极开发特色校本课程。", //评价标准
- // evaMethod:
- // "按规定完成社团工作,无违纪违规现象:3分被评为校级“优秀社团”,或承办、作为主要成员参与区级及以上活动展示:2分(课程与创新中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "社团课程",
- // dep: ["课程与创新中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "2e",
- // sco1: "", //自评分
- // evaStandard:
- // "承担学校教育教学通讯工作,撰写的新闻稿在校园网、校报、微信公众号、光明信息、光明教育等媒体上发表。", //评价标准
- // evaMethod:
- // "校级、区级、市级1篇分别加0.2、0.5分、1分,如为合作撰稿单篇分值需折算(排版与撰稿同分,审核折半计算,党建融媒中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "新闻通讯",
- // dep: ["党建融媒中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["e65b399b-304a-11ef-b873-005056b86db5"]
- // }
- // },
- // {
- // id: "3e",
- // sco1: "", //自评分
- // evaStandard: "校园文化、设施设备、宣传布置等相关工作。", //评价标准
- // evaMethod: "承担一次加0.5分(课程与创新中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "校园文化",
- // dep: ["课程与创新中心"],
- // score: 2,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["500f1ca5-3047-11ef-b873-005056b86db5"]
- // }
- // },
- // {
- // id: "4e",
- // sco1: "", //自评分
- // evaStandard:
- // "积极参与义教、抗疫、捐物、献血等社区志愿活动和合唱、朗诵等党建比赛或活动。", //评价标准
- // evaMethod:
- // "自主申报志愿活动且核实参加一次记0.5分,参与党建比赛或活动组织一次记2分(党建融媒中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "党务建设",
- // dep: ["党建融媒中心"],
- // score: 5,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["c6efea26-304b-11ef-b873-005056b86db5"]
- // }
- // },
- // {
- // id: "5e",
- // sco1: "", //自评分
- // evaStandard: "设计和开展项目式学习", //评价标准
- // evaMethod:
- // "设计项目式学习课程至少1次,记1分(需提供课程设计单);开展项目式学习活动至少1次,记3分(需提供过程性材料)。(课程与创新中心评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "项目式学习",
- // dep: ["课程与创新中心"],
- // score: 4,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["04087db9-3048-11ef-b873-005056b86db5"]
- // }
- // },
- // {
- // id: "6e",
- // sco1: "", //自评分
- // evaStandard:
- // "参与学校开展的特色项目工作,如信息化赋能课例研究、游戏识字用书编写等。", //评价标准
- // evaMethod:
- // "参与至少1项特色项目,按时按量完成项目相关工作,表现积极,记3分。(由学校教学部门评价)", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // name: "学校特色项目",
- // dep: ["教学服务中心", "教师发展中心", "课程与创新中心"],
- // score: 3,
- // selfSummary: "",
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["23f351d6-304a-11ef-b873-005056b86db5"]
- // }
- // }
- // ]
- // },
- // {
- // id: "f",
- // name: "科组评价",
- // children: [
- // {
- // id: "1f",
- // sco1: "", //自评分
- // evaStandard: "科组长综合考量师德师风、教学成效等维度进行打分。", //评价标准
- // evaMethod: "优秀:5 良好:4 合格:3 不合格:1", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "学科组长打分",
- // dep: ["行政事务中心"],
- // score: 5,
- // selfSummary: "",
- // type: 2,
- // testid: {
- // type: 1,
- // test: []
- // }
- // }
- // ]
- // },
- // {
- // id: "g",
- // name: "行政巡查",
- // children: [
- // {
- // id: "1g",
- // sco1: "", //自评分
- // evaStandard:
- // "行政随机抽查,综合考量师德师风、教学成效等维度进行打分,取所有行政的平均值。", //评价标准
- // evaMethod: "优秀:5 良好:4 合格:3 不合格:1", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // name: "随机巡查",
- // dep: ["行政事务中心"],
- // score: 5,
- // selfSummary: "",
- // type: 2,
- // testid: {
- // type: 1,
- // test: []
- // }
- // }
- // ]
- // }
- ],
- // TeaTabJson: [
- // {
- // id: "sa",
- // name: "班级建设",
- // children: [
- // {
- // id: "sa1",
- // name: "德育资料",
- // score: 10,
- // sco1: "", //自评分
- // evaStandard:
- // "各学期班主任工作计划和总结(内容、目标包含心理健康教育相关内容)、升旗任务资料、班主任工作手册(纸质)", //评价标准
- // evaMethod: "查看资料", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: [
- // "59a4bfa7-cfcc-11ee-b534-005056b86db5",
- // "7b5bb13c-cfd1-11ee-b534-005056b86db5",
- // "e827e6e1-2d3c-11ef-80ee-005056b86db5"
- // ]
- // }
- // },
- // {
- // id: "sa2",
- // name: "班级文化",
- // score: 10,
- // sco1: "", //自评分
- // evaStandard:
- // "每学期班级板报内容突出主题,版面清晰、美观,按时完成;班容班貌评比地面整洁、物品摆放整齐有序", //评价标准
- // evaMethod: "学校考评", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: [""]
- // }
- // },
- // {
- // id: "sa3",
- // name: "制度建设",
- // score: 5,
- // sco1: "", //自评分
- // evaStandard: "建立建全班级公约、班级奖励制度、家校工作计划等", //评价标准
- // evaMethod: "查看资料", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["662ef7ef-d05a-11ee-b534-005056b86db5"]
- // }
- // }
- // ]
- // },
- // {
- // id: "sc",
- // name: "常规活动",
- // children: [
- // {
- // id: "sc1",
- // name: "一日常规",
- // score: 20,
- // sco1: "", //自评分
- // evaStandard: "学校常规内容星级班级评比", //评价标准
- // evaMethod: "学校考评", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "sc2",
- // name: "班队会",
- // score: 10,
- // sco1: "", //自评分
- // evaStandard:
- // "每学期定期开展班队会课教育活动。期末上交班会活动记录表、教案、PPT、照片等材料。班会主题包括但不限于:安全教育、爱国主义教育、生命教育、心理健康教育、劳动教育等主题", //评价标准
- // evaMethod: "查看资料", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["31c114c7-cfd2-11ee-b534-005056b86db5"]
- // }
- // },
- // {
- // id: "sc3",
- // name: "家校联系",
- // score: 15,
- // sco1: "", //自评分
- // evaStandard:
- // "每学期定期召开家长会、多种渠道开展家访、电访等家校联系工作,提供线上和约访记录100%,上门家访记录30%", //评价标准
- // evaMethod: "查看资料", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["5b836702-cfd2-11ee-b534-005056b86db5"]
- // }
- // },
- // {
- // id: "sc4",
- // name: "德育工作会议",
- // score: 10,
- // sco1: "", //自评分
- // evaStandard:
- // "按时参加德育工作会议(包含市级、区级、校级、年级),按要求签到、认真做好会议记录", //评价标准
- // evaMethod: "学校考评", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // }
- // ]
- // },
- // {
- // id: "sd",
- // name: "师德师风",
- // children: [
- // {
- // id: "sd1",
- // name: "无乱收费现象",
- // score: 10,
- // sco1: "", //自评分
- // evaStandard: "有偿补习、家教等造成学生、家长不满或乱收费行为", //评价标准
- // evaMethod: "学校考评", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // },
- // {
- // id: "sd2",
- // name: "体罚和变相体罚",
- // score: 10,
- // sco1: "", //自评分
- // evaStandard:
- // "体罚和变相体罚造成学生、家长不满被投诉、举报,经查情况属实的一票否决", //评价标准
- // evaMethod: "学校考评", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: []
- // }
- // }
- // ]
- // },
- // {
- // id: "se",
- // name: "奖励项目",
- // children: [
- // {
- // id: "se1",
- // name: "德育获奖",
- // score: 8,
- // sco1: "", //自评分
- // evaStandard:
- // "(1)班级学生参加德育类各项比赛。集体获奖按国省市区校等级:国家级:特等奖8分,一等奖7分,二等奖6分,三等奖5分省级:特等奖7分,一等奖6分,二等奖5分,三等奖4分市级:特等奖6分,一等奖5分,二等奖4分,三等奖3分区级:特等奖5分,一等奖4分,二等奖3分,三等奖2分校级:一等奖3分,二等奖2分,三等奖1分(2)班级学生个人获奖按省市区校3、2、1、0.5加分(超5人按5人算)(3)班主任个人参加德育类各项比赛。获奖按国省市区校等级国家级:特等奖8分,一等奖7分,二等奖6分,三等奖5分省级:特等奖7分,一等奖6分,二等奖5分,三等奖4分市级:特等奖6分,一等奖5分,二等奖4分,三等奖3分区级:特等奖5分,一等奖4分,二等奖3分,三等奖2分校级:一等奖3分,二等奖2分,三等奖1分(4)班主任、学生集体或个人获得少先队方面奖项(荣誉)按省市区等级5、3、1加分", //评价标准
- // evaMethod: "查看资料", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["a5d2c7f9-d05a-11ee-b534-005056b86db5"]
- // }
- // },
- // {
- // id: "se2",
- // name: "特色活动",
- // score: 5,
- // sco1: "", //自评分
- // evaStandard:
- // "每学期组织开展富有班级特色实践活动2-3次(包括班级值周任务、升旗任务)或班级管理经典案例;(此项视完成的情况、质量、成效进行评分)", //评价标准
- // evaMethod: "查看资料", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["180b321b-cfd3-11ee-b534-005056b86db5"]
- // }
- // },
- // {
- // id: "se3",
- // name: "示范作用",
- // score: 4,
- // sco1: "", //自评分
- // evaStandard:
- // "积极承担市、区、校级班队会观摩示范课、培训讲座、说课等大型德育展示活动4、3、2加分。积极申报市级、区级、校级班主任工作室,开展有针对性的活动4、3、2加分", //评价标准
- // evaMethod: "查看资料", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["e345d506-b692-11ee-b534-005056b86db5"]
- // }
- // },
- // {
- // id: "se4",
- // name: "教育科研",
- // score: 5,
- // sco1: "", //自评分
- // evaStandard:
- // "班主任工作论文、案例,发表或获奖(参考学校评分标准)", //评价标准
- // evaMethod: "查看资料", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 1,
- // selfSummary: "",
- // dep: [],
- // type: 1,
- // testid: {
- // type: 1,
- // test: ["5cf7e36e-b693-11ee-b534-005056b86db5"]
- // }
- // }
- // ]
- // },
- // {
- // id: "sf",
- // name: "级组评价",
- // children: [
- // {
- // id: "sf1",
- // name: "年级组长打分",
- // score: 5,
- // sco1: "", //自评分
- // evaStandard: "级组长综合考量师德师风、教学成效等维度进行打分。", //评价标准
- // evaMethod: "优秀:5良好:4合格:3不合格:1", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 2,
- // testid: {
- // type: 1,
- // test: []
- // }
- // }
- // ]
- // },
- // {
- // id: "sg",
- // name: "行政巡查",
- // children: [
- // {
- // id: "sg1",
- // name: "随机巡查",
- // score: 5,
- // sco1: "", //自评分
- // evaStandard:
- // "行政随机抽查,综合考量师德师风、班级管理等维度进行打分,取所有行政的平均值。", //评价标准
- // evaMethod: "优秀:5良好:4合格:3不合格:1", //评价方法
- // sco2: "",
- // cogSum: "",
- // cueWordType: 0,
- // selfSummary: "",
- // dep: [],
- // type: 2,
- // testid: {
- // type: 1,
- // test: []
- // }
- // }
- // ]
- // }
- // ],
- tableData: [], //弹框数据
- TeachingOptions: []
- };
- },
- computed: {},
- watch: {
- pType(newVal, oldVal) {
- this.allData = [];
- this.getPageBase();
- }
- },
- mounted() {
- this.getPageBase();
- this.getTeaList();
- // console.log(JSON.stringify(this.TeaTabJson));
- // console.log(JSON.stringify(this.tableJsonCon));
- },
- methods: {
- // 禁用滚轮事件
- handleWheel(event) {
- event.preventDefault();
- },
- // 获取教研室
- getTeaList() {
- let params = {
- oid: this.oid
- };
- this.ajax
- .get(this.$store.state.api + "selectTeacherOfficeBySchool", params)
- .then(res => {
- // return console.log("this.TeachingOptions", res.data[0]);
- let data = res.data[0];
- let dataCopy = [];
- data.forEach(e => {
- if(e.parentid == '6'){
- let a = {};
- a.value = e.name;
- a.text = e.name;
- dataCopy.push(a);
- }
- });
- this.TeachingOptions = dataCopy;
- // console.log("this.TeachingOptions", this.TeachingOptions);
- })
- .catch(err => {
- this.isLoading = false;
- console.error(err);
- });
- },
- // 获取基础页面数据
- getPageBase() {
- this.tabLoad = true;
- let params = {
- typ: this.pType,
- org: this.org,
- oid: this.oid
- };
- // console.log(params);
- this.ajax
- .get(this.$store.state.api + "selectTestExamineBase", params)
- .then(res => {
- this.tableJsonCon = JSON.parse(res.data[0][0].json);
- this.handleData();
- this.getData();
- })
- .catch(error => {
- console.log(error);
- });
- },
- // 获取首页数据计算审核进度,自评平均分,考核平均分
- getData() {
- let params = {
- oid: this.oid,
- org: this.org,
- type: this.pType
- };
- this.ajax
- .get(this.$store.state.api + "selectTestExamineAllData", params)
- .then(res => {
- // pum是判断审核进度的计数器
- this.tableJsonCon.forEach(e => {
- e.children.forEach(i => {
- i.pum = 0;
- });
- });
- if (!res.data[0].length) return (this.tabLoad = false);
- this.allData = res.data[0];
- let data = res.data[0];
- // 转json
- data.forEach(e => {
- e.json = JSON.parse(e.json);
- });
- console.log("data", data);
- this.tableJsonCon.forEach(a => {
- data.forEach(b => {
- b.json.forEach(c => {
- if (a.id == c.id) {
- a.children.forEach((d, index) => {
- if (d.id == c.children[index].id) {
- // console.log('c.children[index].sco1',c.children[index].sco1);
- d.sco1 = d.sco1 * 1 + c.children[index].sco1 * 1;
- d.sco2 = d.sco2 * 1 + c.children[index].sco2 * 1;
- if (!!c.children[index].sco2 * 1) {
- d.pum++;
- }
- }
- });
- }
- });
- });
- });
- this.tableJsonCon.forEach(e => {
- e.children.forEach(i => {
- i.sco1 = (i.sco1 / this.allData.length).toFixed(2);
- i.sco2 = (i.sco2 / this.allData.length).toFixed(2);
- });
- });
- this.tabLoad = false;
- })
- .catch(error => {
- console.log(error);
- });
- },
- async handleData() {
- for (const e of this.tableJsonCon) {
- for (const k of e.children) {
- if (k.testid.test.length > 0) {
- k.testid.test = await this.computedTest(k.testid.test);
- }
- }
- }
- },
- computedTest(val) {
- let params = [
- {
- uid: "",
- testId: val.join(",")
- }
- ];
- return new Promise(resolve => {
- this.ajax
- .post(this.$store.state.api + "selectExamineTestName", params)
- .then(res => {
- // console.log("resresresres", res.data[0]);
- // console.log(res.data[0]);
- resolve(res.data[0]);
- })
- .catch(error => {
- console.log(error);
- });
- });
- },
- // 查看数据来源
- lookPrize(val) {
- this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?userid=${this.userid}&cid=${val}&oid=${this.oid}&org=${this.org}&type=2&role=0`;
- // this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/test?userid=${this.userid}&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=&role=0`;
- this.diaIframe = true;
- },
- // ----------------------------首页操作与弹框操作分界线
- // 按照数字大小排序 方法-
- sortCogMethod(before, after) {
- return Number(before.cogSco) - Number(after.cogSco);
- },
- sortEvaMethod(before, after) {
- return Number(before.evaSca) - Number(after.evaSca);
- },
- // 教研室筛选
- filterTea(value, row, column) {
- console.log(value, row, column);
- const property = column["property"];
- return row[property].includes(value);
- },
- // 查看评分
- lookScore(val, oneName, twoName) {
- this.evaScoDig = true;
- this.evaOneName = oneName;
- this.evaTwoName = twoName;
- this.tableData = [];
- this.secondId = val;
- this.getSecondData();
- this.diaScore = true;
- },
- // 弹框获取这个学校所有的提交表单
- getSecondData() {
- let params = {
- oid: this.oid,
- org: this.org,
- type: this.pType
- };
- this.ajax
- .get(this.$store.state.api + "selectTestExamineSecondData", params)
- .then(res => {
- let data = res.data[0];
- data.forEach(e => {
- e.json = JSON.parse(e.json);
- });
- // console.log("selectTestExamineSecondData", data);
- data.forEach(e => {
- e.evaSca = ""; //自评分数
- e.evaMed = ""; //自评概述
- e.orgData = []; //数据来源
- e.cogSco = ""; //认定分数
- e.cogSummary = ""; //认定概述
- e.score = 0; //分值
- e.judge = 0; //是否填充为默认分数 1:默认等于自评分
- if (!e.tea) {
- e.tea = "";
- }
- e.json.forEach(i => {
- i.children.forEach(k => {
- if (k.id == this.secondId) {
- e.evaSca = k.sco1;
- e.evaMed = k.selfSummary;
- e.orgData = k.testid.test;
- e.score = k.score;
- e.cogSummary = k.cogSum;
- if (!!k.sco2) {
- e.cogSco = k.sco2;
- } else {
- e.cogSco = k.sco1;
- e.judge = 1;
- }
- }
- });
- });
- });
- this.tableData = data;
- // 计算评分弹框平均值等
- this.CopDigSco();
- // 获取数据来源
- this.handleScoData();
- this.evaScoDig = false;
- })
- .catch(error => {
- console.log(error);
- });
- },
- // 弹框计算评分弹框平均值等
- CopDigSco() {
- this.evaScoDigSvg = 0; //自评平均
- this.evaScoDigCog = 0; //认定平均
- this.evaScoDigPerC = 0; //存在分差人数
- this.tableData.forEach(e => {
- this.evaScoDigSvg += e.evaSca * 1;
- this.evaScoDigCog += e.cogSco * 1;
- if (e.evaSca * 1 != e.cogSco * 1) {
- this.evaScoDigPerC++;
- }
- });
- this.evaScoDigSvg = (this.evaScoDigSvg / this.tableData.length).toFixed(
- 2
- );
- this.evaScoDigCog = (this.evaScoDigCog / this.tableData.length).toFixed(
- 2
- );
- },
- // 弹框中处理数据来源
- async handleScoData() {
- for (const e of this.tableData) {
- if (e.orgData.length > 0) {
- e.orgData = await this.computedScoTest(e.orgData, e.userid);
- }
- }
- },
- computedScoTest(val, uid) {
- let params = [
- {
- uid: uid,
- testId: val.join(",")
- }
- ];
- return new Promise(resolve => {
- this.ajax
- .post(this.$store.state.api + "selectExamineTestName", params)
- .then(res => {
- console.log("selectExamineTestName", res.data[0]);
- resolve(res.data[0]);
- })
- .catch(error => {
- console.log(error);
- });
- });
- },
- // 弹框查看数据来源
- lookUserPrize(val, cid) {
- // return console.log(val);
- // this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&type=2&role=0&peopleId=${this.userid}`;
- this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${cid}&oid=${val.organizeid}&org=${val.org}&type=2&role=0&peopleId=${val.userid}`;
- // this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/test?userid=${this.userid}&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=&role=0`;
- this.diaIframe = true;
- },
- //分数提交与概述提交不一个函数是因为:
- // 认定分数默认等于自评分数,管理员点击到评分才会提交默认分数,点击概述则不会提交分数
- // 分数提交
- Submit(val) {
- console.log("valvalvalvla", val);
- //#region
- // 修改了将页面上的分数也改变颜色,(方式改变,无用了)
- // this.tableData.forEach(e => {
- // if (e.id == val.id) {
- // e.judge = 0;
- // }
- // });
- //#endregion
- if (val.cogSco > val.score) {
- val.cogSco = val.score;
- } else if (val.cogSco < 0) {
- val.cogSco = "";
- this.$message.error("评分不能为负数");
- }
- // 用来判断修改分数是否等于原先分数,如果相等就不提交
- let judgeSubmit = 0;
- val.json.forEach(e => {
- if (judgeSubmit == 1) return;
- e.children.forEach(i => {
- if (i.id == this.secondId) {
- if (i.sco2 == val.cogSco) {
- judgeSubmit = 1;
- }
- }
- });
- });
- if (judgeSubmit == 1) return;
- let recordTit = "";
- val.json.forEach(e => {
- e.children.forEach(i => {
- if (i.id == this.secondId) {
- recordTit = i.name;
- i.sco2 = val.cogSco;
- i.cogSum = val.cogSummary;
- }
- });
- });
- let params = [
- {
- uid: this.userid,
- tid: val.id,
- typ: this.pType,
- json: JSON.stringify(val.json),
- rjson: JSON.stringify({
- rjson: val.json,
- text: `按指标,修改了${recordTit}分数`
- })
- }
- ];
- // return console.log(params);
- this.ajax
- .post(this.$store.state.api + "updateExamineCogDataCopy", params)
- .then(res => {
- this.getSecondData();
- })
- .catch(error => {
- console.log(error);
- });
- },
- // 概述提交
- Submit2(val) {
- // 用来判断修改分数是否等于原先分数,如果相等就不提交
- let judgeSubmit = 0;
- val.json.forEach(e => {
- if (judgeSubmit == 1) return;
- e.children.forEach(i => {
- if (i.id == this.secondId) {
- if (i.cogSum == val.cogSummary) {
- judgeSubmit = 1;
- }
- }
- });
- });
- if (judgeSubmit == 1) return;
- let recordTit = "";
- val.json.forEach(e => {
- e.children.forEach(i => {
- if (i.id == this.secondId) {
- recordTit = i.name;
- i.cogSum = val.cogSummary;
- }
- });
- });
- let params = [
- {
- uid: this.userid, //修改人id
- tid: val.id,
- typ: this.pType,
- json: JSON.stringify(val.json),
- rjson: JSON.stringify({
- rjson: val.json,
- text: `按指标,修改了${recordTit}概述`
- })
- }
- ];
- // return console.log(params);
- this.ajax
- .post(this.$store.state.api + "updateExamineCogDataCopy", params)
- .then(res => {
- this.getSecondData();
- })
- .catch(error => {
- console.log(error);
- });
- },
- // 一键保存:将默认分数什么一键提交
- async allSubmit() {
- this.$confirm("确认保存?", "提示", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: " info"
- })
- .then(() => {
- this.evaScoDig = true;
- this.handleAllSubmit();
- })
- .catch(() => {
- this.handleData();
- this.$message({
- type: "info",
- message: "已取消保存"
- });
- });
- },
- // 处理一键保存
- async handleAllSubmit() {
- for (const e of this.tableData) {
- if (e.judge == 1) {
- await this.computedAllSubmit(e);
- }
- }
- this.getSecondData(); // 循环结束后执行getSecondData函数
- this.$message.success("已保存");
- },
- computedAllSubmit(val) {
- if (val.cogSco > val.score) {
- val.cogSco = val.score;
- }
- val.json.forEach(e => {
- e.children.forEach(i => {
- if (i.id == this.secondId) {
- i.sco2 = val.cogSco;
- i.cogSum = val.cogSummary;
- }
- });
- });
- let params = [
- {
- uid: this.userid,
- tid: val.id,
- typ: this.pType,
- json: JSON.stringify(val.json),
- rjson: JSON.stringify({
- rjson: val.json,
- text: `按指标,进行了一键保存`
- })
- }
- ];
- // return console.log(params);
- return new Promise(resolve => {
- this.ajax
- .post(this.$store.state.api + "updateExamineCogDataCopy", params)
- .then(res => {
- resolve(res);
- })
- .catch(error => {
- console.log(error);
- });
- });
- },
- // 关闭评分弹框
- handleClose(done) {
- this.getPageBase();
- done();
- },
- // 关闭数据来源弹框
- handleClose2(done) {
- this.evaScoDig = true;
- this.getSecondData();
- done();
- }
- }
- };
- </script>
- <style scoped>
- .orgDataCss {
- cursor: pointer;
- margin-bottom: 10px;
- color: #528df6;
- }
- /* 取消[type='number']的input的上下箭头 */
- input::-webkit-inner-spin-button {
- -webkit-appearance: none !important;
- }
- input::-webkit-outer-spin-button {
- -webkit-appearance: none !important;
- }
- input[type="number"] {
- -moz-appearance: textfield;
- }
- .tArea {
- box-sizing: border-box;
- padding: 5px;
- /* border: none; */
- min-height: 50px;
- width: 100%;
- height: 100%;
- resize: none;
- outline-style: none;
- border-radius: 4px;
- border: 1px solid #dcdfe6 !important;
- }
- .scoTab >>> .cell {
- line-height: normal;
- }
- .ScoreStep {
- height: 50px;
- }
- .ScoreStep > input {
- height: 100% !important;
- outline-style: none;
- padding: 5px;
- box-sizing: border-box;
- border-radius: 4px;
- text-align: center;
- border: 1px solid #dcdfe6 !important;
- }
- .ScoreStep >>> .el-input-number {
- height: 100% !important;
- }
- .ScoreStep >>> .el-input {
- height: 100% !important;
- }
- .ScoreStep >>> .el-input__inner {
- height: 100%;
- padding-left: 15px;
- padding-right: 15px;
- }
- .diaScoreTop {
- display: flex;
- justify-content: space-between;
- height: 60px;
- }
- .diaScoreLeft {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .diaScoreLeft > div {
- margin-right: 30px;
- }
- .diaScoreRight {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .TabBtn {
- cursor: pointer;
- color: #528df6;
- }
- .sBox_table {
- width: 100%;
- min-width: calc(150px * 7);
- margin: 0 auto;
- /* min-width: 1520px; */
- font-size: 14px;
- border-left: 1px #ccc solid;
- border-right: 1px #ccc solid;
- }
- .table_title {
- width: 100%;
- min-width: calc(150px * 9);
- height: 50px;
- background: #e0eafb;
- border: 1px solid #d5d8df;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- align-items: center;
- }
- .table_title > div {
- width: calc(100% / 9);
- min-width: 150px;
- text-align: center;
- height: 100%;
- line-height: 50px;
- border-right: 1px solid #d5d8df;
- }
- .table_title2 {
- width: 100%;
- min-width: calc(150px * 8);
- height: 50px;
- background: #e0eafb;
- border: 1px solid #d5d8df;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- align-items: center;
- }
- .table_title2 > div {
- width: calc(100% / 8);
- min-width: 150px;
- text-align: center;
- height: 100%;
- line-height: 50px;
- border-right: 1px solid #d5d8df;
- }
- .table_title > div:last-child {
- border: none;
- }
- .table_Content {
- width: 100%;
- min-width: calc(150px * 9);
- /* border: 1px solid #d5d8df; */
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- text-align: center;
- align-items: center;
- }
- .table_Content2 {
- width: 100%;
- min-width: calc(150px * 8);
- /* border: 1px solid #d5d8df; */
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- text-align: center;
- align-items: center;
- }
- .twoCol {
- width: 100%;
- display: flex;
- }
- .ColTit {
- width: calc(100% / 9);
- min-width: 150px;
- display: flex;
- justify-content: center;
- align-items: center;
- border-bottom: 1px #ccc solid;
- }
- .ColTit2 {
- width: calc(100% / 8);
- min-width: 150px;
- display: flex;
- justify-content: center;
- align-items: center;
- border-bottom: 1px #ccc solid;
- }
- .twoCon {
- display: flex;
- }
- .twoCon > div {
- width: calc(100% / 8);
- min-width: 150px;
- min-height: 50px;
- /* line-height: 50px; */
- display: flex;
- justify-content: center;
- align-items: center;
- border-left: 1px #ccc solid;
- border-bottom: 1px #ccc solid;
- }
- .twoCon2 {
- display: flex;
- }
- .twoCon2 > div {
- width: calc(100% / 7);
- min-width: 150px;
- min-height: 50px;
- /* line-height: 50px; */
- display: flex;
- justify-content: center;
- align-items: center;
- border-left: 1px #ccc solid;
- border-bottom: 1px #ccc solid;
- }
- .ColCon {
- flex: 1;
- }
- .dialog_diy >>> .el-dialog {
- height: 95%;
- margin: 0 auto !important;
- margin-top: 20px !important;
- overflow: hidden;
- }
- .dialog_diy >>> .el-dialog__header {
- background: #454545 !important;
- padding: 25px 20px;
- }
- .dialog_diy >>> .el-dialog__body {
- height: calc(100% - 50px);
- box-sizing: border-box;
- padding: 0px;
- }
- .dialog_diy >>> .el-dialog__title {
- color: #fff;
- }
- .dialog_diy >>> .el-dialog__headerbtn {
- top: 19px;
- }
- .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close {
- color: #fff;
- }
- .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close:hover {
- color: #fff;
- }
- .dialog_diy >>> .el-dialog__body,
- .dialog_diy >>> .el-dialog__footer {
- background: #fafafa;
- }
- </style>
|