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;
|
||||
item.attach = item.attach == "" ? [] : item.attach.split(",");
|
||||
state.faceDetailObj = item;
|
||||
console.log("获取查看信息", item);
|
||||
};
|
||||
// const handleTea = async () => {
|
||||
// console.log("item22224444");
|
||||
|
||||
@@ -405,6 +405,7 @@ export default defineComponent({
|
||||
detail({
|
||||
offcourseId: Number(props.detail.id),
|
||||
}).then((res) => {
|
||||
console.log("res", res);
|
||||
if (res.data.code === 200) {
|
||||
let item = res.data.data;
|
||||
if (item.jobTypeIds) {
|
||||
@@ -428,13 +429,16 @@ export default defineComponent({
|
||||
);
|
||||
let arrObj = [];
|
||||
arrObj = orgSelectIds.map((item, index) => {
|
||||
return { value: item, lebel: orgSelectNames[index] };
|
||||
return { value: item, label: orgSelectNames[index] };
|
||||
});
|
||||
console.log("arrObj-------------", arrObj);
|
||||
state.orgSelect = arrObj;
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
{
|
||||
deep: true,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -457,7 +457,11 @@
|
||||
<div class="btn btn5" @click="noEditClose">
|
||||
<div class="btnText">取消</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>
|
||||
</a-button>
|
||||
</div>
|
||||
@@ -847,9 +851,9 @@ export default defineComponent({
|
||||
orgSelectNames += item.label + ",";
|
||||
});
|
||||
}
|
||||
console.log("orgSelectIds&orgSelectNames2", orgSelectIds, orgSelectNames);
|
||||
orgSelectIds = orgSelectIds.slice(0, orgSelectIds.length - 1);
|
||||
orgSelectNames = orgSelectNames.slice(0, orgSelectNames.length - 1);
|
||||
console.log("orgSelectIds&orgSelectNames2", orgSelectIds, orgSelectNames);
|
||||
|
||||
let selectJobId = "";
|
||||
if (state.selectJobId.length) {
|
||||
@@ -1027,7 +1031,7 @@ export default defineComponent({
|
||||
);
|
||||
let arrObj = [];
|
||||
arrObj = orgSelectIds.map((item, index) => {
|
||||
return { value: item, lebel: orgSelectNames[index] };
|
||||
return { value: item, label: orgSelectNames[index] };
|
||||
});
|
||||
console.log("arrObj-------------", arrObj);
|
||||
state.orgSelect = arrObj;
|
||||
|
||||
Reference in New Issue
Block a user