mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
feat:修改评估图片及面授课新建
This commit is contained in:
@@ -904,21 +904,16 @@ export default defineComponent({
|
||||
];
|
||||
console.log("checkList", checkList);
|
||||
if (
|
||||
!postData.organizationIds &&
|
||||
(!postData.organizationIds &&
|
||||
!postData.jobTypeIds &&
|
||||
!postData.bandIds
|
||||
!postData.bandIds) ||
|
||||
!checkVal(checkList)
|
||||
) {
|
||||
message.destroy();
|
||||
return message.error("请输入必填项");
|
||||
} else {
|
||||
state.addLoading = true;
|
||||
}
|
||||
if (!checkVal(checkList)) {
|
||||
message.destroy();
|
||||
return message.error("请输入必填项");
|
||||
} else {
|
||||
state.addLoading = true;
|
||||
}
|
||||
|
||||
edit(postData).then((res) => {
|
||||
state.addLoading = false;
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@@ -64,6 +63,8 @@ export default {
|
||||
},
|
||||
setup(props, { emit }) {
|
||||
const curItem = ref(props.item);
|
||||
console.log("选项信息", curItem.value, process.env.VUE_APP_FILE_PATH);
|
||||
curItem.value.imgVal = process.env.VUE_APP_FILE_PATH + curItem.value.imgVal;
|
||||
const state = reactive({
|
||||
hasImgName: "",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user