mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
考试列表改为试卷列表,课程分类搜索
This commit is contained in:
@@ -203,6 +203,7 @@
|
||||
<!-- <img class="im" src="../../assets/px.jpg" />
|
||||
<img class="im" src="../../assets/px.jpg" />
|
||||
<img class="im" src="../../assets/px.jpg" /> -->
|
||||
|
||||
<div
|
||||
@click="chooseImg(item)"
|
||||
v-for="(item, index) in imgData"
|
||||
@@ -331,6 +332,7 @@
|
||||
<!-- <img class="im" src="../../assets/px.jpg" />
|
||||
<img class="im" src="../../assets/px.jpg" />
|
||||
<img class="im" src="../../assets/px.jpg" /> -->
|
||||
|
||||
<div
|
||||
@click="chooseImg2(item)"
|
||||
v-for="(item, index) in imgData"
|
||||
@@ -865,7 +867,7 @@ export default {
|
||||
const handleOut1 = () => {
|
||||
state.pathName = "";
|
||||
state.pathBg = "";
|
||||
state.pathBgId = "";
|
||||
state.pathBgId =1;
|
||||
state.organizationSelectName = null;
|
||||
state.organizationSelectId = null;
|
||||
state.pathIntro = "";
|
||||
@@ -1620,14 +1622,21 @@ export default {
|
||||
state.organizationSelectId = detail.organizationId;
|
||||
state.pathIntro = detail.remark;
|
||||
state.editPathId = id;
|
||||
// console.log("state.imgData", state.imgData);
|
||||
let arr = imgData;
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
// console.log("arr[i].dictValue", arr[i].dictValue, state.pathBg);
|
||||
if (arr[i].dictValue === state.pathBg) {
|
||||
state.pathBgId = arr[i].dictCode;
|
||||
let arr = imgData.value;
|
||||
arr.forEach((item) => {
|
||||
if (item.dictValue === state.pathBg) {
|
||||
state.pathBgId = item.dictCode;
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
//for (let i = 0; i < arr.length; i++) {
|
||||
// console.log("arr[i].dictValue", arr[i].dictValue, state.pathBg);
|
||||
// if (arr[i].dictValue === state.pathBg) {
|
||||
// state.pathBgId = arr[i].dictCode;
|
||||
|
||||
// }
|
||||
// }
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user