diff --git a/src/views/job/jobSubmit/index.vue b/src/views/job/jobSubmit/index.vue
index 637ea5f3..9e454eae 100644
--- a/src/views/job/jobSubmit/index.vue
+++ b/src/views/job/jobSubmit/index.vue
@@ -4,7 +4,7 @@
@@ -137,8 +137,10 @@
+
+
@@ -152,6 +154,7 @@ import emitter from '@/utils/eventBus';
import { cloneDeep } from 'lodash-es';
import { ElMessage } from 'element-plus';
import { batchWebSubmitApi, webSubmitApi } from '@/api/pbs/pbs';
+import HpcList from '@/components/task/hpcList.vue';
const formData = reactive({
uuid: '',
@@ -171,6 +174,7 @@ const formData = reactive({
const hpcAppList = ref([]);
const hpcAppInofs = ref([]);
+const visible = ref(false);
const removeFun = (fileList: any, index: any) => {
fileList.splice(index, 1);
@@ -209,8 +213,8 @@ const submitFun = async () => {
const webkitRelativePath = files[0]?.raw?.webkitRelativePath;
params.selectDirName = webkitRelativePath ? webkitRelativePath.split('/')[0] : '';
localStorage.setItem('SUBMIT_JOB_INFO', JSON.stringify(params));
- console.log(formData, 'formData');
- console.log(params, 'params');
+ // console.log(formData, 'formData');
+ // console.log(params, 'params');
submitUploadBigFile(params, files);
// resetFormFun();
@@ -289,27 +293,6 @@ const uploadFinishedFun = async (data: any) => {
}
};
-const testSubmitFun = async () => {
- const params = JSON.parse(localStorage.getItem('SUBMIT_JOB_INFO') as string) || null;
- if (params) {
- let res: any;
-
- try {
- if (params.type === 'single') {
- res = await webSubmitApi(params);
- } else {
- res = await batchWebSubmitApi(params);
- }
-
- if (res && res.code === 200) {
- ElMessage.success('提交成功');
- }
- } catch {}
- } else {
- ElMessage.warning('执行参数丢失,请重新提交');
- }
-};
-
// 切换批量或者单个提交计算模式
const typeChangeFun = () => {
formData.masterFile = [];