eslint
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="flow-node-param-page">
|
||||
<BaseTable ref="baseTableRef" hide-pagination tableName="FLOW_NODE_PARAM">
|
||||
<template #value="{ row, column }">
|
||||
<template #value="{ row }">
|
||||
<div class="pr10 tableCellContent">
|
||||
|
||||
<div
|
||||
@@ -192,7 +192,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits, watch, nextTick, reactive } from 'vue';
|
||||
import { ref, watch, nextTick, reactive } from 'vue';
|
||||
import BaseTable from '@/components/common/table/baseTable.vue';
|
||||
import { NODE_TYPE, PAGE_TYPE, WIDGET_IDS, WIDGET_TYPE } from '@/utils/enum/flow';
|
||||
import { ElMessage } from 'element-plus';
|
||||
|
||||
@@ -56,16 +56,7 @@ const updateMemberList = () => {
|
||||
emits('update:updateMemberList', baseTableRef.value.tableRef?.getCheckboxRecords());
|
||||
closeFun();
|
||||
};
|
||||
// NODE_TASK_MEMBER_LIST
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '用户名', key: 'name', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 200 },
|
||||
// { title: '工号', key: 'identity', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 150 },
|
||||
// { title: '角色', key: 'role', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '职位', key: 'position', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '部门', key: 'department', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 150 },
|
||||
// { title: '电话', key: 'phone', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '邮箱', key: 'email', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// ]);
|
||||
|
||||
const baseTableRef = ref();
|
||||
onMounted(() => {
|
||||
// nextTick(() => {
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits, onMounted, reactive, nextTick } from 'vue';
|
||||
import { ref, onMounted, reactive, nextTick } from 'vue';
|
||||
import Dialog from '@/components/common/dialog/index.vue';
|
||||
import { systemApproveQueryApproveFlowTempalteApi } from '@/api/system/systemApprove';
|
||||
import BaseTable from '@/components/common/table/baseTable.vue';
|
||||
|
||||
@@ -371,22 +371,6 @@ const goFlowDetailFun = (uuid: string) => {
|
||||
flowUuid.value = uuid;
|
||||
};
|
||||
|
||||
// NODE_LIST_LEVEL1
|
||||
// const headData = ref<any[]>( [
|
||||
// { title: '项目名称', key: 'nodeName', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 200 },
|
||||
// { title: '项目代号', key: 'nodeCode', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '项目类型', key: 'nodeSubType', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '进度状态', key: 'progressStatusValue', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '计划开始时间', key: 'beginTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 180 },
|
||||
// { title: '计划结束时间', key: 'endTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 180 },
|
||||
// { title: '实际完成时间', key: 'finishTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 180 },
|
||||
// { title: '项目经理', key: 'memberList', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '创建人', key: 'creator', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '创建时间', key: 'createTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 180 },
|
||||
// { title: '描述', key: 'description', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 200 },
|
||||
// { title: '操作', key: 'tableActions', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 150, fixed: 'right' },
|
||||
// ]);
|
||||
|
||||
const tableRef = ref();
|
||||
|
||||
const copyFlowContent = reactive({
|
||||
|
||||
@@ -452,6 +452,7 @@ onMounted(() => {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
line-clamp: 3;
|
||||
/* 超出几行省略 */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ import { getChildrenNodeListApi, queryNodeListApi } from '@/api/project/node';
|
||||
import { getDictionaryDataApi } from '@/api/system/systemData';
|
||||
import { ref, reactive, onMounted } from 'vue';
|
||||
|
||||
const props = defineProps({
|
||||
defineProps({
|
||||
projectCurrentInfo: {
|
||||
type: Object,
|
||||
default: () => { },
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
@current-change="nodeChangeClickFun"
|
||||
@node-contextmenu="rowRightClickFun"
|
||||
>
|
||||
<template #default="{ node, data }">
|
||||
<template #default="{ data }">
|
||||
<div class="custom-tree-node">
|
||||
|
||||
<div class="title-info">
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits, watch, reactive, onMounted } from 'vue';
|
||||
import { ref, watch, reactive, onMounted } from 'vue';
|
||||
import Dialog from '@/components/common/dialog/index.vue';
|
||||
import { NODE_TYPE } from '@/utils/enum/node';
|
||||
import { ElMessage } from 'element-plus';
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive, defineProps, defineEmits, onMounted } from 'vue';
|
||||
import { ref, reactive, onMounted } from 'vue';
|
||||
import Dialog from '@/components/common/dialog/index.vue';
|
||||
import dayjs from 'dayjs';
|
||||
import taskPerformance from '@/components/taskDetail/taskPerformance.vue';
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits } from 'vue';
|
||||
import { ref } from 'vue';
|
||||
import Dialog from '@/components/common/dialog/index.vue';
|
||||
import runVersionTree from '@/views/task/execution/components/runDetailPage/runPagecomponent/runVersionTree.vue';
|
||||
|
||||
const visible = ref(true);
|
||||
const emits = defineEmits(['close']);
|
||||
|
||||
const props = defineProps({
|
||||
defineProps({
|
||||
currentNodeInfo: {
|
||||
type: Object,
|
||||
default: () => {},
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits } from 'vue';
|
||||
import { ref } from 'vue';
|
||||
import taskPerformance from '@/components/taskDetail/taskPerformance.vue';
|
||||
import Dialog from '@/components/common/dialog/index.vue';
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits, watch } from 'vue';
|
||||
import { ref, watch } from 'vue';
|
||||
import resultData from './runPagecomponent/resultData.vue';
|
||||
import paramSetting from './runPagecomponent/paramSetting.vue';
|
||||
import runDataPage from './runPagecomponent/runDataPage.vue';
|
||||
|
||||
@@ -4,11 +4,6 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits } from 'vue';
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.model-page{
|
||||
width: 100%;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits } from 'vue';
|
||||
import { ref } from 'vue';
|
||||
import BaseTable from '@/components/common/table/baseTable.vue';
|
||||
|
||||
const baseTableRef = ref();
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits, watch } from 'vue';
|
||||
import { ref, watch } from 'vue';
|
||||
import flowNodeParamTable from '@/components/flow/flowNodeParamTable.vue';
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { queryRunDirApi, listSimulationKeyResultApi, addSimulationKeyResultApi, deleteSimulationKeyResultApi } from '@/api/project/run';
|
||||
import { ref, defineProps, watch, nextTick, onMounted } from 'vue';
|
||||
import { ref, watch, nextTick, onMounted } from 'vue';
|
||||
import BaseTable from '@/components/common/table/baseTable.vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { UPLOAD_RUN_FILE_TYPE } from '@/utils/enum/file';
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits, watch } from 'vue';
|
||||
import { ref, watch } from 'vue';
|
||||
import BaseTable from '@/components/common/table/baseTable.vue';
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits } from 'vue';
|
||||
import { ref } from 'vue';
|
||||
import BaseTable from '@/components/common/table/baseTable.vue';
|
||||
|
||||
const baseTableRef = ref();
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits, watch } from 'vue';
|
||||
import { ref, watch } from 'vue';
|
||||
import versionPreview from '@/components/common/versionPreview/index.vue';
|
||||
import { TasksStatusClass, TasksStatusColor } from '@/utils/enum/task';
|
||||
import { getRunVersionApi, getTaskRunVersionApi } from '@/api/project/run';
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps, defineEmits, watch } from 'vue';
|
||||
import { ref, watch } from 'vue';
|
||||
import taskPerformance from '@/components/taskDetail/taskPerformance.vue';
|
||||
import resultImage from '@/components/taskDetail/resultImage.vue';
|
||||
import taskReport from '@/components/taskDetail/taskReport.vue';
|
||||
|
||||
@@ -77,16 +77,6 @@ const props = defineProps<{
|
||||
projectName: string;
|
||||
projectUuid: string;
|
||||
}>();
|
||||
// NODE_DETAIL_FILE
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '序号', key: 'index', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 100 },
|
||||
// { title: '文件名', key: 'fileName', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 300 },
|
||||
// { title: '文件描述', key: 'description', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 200 },
|
||||
// { title: '文件类型', key: 'fileType', isShow: true, inputMode: 'select', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '文件大小', key: 'fileSize', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '创建人', key: 'creator', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 150 },
|
||||
// { title: '修改时间', key: 'updateTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 180 },
|
||||
// ]);
|
||||
|
||||
const isEditDialog = ref(false);
|
||||
|
||||
|
||||
@@ -58,17 +58,6 @@ defineProps<{
|
||||
|
||||
const tableRef = ref();
|
||||
|
||||
// NODE_TASK_TEAM
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '用户名', key: 'name', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 200 },
|
||||
// { title: '工号', key: 'identity', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 150 },
|
||||
// { title: '角色', key: 'role', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '职位', key: 'position', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 120 },
|
||||
// { title: '部门', key: 'department', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true, width: 150 },
|
||||
// { title: '电话', key: 'phone', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '邮箱', key: 'email', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// ]);
|
||||
|
||||
// const getProjectMemberListFun = async () => {
|
||||
// const res:any = await getProjectMemberListApi({
|
||||
// projectNodeId: props.nodeLevel1Uuid,
|
||||
|
||||
@@ -71,20 +71,6 @@ import { disposeAttentionParams } from '../taskPage';
|
||||
// /** 所有任务 */
|
||||
// ALL = 'all',
|
||||
// }
|
||||
// SIMULATION_TASK_ALL_LIST
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '任务名称', key: 'taskName', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务状态', key: 'taskStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '风险状态', key: 'achievement', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务进度', key: 'progress', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '审批状态', key: 'approvalStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '仿真负责人', key: 'simLeader', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '项目', key: 'project', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '学科', key: 'discipline', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划开始时间', key: 'beginTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划结束时间', key: 'endTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '实际结束时间', key: 'actualEndTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// ]);
|
||||
|
||||
const tableRef = ref();
|
||||
|
||||
|
||||
@@ -71,20 +71,7 @@ import taskDetail from '@/views/task/projectDetail/components/taskDetail.vue';
|
||||
// /** 所有任务 */
|
||||
// ALL = 'all',
|
||||
// }
|
||||
// SIMULATION_TASK_ATTENTION_LIST
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '任务名称', key: 'taskName', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务状态', key: 'taskStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '风险状态', key: 'achievement', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务进度', key: 'progress', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '审批状态', key: 'approvalStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '仿真负责人', key: 'simLeader', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '项目', key: 'project', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '学科', key: 'discipline', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划开始时间', key: 'beginTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划结束时间', key: 'endTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '实际结束时间', key: 'actualEndTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// ]);
|
||||
|
||||
const tableRef = ref();
|
||||
|
||||
const showTaskDetailDialog = ref(false);
|
||||
|
||||
@@ -142,22 +142,6 @@ const demandInfo = reactive({
|
||||
uuid: '',
|
||||
});
|
||||
|
||||
// SIMULATION_TASK_DEMAND_CREATE
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '任务名称', key: 'demandName', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务状态', key: 'taskStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '风险状态', key: 'achievement', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务进度', key: 'progress', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '审批状态', key: 'approvalStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '仿真负责人', key: 'simLeader', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '项目', key: 'projectId', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '阶段', key: 'phaseId', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '学科', key: 'nodeId', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划开始时间', key: 'beginTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划结束时间', key: 'endTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '实际结束时间', key: 'actualEndTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// ]);
|
||||
|
||||
const changeFun = async (val: any, type:string) => {
|
||||
console.log('val', val);
|
||||
let optionRef :any;
|
||||
|
||||
@@ -185,22 +185,6 @@ const tagIdMap = computed(() => {
|
||||
return idMap;
|
||||
});
|
||||
|
||||
// SIMULATION_TASK_DEMAND_CREATE
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '任务名称', key: 'demandName', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务状态', key: 'taskStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '风险状态', key: 'achievement', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务进度', key: 'progress', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '审批状态', key: 'approvalStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '仿真负责人', key: 'simLeader', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '项目', key: 'projectId', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '阶段', key: 'phaseId', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '学科', key: 'nodeId', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划开始时间', key: 'beginTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划结束时间', key: 'endTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '实际结束时间', key: 'actualEndTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// ]);
|
||||
|
||||
const changeFun = async (val: any, type:string) => {
|
||||
console.log('val', val);
|
||||
let optionRef :any;
|
||||
|
||||
@@ -300,20 +300,6 @@ const getLoadcaseList = async () => {
|
||||
|
||||
};
|
||||
|
||||
// SIMULATION_TASK_DEMAND_CONFIRM
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '任务名称', key: 'taskName', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务状态', key: 'taskStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '风险状态', key: 'achievement', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务进度', key: 'progress', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '审批状态', key: 'approvalStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '仿真负责人', key: 'simLeader', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '项目', key: 'project', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '学科', key: 'discipline', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划结束时间', key: 'endTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '实际结束时间', key: 'actualEndTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// ]);
|
||||
|
||||
const sendFormRef = ref();
|
||||
|
||||
const sendFormRules = reactive<any>({
|
||||
|
||||
@@ -76,19 +76,6 @@ const exeTableRef = ref();
|
||||
|
||||
const loadingInterface = ref(false);
|
||||
|
||||
// SIMULATION_TASK_EXECUTE_LIST
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '任务名称', key: 'taskName', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务状态', key: 'taskStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '风险状态', key: 'achievement', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务进度', key: 'progress', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '审批状态', key: 'approvalStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '仿真负责人', key: 'simLeader', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '项目', key: 'project', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '学科', key: 'discipline', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划结束时间', key: 'endTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '实际结束时间', key: 'actualEndTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// ]);
|
||||
const changeTaskStatus = async(row: any, status: string) => {
|
||||
const params:{
|
||||
taskIds: any[];
|
||||
|
||||
@@ -76,20 +76,6 @@ const exeTableRef = ref();
|
||||
|
||||
const loadingInterface = ref(false);
|
||||
|
||||
// SIMULATION_TASK_SEND_LIST
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '任务名称', key: 'taskName', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务状态', key: 'taskStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '风险状态', key: 'achievement', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务进度', key: 'progress', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '审批状态', key: 'approvalStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '仿真负责人', key: 'simLeader', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '项目', key: 'project', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '学科', key: 'discipline', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划结束时间', key: 'endTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '实际结束时间', key: 'actualEndTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// ]);
|
||||
|
||||
const formVisible = ref(false);
|
||||
const tableFormRef = ref();
|
||||
|
||||
|
||||
@@ -102,22 +102,6 @@ const demandInfo = reactive({
|
||||
uuid: '',
|
||||
});
|
||||
|
||||
// SIMULATION_TASK_DEMAND_CREATE
|
||||
// const headData = ref<any[]>([
|
||||
// { title: '任务名称', key: 'demandName', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务状态', key: 'taskStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '风险状态', key: 'achievement', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '任务进度', key: 'progress', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '审批状态', key: 'approvalStatus', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '仿真负责人', key: 'simLeader', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '项目', key: 'projectId', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '阶段', key: 'phaseId', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '学科', key: 'nodeId', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划开始时间', key: 'beginTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '计划结束时间', key: 'endTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// { title: '实际结束时间', key: 'actualEndTime', isShow: true, inputMode: 'input', type: 1, inForm: false, required: true },
|
||||
// ]);
|
||||
|
||||
const isCreateDialog = ref(true);
|
||||
|
||||
const visibleDialog = async( visible:boolean, row?: any) => {
|
||||
|
||||
Reference in New Issue
Block a user