123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855 |
- <template>
- <div class="full flex direction-column">
- <div class="flex items-center p-extra-small fill-blank header-view">
- <el-button class="m-r-auto" size="small" plain @click="back()">返回</el-button>
- <div class="data-item">
- <user-info></user-info>
- </div>
- <div class="data-item">
- <div class="icon-item">
- <lock-entry />
- </div>
- <div class="icon-item">
- <message :paper-path="current?.filePath" :secret-number="current?.secretNumber"></message>
- </div>
- </div>
- </div>
- <div class="flex-1 overflow-hidden flex direction-column">
- <div class="fill-blank filter-header flex items-center">
- <div class="flex-1 flex items-center">
- <span class="m-name">评卷员:{{ query.markerName }}</span>
- <base-form size="small" :items="formItems" :model="model">
- <!-- <template #form-item-search>
- <el-button type="primary" :loading="loading1 || loading2" @click="onSearch">刷新</el-button>
- </template> -->
- </base-form>
- </div>
- <el-button type="primary" :loading="loading1 || loading2" size="small" @click="onSearch">刷新</el-button>
- </div>
- <div class="flex-1 p-base flex direction-column overflow-hidden">
- <div class="flex-1 overflow-hidden mark-container">
- <splitpanes class="default-theme" style="height: 100%" @resize="setPaneSize">
- <pane
- max-size="80"
- :size="paneSize"
- class="flex flex-1 direction-column radius-base fill-blank mark-content"
- :class="{ 'text-center': center }"
- :style="{ 'background-color': backgroundColor }"
- >
- <span class="preview" @click="onPreview">
- <svg-icon name="preview"></svg-icon>
- </span>
- <p v-if="current" class="absolute question-info">{{ current.mainNumber + '-' + current.mainName }}</p>
- <p v-if="current" class="absolute mark-score">{{ current.markScore }}</p>
- <!-- <right-button class="next-button" @click="checkNext" /> -->
- <div class="flex-1 p-base scroll-auto mark-content-paper img-wrap">
- <img :src="dataUrl" alt="" class="paper-img" :style="{ 'background-color': frontColor }" />
- </div>
- <div class="flex items-center p-t-base">
- <el-button
- :disabled="!current?.taskId"
- class="m-l-base"
- size="small"
- type="primary"
- style="margin-bottom: 4px"
- @click="onSendBack"
- >打回</el-button
- >
- <el-button
- custom-1
- class="m-l-base m-r-auto"
- size="small"
- type="success"
- :disabled="!tableData?.length"
- style="margin-bottom: 4px"
- @click="multToggle"
- >{{ isMult ? '取消多选' : '多选' }}</el-button
- >
- <div class="flex-1 flex justify-end items-center">
- <scoring-panel-with-confirm
- :id="current?.taskId"
- v-model:visible="editScoreVisible"
- v-model:score="modelScore"
- :main-number="current?.mainNumber"
- :subject-code="query.subjectCode"
- modal
- :auto-visible="false"
- :cannot-toggle="true"
- @submit="onSubmit"
- ></scoring-panel-with-confirm>
- </div>
- </div>
- </pane>
- <pane
- max-size="80"
- :size="100 - paneSize"
- class="flex direction-column p-base radius-base fill-blank table-view"
- >
- <!-- <div class="flex items-center p-b-base m-b-base marker-name">
- <span>评卷员</span>
- <span>{{ query.markerName }}</span>
- </div> -->
- <div class="flex items-center justify-between detail-info-table-header">
- <div v-if="tableModel.score !== ''" class="choose-score-info">
- <span class="txt">{{ tableModel.score }}分段</span>
- <span class="close" @click="tableModel.score = ''">×</span>
- </div>
- <div v-else></div>
- <btn-pagination v-model="currentPage" :pagination="pagination"></btn-pagination>
- </div>
- <div class="flex-1 scroll-auto m-t-mini">
- <base-table
- ref="tableRef"
- border
- stripe
- size="small"
- v-bind="pagination"
- height="100%"
- :data="tableData"
- :columns="columns"
- :highlight-current-row="!isMult"
- :cell-style="{ padding: '6px 0' }"
- :memory-column="true"
- @current-change="onCurrentChange"
- @row-dblclick="onDbClick"
- @selection-change="handleSelectionChange"
- ></base-table>
- </div>
- </pane>
- </splitpanes>
- </div>
- <div class="chart-space m-t-base flex justify-between items-center">
- <div class="new-chart-box radius-base">
- <vue-echarts class="full" :option="markerSubjectiveChartsOption"></vue-echarts>
- </div>
- <div class="new-chart-box radius-base">
- <vue-echarts class="full" :option="markerObjectiveChartsOption"></vue-echarts>
- </div>
- </div>
- </div>
- </div>
- </div>
- <image-preview v-model="previewModalVisible" :url="current?.filePath"></image-preview>
- <!-- <send-back-mark
- :id="current?.taskId"
- v-model="sendBackVisible"
- type="custom-check"
- @rejected="onRejected"
- ></send-back-mark> -->
- <send-back-mark :id="rejectIds" v-model="sendBackVisible" type="custom-check" @rejected="onRejected"></send-back-mark>
- <mark-history-list
- :id="currentViewHistory?.taskId"
- v-model="visibleHistory"
- :task="currentViewHistory"
- ></mark-history-list>
- </template>
- <script setup lang="tsx" name="AnalysisPersonnelStatisticsMarker">
- /** 评卷员明细统计 */
- import { computed, reactive, ref, watch, nextTick } from 'vue'
- import { useRouter, useRoute } from 'vue-router'
- import { ElButton, ElMessage } from 'element-plus'
- import dayjs from 'dayjs'
- import VueEcharts from 'vue-echarts'
- import Message from '@/components/shared/message/Message.vue'
- import UserInfo from '@/components/shared/UserInfo.vue'
- import BaseTable from '@/components/element/BaseTable.vue'
- import BaseForm from '@/components/element/BaseForm.vue'
- import useFetch from '@/hooks/useFetch'
- import useTable from '@/hooks/useTable'
- import useTableCheck from '@/hooks/useTableCheck'
- import LockEntry from '@/components/common/LockEntry.vue'
- import { Splitpanes, Pane } from 'splitpanes'
- import { setPaneSize } from '@/utils/common'
- import SendBackMark from '@/components/shared/SendBackMark.vue'
- import useMarkHeader from '@/hooks/useMarkHeader'
- import MarkHistoryList from '@/components/shared/MarkHistoryList.vue'
- import { add } from '@/utils/common'
- import { useSetImgBg } from '@/hooks/useSetImgBg'
- import SvgIcon from '@/components/common/SvgIcon.vue'
- import useMainStore from '@/store/main'
- import ScoringPanelWithConfirm from '@/components/shared/ScoringPanelWithConfirm.vue'
- import ImagePreview from '@/components/shared/ImagePreview.vue'
- import BtnPagination from '@/components/common/BtnPagination.vue'
- import SecNumberStatus from '@/components/common/secNumberStatus.vue'
- import { ElIcon } from 'element-plus'
- import { Close } from '@element-plus/icons-vue'
- import type { EChartsOption } from 'echarts'
- import type { ExtractApiResponse } from '@/api/api'
- import type { EpTableColumn, EpFormItem } from 'global-type'
- import type { SetImgBgOption } from '@/hooks/useSetImgBg'
- const isMult = ref(false)
- const multipleSelection = ref<any>([])
- const handleSelectionChange = (val: any) => {
- multipleSelection.value = val
- }
- const mainStore = useMainStore()
- const paneSize = computed(() => {
- return mainStore.paneSizeConfig[location.pathname] || 70
- })
- const { back, push } = useRouter()
- const { query } = useRoute()
- /** 打回弹窗 */
- const sendBackVisible = ref<boolean>(false)
- /** 打回 */
- const onSendBack = () => {
- sendBackVisible.value = true
- }
- /** 打回成功 */
- const onRejected = () => {
- // onRefresh()
- ElMessage.success('打回成功')
- fetchTable()
- }
- /** 给分板 */
- const editScoreVisible = ref<boolean>(true)
- /** 图片预览 */
- const previewModalVisible = ref<boolean>(false)
- /** 分数 */
- const modelScore = ref<number[]>([])
- const {
- rotate,
- scale,
- center,
- frontColor,
- backgroundColor,
- onBack,
- onScaleChange,
- onCenter,
- onRotate,
- setBackgroundColor,
- setFrontColor,
- onViewStandard,
- } = useMarkHeader()
- /** 刷新 */
- const onRefresh = () => {
- fetchTable()
- }
- /** 预览试卷 */
- const onPreview = () => {
- previewModalVisible.value = true
- }
- const model = reactive({
- type: 'today',
- })
- const tableModel = reactive<any>({
- markerId: query.markerId,
- score: '',
- pageSize: 100,
- subjectCode: query.subjectCode as string,
- mainNumber: query.questionMainNumber as string,
- today: true,
- })
- watch(
- () => model.type,
- () => {
- tableModel.today = model.type === 'today'
- }
- )
- ;(window as any)._tableModel = tableModel
- const { pagination, currentPage, data, fetchTable } = useTable('getPersonalMarkDetail', tableModel)
- const {
- tableRef,
- tableData,
- current,
- currentView: currentViewHistory,
- next: checkNext,
- visibleHistory,
- onDbClick,
- onCurrentChange,
- nextRow,
- elTableRef,
- } = useTableCheck(data, true, null, false, isMult)
- /** 确定给分 */
- const { fetch: updatePersonalMarkDetailScore } = useFetch('updatePersonalMarkDetailScore')
- const onSubmit = async () => {
- if (current.value) {
- const scores = JSON.parse(JSON.stringify(modelScore.value))
- let res: any = await updatePersonalMarkDetailScore({
- taskId: current.value.taskId,
- scores: modelScore.value,
- source: (query.source as string) || '',
- })
- // current.value.markerScore = add(...scores)
- current.value.markScore = add(...scores)
- current.value.checked = res.checked
- current.value.corrected = res.corrected
- current.value.markerScore = res.markerScore
- current.value.objectiveScore = res.objectiveScore
- current.value.ratio = res.ratio
- current.value.markTime = res.markTime
- current.value.markerScore = res.markerScore
- ElMessage.success('修改成功')
- // editScoreVisible.value = false
- // onRefresh()
- nextRow()
- }
- }
- watch(current, () => {
- if (current.value) {
- useFetch('viewActiveCheck')
- .fetch({ taskId: current.value?.taskId })
- .then(() => {
- if (!current.value.checked) {
- current.value.checked = true
- }
- })
- }
- })
- const imgOption = computed<SetImgBgOption>(() => {
- return {
- image: current?.value?.filePath || '',
- rotate: rotate.value,
- scale: scale.value,
- }
- })
- const { drawing, dataUrl } = useSetImgBg(imgOption, frontColor, setFrontColor)
- onRefresh()
- watch(
- () => tableModel.score,
- () => {
- fetchTable()
- }
- )
- const formItems: EpFormItem[] = [
- {
- label: '统计方式',
- prop: 'type',
- slotType: 'radio',
- rowKey: 'row-1',
- slot: {
- options: [
- { label: 'total', slotLabel: '积累' },
- { label: 'today', slotLabel: '当天' },
- ],
- },
- // colProp: {
- // span: 4,
- // offset: 18,
- // },
- },
- // {
- // slotName: 'search',
- // rowKey: 'row-1',
- // colProp: {
- // span: 2,
- // },
- // },
- ]
- const {
- fetch: getStatisticObjectiveByMarker,
- result: objectiveByMarker,
- loading: loading1,
- } = useFetch('getStatisticObjectiveByMarker')
- const {
- fetch: getStatisticSubjectiveByMarker,
- result: subjectiveByMarker,
- loading: loading2,
- } = useFetch('getStatisticSubjectiveByMarker')
- type TableDataType = ExtractArrayValue<ExtractApiResponse<'getStatisticObjectiveByMarker'>['segmentsByAll']> & {
- groupCount: number
- groupRate: number
- allCount: number
- allRate: number
- }
- type GroupData = Record<number, { groupCount: number; groupRate: number }>
- type AllData = Record<number, { allCount: number; allRate: number }>
- const objectiveGroupData = computed<GroupData>(() => {
- return objectiveByMarker.value?.segmentsByGroup?.reduce((result, data) => {
- result[data.scoreStart] = { groupCount: data.count, groupRate: data.rate }
- return result
- }, {} as GroupData)
- })
- const objectiveAllData = computed<AllData>(() => {
- return objectiveByMarker.value?.segmentsByAll?.reduce((result, data) => {
- result[data.scoreStart] = { allCount: data.count, allRate: data.rate }
- return result
- }, {} as AllData)
- })
- const subjectiveGroupData = computed<GroupData>(() => {
- return subjectiveByMarker.value?.segmentsByGroup?.reduce((result, data) => {
- result[data.scoreStart] = { groupCount: data.count, groupRate: data.rate }
- return result
- }, {} as GroupData)
- })
- const subjectiveAllData = computed<AllData>(() => {
- return subjectiveByMarker.value?.segmentsByAll?.reduce((result, data) => {
- result[data.scoreStart] = { allCount: data.count, allRate: data.rate }
- return result
- }, {} as AllData)
- })
- const objectiveTableData = computed<TableDataType[]>(() => {
- return objectiveByMarker?.value?.segmentsByUser.map((d) => ({
- ...d,
- ...objectiveGroupData.value?.[d.scoreStart],
- ...objectiveAllData.value?.[d.scoreStart],
- }))
- })
- // const columns: EpTableColumn<any>[] = [
- // {
- // label: '评卷员',
- // prop: 'markerName',
- // minWidth: 90,
- // formatter(row: any) {
- // return (
- // <SecNumberStatus
- // secretNumber={row.markerName}
- // checked={row.checked}
- // corrected={row.corrected}
- // ></SecNumberStatus>
- // )
- // },
- // },
- // {
- // label: '密号',
- // prop: 'secretNumber',
- // minWidth: 110,
- // },
- // { label: '给分', prop: 'markerScore', minWidth: 70 },
- // { label: '客观分', prop: 'objectiveScore', minWidth: 70 },
- // { label: '客主比', prop: 'markerRatio', minWidth: 80 },
- // { label: '成绩客主比', prop: 'ratio', minWidth: 110 },
- // { label: '成绩', prop: 'markScore', minWidth: 70 },
- // ]
- const columns: any = computed(() => {
- let cols: any = [
- {
- label: '评卷员',
- prop: 'markerName',
- minWidth: 90,
- formatter(row: any) {
- return (
- <SecNumberStatus
- secretNumber={row.markerName}
- checked={row.checked}
- corrected={row.corrected}
- ></SecNumberStatus>
- )
- },
- },
- {
- label: '密号',
- prop: 'secretNumber',
- minWidth: 110,
- },
- { label: '给分', prop: 'markerScore', minWidth: 70 },
- { label: '客观分', prop: 'objectiveScore', minWidth: 70 },
- { label: '客主比', prop: 'markerRatio', minWidth: 80 },
- { label: '成绩客主比', prop: 'ratio', minWidth: 110 },
- { label: '成绩', prop: 'markScore', minWidth: 70 },
- ]
- if (isMult.value) {
- cols.unshift({
- type: 'selection',
- width: 55,
- })
- }
- return cols
- })
- const onSearch = () => {
- fetchTable()
- if (query.markerId) {
- const startTime = model.type === 'today' ? dayjs().startOf('day').format('YYYYMMDDHHmmss') : ''
- getStatisticObjectiveByMarker({
- markerId: query.markerId as string,
- startTime,
- endTime: '',
- })
- getStatisticSubjectiveByMarker({
- markerId: query.markerId as string,
- startTime,
- endTime: '',
- })
- }
- }
- type StatisticObjectiveByMarker = ExtractApiResponse<'getStatisticObjectiveByMarker'>
- type StatisticObjectiveByMarkerValues = StatisticObjectiveByMarker['segmentsByAll']
- const getXAxisData = <K extends keyof ExtractArrayValue<StatisticObjectiveByMarkerValues>>(
- field: K,
- data?: StatisticObjectiveByMarkerValues
- ) => {
- if (!data) {
- return []
- }
- const getValue = (key: K, item: ExtractArrayValue<StatisticObjectiveByMarkerValues>) => {
- return item[key]
- }
- return data?.map((v) => getValue(field, v))
- }
- const markerSubjectiveChartsOption = computed<EChartsOption>(() => {
- return {
- grid: {
- top: 50,
- bottom: 15,
- left: 30,
- right: 30,
- containLabel: true,
- },
- legend: {
- top: 10,
- itemWidth: 14,
- data: ['评卷员主观分布', '小组主观分布', '题组主观分布'],
- },
- tooltip: {
- trigger: 'axis',
- triggerOn: 'click',
- enterable: true,
- axisPointer: {
- type: 'line',
- crossStyle: {
- color: '#999',
- },
- lineStyle: {
- type: 'dashed',
- },
- },
- formatter: function (params: any) {
- let html = `
- <div>
- <div style="font-size:14px;color:#0091ff;font-weight:bold;text-decoration:underline;cursor:pointer;margin-bottom:8px" onclick="window._tableModel.score=${params[0].axisValue}">${params[0].axisValue}分段</div>
- <div>
- `
- for (let i = 0; i < params.length; i++) {
- let item = params[i]
- html += `
- <div style="margin: 0px 0 0">
- ${item.marker}
- <span style="font-size:14px;color:#666;font-weight:400;margin-left:2px">${item.seriesName}</span>
- <span style="float:right;margin-left:20px;font-size:14px;color:#666;font-weight:900">${item.data}</span>
- <div style="clear:both"></div>
- </div>
- </div>
- `
- }
- html += `
- </div>
- </div>
- `
- return html
- },
- },
- xAxis: {
- axisLine: { show: false },
- axisTick: { show: false },
- splitLine: { show: false },
- axisLabel: {
- align: 'right',
- },
- data: getXAxisData('scoreStart', subjectiveByMarker?.value?.segmentsByAll),
- },
- yAxis: [
- {
- type: 'value',
- },
- {
- type: 'value',
- axisLabel: {
- formatter: `{value}%`,
- },
- splitLine: { show: false },
- },
- ],
- series: [
- {
- name: '评卷员主观分布',
- type: 'line',
- itemStyle: {
- color: '#8ED14B',
- },
- data: getXAxisData('rate', subjectiveByMarker?.value?.segmentsByUser),
- },
- {
- name: '小组主观分布',
- type: 'line',
- itemStyle: {
- color: '#3B99D4',
- },
- data: getXAxisData('rate', subjectiveByMarker?.value?.segmentsByGroup),
- },
- {
- name: '题组主观分布',
- type: 'line',
- itemStyle: {
- color: '#ff0000',
- },
- data: getXAxisData('rate', subjectiveByMarker?.value?.segmentsByAll),
- },
- ],
- }
- })
- const markerObjectiveChartsOption = computed<EChartsOption>(() => {
- return {
- grid: {
- top: 50,
- bottom: 15,
- left: 30,
- right: 30,
- containLabel: true,
- },
- legend: {
- top: 10,
- itemWidth: 14,
- data: ['评卷员客观分布', '小组客观分布', '题组客观分布'],
- },
- tooltip: {
- trigger: 'axis',
- triggerOn: 'click',
- enterable: true,
- axisPointer: {
- type: 'line',
- crossStyle: {
- color: '#999',
- },
- lineStyle: {
- type: 'dashed',
- },
- },
- // formatter: function (params: any) {
- // let html = `
- // <div>
- // <div style="font-size:14px;color:#0091ff;font-weight:bold;text-decoration:underline;cursor:pointer;margin-bottom:8px">${params[0].axisValue}分段</div>
- // <div>
- // `
- // for (let i = 0; i < params.length; i++) {
- // let item = params[i]
- // html += `
- // <div style="margin: 0px 0 0">
- // ${item.marker}
- // <span style="font-size:14px;color:#666;font-weight:400;margin-left:2px">${item.seriesName}</span>
- // <span style="float:right;margin-left:20px;font-size:14px;color:#666;font-weight:900">${item.data}</span>
- // <div style="clear:both"></div>
- // </div>
- // </div>
- // `
- // }
- // html += `
- // </div>
- // </div>
- // `
- // return html
- // },
- },
- xAxis: {
- axisLine: { show: false },
- axisTick: { show: false },
- splitLine: { show: false },
- axisLabel: {
- align: 'right',
- },
- data: getXAxisData('scoreStart', objectiveByMarker?.value?.segmentsByAll),
- },
- yAxis: [
- {
- type: 'value',
- },
- {
- type: 'value',
- axisLabel: {
- formatter: `{value}%`,
- },
- splitLine: { show: false },
- },
- ],
- series: [
- {
- name: '评卷员客观分布',
- type: 'line',
- itemStyle: {
- color: '#8ED14B',
- },
- data: getXAxisData('rate', objectiveByMarker?.value?.segmentsByUser),
- },
- {
- name: '小组客观分布',
- type: 'line',
- itemStyle: {
- color: '#3B99D4',
- },
- data: getXAxisData('rate', objectiveByMarker?.value?.segmentsByGroup),
- },
- {
- name: '题组客观分布',
- type: 'line',
- itemStyle: {
- color: '#ff0000',
- },
- data: getXAxisData('rate', objectiveByMarker?.value?.segmentsByAll),
- },
- ],
- }
- })
- onSearch()
- const multToggle = () => {
- isMult.value = !isMult.value
- editScoreVisible.value = !isMult.value
- if (!isMult.value && tableData.value?.length && current.value) {
- nextTick(() => {
- let index = tableData.value.findIndex((task: any) => task.taskId == current.value?.taskId)
- elTableRef?.value?.setCurrentRow(tableData.value[index == -1 ? 0 : index])
- })
- }
- if (isMult.value) {
- elTableRef?.value?.clearSelection()
- }
- }
- const rejectIds = computed(() => {
- return isMult.value ? multipleSelection.value.map((item: any) => item.taskId) : [current.value?.taskId]
- })
- </script>
- <style scoped lang="scss">
- .header-view {
- background-color: #333;
- height: 60px;
- ::v-deep(.data-item) {
- // padding-left: 20px;
- padding-left: 15px;
- padding-right: 15px;
- position: relative;
- height: 100%;
- display: flex;
- align-items: center;
- color: #8a8a8a;
- .icon-item {
- // width: 45px;
- padding: 0 10px;
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- }
- &:first-child {
- margin-left: auto;
- }
- &:not(:last-child) {
- &:after {
- content: '';
- position: absolute;
- right: 0;
- top: 0;
- width: 1px;
- height: 100%;
- background-color: #464646;
- }
- }
- &.is-last:after {
- width: 0;
- }
- .main-ques-info {
- text-align: center;
- font-weight: bold;
- color: $color--primary;
- margin-bottom: 5px;
- max-width: 130px;
- }
- }
- }
- .chart-space {
- height: 220px;
- }
- .filter-header {
- border-top: 1px solid #eee;
- border-bottom: 1px solid #eee;
- padding: 8px 15px;
- .m-name {
- font-size: 12px;
- color: #666;
- margin-right: 40px;
- font-weight: bold;
- }
- :deep(.el-form-item--small) {
- margin-bottom: 0;
- }
- }
- .new-chart-box {
- height: 100%;
- width: calc(50% - 6px);
- background-color: #fff;
- }
- .mark-container {
- .mark-content {
- position: relative;
- .preview {
- position: absolute;
- cursor: pointer;
- top: 20px;
- right: 25px;
- font-size: 38px;
- }
- .next-button {
- position: absolute;
- right: -20px;
- top: 300px;
- }
- .mark-content-paper {
- img {
- max-width: 100%;
- }
- }
- }
- .table-view {
- // width: 580px;
- .detail-info-table-header {
- .choose-score-info {
- background: rgba(0, 186, 151, 0.1);
- display: flex;
- align-items: center;
- height: 32px;
- padding: 0 10px;
- border-radius: 4px;
- .txt {
- color: #00ba97;
- font-weight: bold;
- font-size: 12px;
- margin-right: 12px;
- }
- .close {
- color: #00ba97;
- font-weight: bold;
- cursor: pointer;
- font-size: 16px;
- margin-bottom: 2px;
- }
- }
- }
- .marker-name {
- border-bottom: $OnePixelLine;
- }
- .detail-info-label {
- .detail-info-label-num {
- min-width: 32px;
- height: 24px;
- line-height: 24px;
- background: #00987b;
- border-radius: 4px;
- }
- }
- }
- }
- </style>
|