mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 09:16:46 +08:00
-- fix bug
This commit is contained in:
@@ -39,27 +39,6 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="main_item">
|
|
||||||
<div class="signbox">
|
|
||||||
<div class="sign">
|
|
||||||
<img
|
|
||||||
src="@/assets/images/coursewareManage/asterisk.png"
|
|
||||||
alt=""
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<span style="margin-right: 3px">证书:</span>
|
|
||||||
</div>
|
|
||||||
<div class="btnbox">
|
|
||||||
<button
|
|
||||||
class="xkbtn11"
|
|
||||||
@click="CreateCertificate"
|
|
||||||
style="margin-top: 0px"
|
|
||||||
>
|
|
||||||
创建证书
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
<div class="main_item" style="align-items: flex-start">
|
<div class="main_item" style="align-items: flex-start">
|
||||||
<div class="signbox">
|
<div class="signbox">
|
||||||
<div class="sign">
|
<div class="sign">
|
||||||
@@ -141,7 +120,6 @@
|
|||||||
class="main_item"
|
class="main_item"
|
||||||
style="
|
style="
|
||||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
width: ;
|
|
||||||
margin-left: 35px;
|
margin-left: 35px;
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
@@ -326,39 +304,11 @@
|
|||||||
分可获得,当前项目积分为 {{ projectPoints }} 分
|
分可获得,当前项目积分为 {{ projectPoints }} 分
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <a-radio v-model:checked="checked" :value="6" >
|
|
||||||
完成作业
|
|
||||||
</a-radio>
|
|
||||||
<br/>
|
|
||||||
<div style="height:60px;margin-left: 24px;display: flex;align-items: center;">
|
|
||||||
<a-button style="border:0px solid red;box-shadow: none;">高于</a-button>
|
|
||||||
<a-input-number id="inputNumber" v-model:value="value" :min="1" :max="100" style="width:70px;" />
|
|
||||||
<a-button style="border:0px solid red;box-shadow: none;">分可获得证书</a-button>
|
|
||||||
</div>
|
|
||||||
<a-radio v-model:checked="checked" :value="7" >
|
|
||||||
优秀小组长
|
|
||||||
</a-radio>
|
|
||||||
<br/>
|
|
||||||
<div style="height:60px;margin-left: 24px;display: flex;align-items: center;">
|
|
||||||
<a-button style="border:0px solid red;box-shadow: none;">小组积分高于</a-button>
|
|
||||||
<a-input-number id="inputNumber" v-model:value="value" :min="1" :max="100" style="width:70px;" />
|
|
||||||
<a-button style="border:0px solid red;box-shadow: none;">分小组长可获得证书</a-button>
|
|
||||||
</div>
|
|
||||||
<a-radio v-model:checked="checked" :value="8" >
|
|
||||||
考勤按时签到可获得证书
|
|
||||||
</a-radio> -->
|
|
||||||
<br />
|
<br />
|
||||||
<div style="height: 40px"></div>
|
<div style="height: 40px"></div>
|
||||||
</a-radio-group>
|
</a-radio-group>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="main_item" style="height: 40px">
|
|
||||||
<div class="signbox">
|
|
||||||
<span style="margin-right: 3px"></span>
|
|
||||||
</div>
|
|
||||||
<div class="btnbox"></div>
|
|
||||||
</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="main_btns">
|
<div class="main_btns">
|
||||||
@@ -531,7 +481,7 @@ export default {
|
|||||||
const selectStage = (e, k) => {
|
const selectStage = (e, k) => {
|
||||||
console.log("选择阶段", e, k);
|
console.log("选择阶段", e, k);
|
||||||
state.selectStageName = e;
|
state.selectStageName = e;
|
||||||
state.selectStageId = k.stageId;
|
state.selectStageId = k.id;
|
||||||
state.selectTaskName = null;
|
state.selectTaskName = null;
|
||||||
state.selectTaskId = null;
|
state.selectTaskId = null;
|
||||||
state.selectExamName = null;
|
state.selectExamName = null;
|
||||||
@@ -543,7 +493,7 @@ export default {
|
|||||||
state.selectStageName = null;
|
state.selectStageName = null;
|
||||||
state.selectStageId = null;
|
state.selectStageId = null;
|
||||||
state.selectTaskName = e;
|
state.selectTaskName = e;
|
||||||
state.selectTaskId = k.projectTaskId;
|
state.selectTaskId = k.id;
|
||||||
state.selectExamName = null;
|
state.selectExamName = null;
|
||||||
state.selectExamId = null;
|
state.selectExamId = null;
|
||||||
};
|
};
|
||||||
@@ -555,7 +505,7 @@ export default {
|
|||||||
state.selectTaskName = null;
|
state.selectTaskName = null;
|
||||||
state.selectTaskId = null;
|
state.selectTaskId = null;
|
||||||
state.selectExamName = e;
|
state.selectExamName = e;
|
||||||
state.selectExamId = k.projectTaskId;
|
state.selectExamId = k.id;
|
||||||
};
|
};
|
||||||
//选择的获得条件
|
//选择的获得条件
|
||||||
const selectCondition = (e) => {
|
const selectCondition = (e) => {
|
||||||
@@ -639,19 +589,19 @@ export default {
|
|||||||
) {
|
) {
|
||||||
if (info.finishType == 2) {
|
if (info.finishType == 2) {
|
||||||
let stageItem = state.stageList.filter((item) => {
|
let stageItem = state.stageList.filter((item) => {
|
||||||
return item.stageId == info.finishValue;
|
return item.id == info.finishValue;
|
||||||
});
|
});
|
||||||
state.selectStageName = stageItem ? stageItem[0].name : null;
|
state.selectStageName = stageItem ? stageItem[0].name : null;
|
||||||
}
|
}
|
||||||
if (info.finishType == 3) {
|
if (info.finishType == 3) {
|
||||||
let taskItem = state.taskList.filter((item) => {
|
let taskItem = state.taskList.filter((item) => {
|
||||||
return item.projectTaskId == info.finishValue;
|
return item.id == info.finishValue;
|
||||||
});
|
});
|
||||||
state.selectTaskName = taskItem ? taskItem[0].name : null;
|
state.selectTaskName = taskItem ? taskItem[0].name : null;
|
||||||
}
|
}
|
||||||
if (info.finishType == 4) {
|
if (info.finishType == 4) {
|
||||||
let taskItem = state.examList.filter((item) => {
|
let taskItem = state.examList.filter((item) => {
|
||||||
return item.projectTaskId == info.finishValue;
|
return item.id == info.finishValue;
|
||||||
});
|
});
|
||||||
console.log("taskItem", taskItem);
|
console.log("taskItem", taskItem);
|
||||||
state.selectExamName = taskItem ? taskItem[0].name : null;
|
state.selectExamName = taskItem ? taskItem[0].name : null;
|
||||||
|
|||||||
Reference in New Issue
Block a user