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