mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 02:02:55 +08:00
feat:修改面授课
This commit is contained in:
@@ -4456,6 +4456,7 @@ export default defineComponent({
|
|||||||
state.lookCourseModal = true;
|
state.lookCourseModal = true;
|
||||||
item.attach = item.attach == "" ? [] : item.attach.split(",");
|
item.attach = item.attach == "" ? [] : item.attach.split(",");
|
||||||
state.faceDetailObj = item;
|
state.faceDetailObj = item;
|
||||||
|
console.log("获取查看信息", item);
|
||||||
};
|
};
|
||||||
// const handleTea = async () => {
|
// const handleTea = async () => {
|
||||||
// console.log("item22224444");
|
// console.log("item22224444");
|
||||||
|
|||||||
@@ -405,6 +405,7 @@ export default defineComponent({
|
|||||||
detail({
|
detail({
|
||||||
offcourseId: Number(props.detail.id),
|
offcourseId: Number(props.detail.id),
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
|
console.log("res", res);
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
let item = res.data.data;
|
let item = res.data.data;
|
||||||
if (item.jobTypeIds) {
|
if (item.jobTypeIds) {
|
||||||
@@ -428,13 +429,16 @@ export default defineComponent({
|
|||||||
);
|
);
|
||||||
let arrObj = [];
|
let arrObj = [];
|
||||||
arrObj = orgSelectIds.map((item, index) => {
|
arrObj = orgSelectIds.map((item, index) => {
|
||||||
return { value: item, lebel: orgSelectNames[index] };
|
return { value: item, label: orgSelectNames[index] };
|
||||||
});
|
});
|
||||||
console.log("arrObj-------------", arrObj);
|
console.log("arrObj-------------", arrObj);
|
||||||
state.orgSelect = arrObj;
|
state.orgSelect = arrObj;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
{
|
||||||
|
deep: true,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -457,7 +457,11 @@
|
|||||||
<div class="btn btn5" @click="noEditClose">
|
<div class="btn btn5" @click="noEditClose">
|
||||||
<div class="btnText">取消</div>
|
<div class="btnText">取消</div>
|
||||||
</div>
|
</div>
|
||||||
<a-button class="btn btn6" @click="handlePush" :loading="validated===1">
|
<a-button
|
||||||
|
class="btn btn6"
|
||||||
|
@click="handlePush"
|
||||||
|
:loading="validated === 1"
|
||||||
|
>
|
||||||
<div class="btnText">保存</div>
|
<div class="btnText">保存</div>
|
||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
@@ -847,9 +851,9 @@ export default defineComponent({
|
|||||||
orgSelectNames += item.label + ",";
|
orgSelectNames += item.label + ",";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
console.log("orgSelectIds&orgSelectNames2", orgSelectIds, orgSelectNames);
|
||||||
orgSelectIds = orgSelectIds.slice(0, orgSelectIds.length - 1);
|
orgSelectIds = orgSelectIds.slice(0, orgSelectIds.length - 1);
|
||||||
orgSelectNames = orgSelectNames.slice(0, orgSelectNames.length - 1);
|
orgSelectNames = orgSelectNames.slice(0, orgSelectNames.length - 1);
|
||||||
console.log("orgSelectIds&orgSelectNames2", orgSelectIds, orgSelectNames);
|
|
||||||
|
|
||||||
let selectJobId = "";
|
let selectJobId = "";
|
||||||
if (state.selectJobId.length) {
|
if (state.selectJobId.length) {
|
||||||
@@ -1027,7 +1031,7 @@ export default defineComponent({
|
|||||||
);
|
);
|
||||||
let arrObj = [];
|
let arrObj = [];
|
||||||
arrObj = orgSelectIds.map((item, index) => {
|
arrObj = orgSelectIds.map((item, index) => {
|
||||||
return { value: item, lebel: orgSelectNames[index] };
|
return { value: item, label: orgSelectNames[index] };
|
||||||
});
|
});
|
||||||
console.log("arrObj-------------", arrObj);
|
console.log("arrObj-------------", arrObj);
|
||||||
state.orgSelect = arrObj;
|
state.orgSelect = arrObj;
|
||||||
|
|||||||
Reference in New Issue
Block a user