feat:修改面授课

This commit is contained in:
lixg
2023-03-02 20:50:35 +08:00
parent af93a4b9c9
commit 893cda5921
3 changed files with 13 additions and 4 deletions

View File

@@ -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;