This commit is contained in:
Pengxiansen
2025-02-18 18:44:19 +08:00
parent 0d76654361
commit 21e928c1e5
5 changed files with 36 additions and 51 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -409,8 +409,8 @@ const tablecolumns = ref([
},
{
title: "Band职级",
dataIndex: "bandName",
key: "bandName",
dataIndex: "bandCode",
key: "bandCode",
width: 100,
align: "center",
className: "h",

View File

@@ -45,27 +45,29 @@
</div>
<div class="handler">
<div class="item" v-for="(value, key) in TASK_TYPE" :key="key">
<component
:ref="(el) => (courseRef['el' + key] = el)"
v-model:taskList="listDatas"
:is="value.component"
:growId="growId"
:id="growId"
:type="value.type"
:activeKey="activeKey"
:infoType="2"
@dataListUp="dataListUp"
@refresh="getListTask(1)"
>
<div class="itcon">
<div class="img">
<img :src="value.img" />
<template v-if="value.type < 3">
<component
:ref="(el) => (courseRef['el' + key] = el)"
v-model:taskList="listDatas"
:is="value.component"
:growId="growId"
:id="growId"
:type="value.type"
:activeKey="activeKey"
:infoType="2"
@dataListUp="dataListUp"
@refresh="getListTask(1)"
>
<div class="itcon">
<div class="img">
<img :src="value.img" />
</div>
<div class="text">{{ value.name }}</div>
</div>
<div class="text">{{ value.name }}</div>
</div>
</component>
<div></div>
<div class="lin"></div>
</component>
<div></div>
<div class="lin"></div>
</template>
</div>
</div>
</div>

View File

@@ -39,18 +39,12 @@
</div>
</div>
</div>
<div class="btns">
<!-- <router-link to="/projectadd">
<div class="btn btn3">
<div class="search"></div>
<div class="btnText">创建路径</div>
</div>
</router-link> -->
<!-- <div class="btns">
<div class="btn btn3" @click="handleOut">
<div class="search"></div>
<div class="btnText">创建必修</div>
</div>
</div>
</div> -->
<div class="grow_con">
<div class="grow_list">
<div class="grow_table">
@@ -620,14 +614,13 @@ export default {
};
// 确定
const confirm = () => {
if (!state.statusPosts) {
return message.error("请输入标准岗位");
}
if ( !state.band) {
if (!state.band) {
return message.error("请输入Band职级");
}
if ( !state.statusOffices) {
if (!state.statusOffices) {
return message.error("请输入任职资格等级");
}
if (state.courseNum !== 0 && !state.courseNum) {
@@ -689,6 +682,7 @@ export default {
state.pathWays = "";
state.bg_check = false;
state.editId = null;
state.band = ""
};
// 创建路径
// 管理

View File

@@ -116,7 +116,8 @@
<div class="stagelast">
<!-- 圆形统计 -->
<div class="stagepro" v-for="item of overviewData2">
<a-progress
<template v-if="TASK_TYPE[item.taskType]">
<a-progress
type="dashboard"
gapDegree="0"
:percent="fixDoublePer(item.completedRate || 0)"
@@ -125,6 +126,7 @@
<div class="protext">
{{ TASK_TYPE[item.taskType].name }}完成率
</div>
</template>
</div>
<!-- 条形统计 -->
<div class="proright">
@@ -222,13 +224,13 @@
<a-radio-button value="1">必修</a-radio-button>
<a-radio-button value="2">选修</a-radio-button>
</a-radio-group>
<div class="switch">
<!-- <div class="switch">
<a-switch
@change="sortSwitchChange"
v-model:checked="basicData.sortSwitch"
/>
<div style="margin-left: 5px">是否按顺序学习</div>
</div>
</div> -->
<!-- <div>
<a-tabs
v-model:activeKey="courseType"
@@ -333,7 +335,7 @@
>
</div>
</div>
<div
<!-- <div
class="first"
v-if="checkGrowthPer(preId) && courseType == 1"
>
@@ -354,21 +356,8 @@
选择需解锁的上级任务
</a-button>
</div>
<!-- <a-dropdown :trigger="['click']">
<template #overlay>
<a-menu>
<a-menu-item
v-for="i of listTaskData"
@click="selectSuperiorTask(element, i)"
:disabled="element.id == i.id"
>
<a href="javascript:;">{{ i.taskName }}</a>
</a-menu-item>
</a-menu>
</template>
</a-dropdown> -->
</template>
</div>
</div> -->
<div class="operations" v-if="checkGrowthPer(preId)">
<template
v-if="