-
-
-
+
+
+
+
+
我的科创工作
+
+
+
+
+
+ {{ item.title }}
+ {{ item.num }}个
+
+
+
+
+
待办 ({{ todoNum }})
+
+
+
+
+
+
+
+
+
+
+
+
帮助文档
+ 查看更多
+
+
+
+ {{ item.title }}
+
+
+
+
+
+
-
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index e442e96..13913d7 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -6,7 +6,7 @@
:rules="rules"
label-width="70px"
>
-
科研管理平台
+
diff --git a/src/views/project-demand/collection/add.vue b/src/views/project-demand/collection/add.vue
new file mode 100644
index 0000000..74ebe73
--- /dev/null
+++ b/src/views/project-demand/collection/add.vue
@@ -0,0 +1,348 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+ 重新提交
+ 返回
+
+
+
+
+
+
+
diff --git a/src/views/project-demand/collection/detail.vue b/src/views/project-demand/collection/detail.vue
new file mode 100644
index 0000000..05f951e
--- /dev/null
+++ b/src/views/project-demand/collection/detail.vue
@@ -0,0 +1,281 @@
+
+
+
+
+
+
+
+ {{ formData.requirementName }}
+
+
+
+
+ {{ formData.companyIds }}
+
+
+
+
+ {{ formData.collectType }}
+
+
+
+
+ {{ formData.deadline }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 驳回
+ 同意
+
+
+
+
+
+
+
diff --git a/src/views/project-demand/collection/index.vue b/src/views/project-demand/collection/index.vue
new file mode 100644
index 0000000..002de02
--- /dev/null
+++ b/src/views/project-demand/collection/index.vue
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-demand/summary/add.vue b/src/views/project-demand/summary/add.vue
new file mode 100644
index 0000000..44eca8b
--- /dev/null
+++ b/src/views/project-demand/summary/add.vue
@@ -0,0 +1,492 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 存为草稿
+ 发布
+ 重新发布
+
+
+
+
+
+
diff --git a/src/views/project-demand/summary/api/index.js b/src/views/project-demand/summary/api/index.js
new file mode 100644
index 0000000..3baa2ef
--- /dev/null
+++ b/src/views/project-demand/summary/api/index.js
@@ -0,0 +1,40 @@
+import request from '@/utils/request'
+
+export const fileUp = (url, data) => {
+ return request({
+ url,
+ method: 'post',
+ data,
+ headers: {
+ 'Content-Type': 'multipart/form-data'
+ }
+ })
+}
+
+export const requirementReported = (data) => {
+ return request({
+ url: '/workflow/mosr/requirement/reported',
+ method: "post",
+ data: data
+ });
+};
+export const getProcessInfo = () => {
+ return request({
+ url: '/workflow/mosr/requirement/collect/process',
+ method: "get"
+ });
+};
+export const getDetail = (projectId) => {
+ return request({
+ url: `/workflow/mosr/requirement/collect/info/${projectId}`,
+ method: "get"
+ });
+};
+
+export const resubmitReported = (data) => {
+ return request({
+ url: '/workflow/mosr/requirement/collect/resubmit',
+ method: "post",
+ data: data
+ });
+};
diff --git a/src/views/project-demand/summary/components/FileUpload.vue b/src/views/project-demand/summary/components/FileUpload.vue
new file mode 100644
index 0000000..241e812
--- /dev/null
+++ b/src/views/project-demand/summary/components/FileUpload.vue
@@ -0,0 +1,75 @@
+
+
+
+
+ 拖拽上传/点击上传
+
+
+
+ {{ tip }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/project-demand/summary/detail.vue b/src/views/project-demand/summary/detail.vue
new file mode 100644
index 0000000..518d90b
--- /dev/null
+++ b/src/views/project-demand/summary/detail.vue
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-demand/summary/index.vue b/src/views/project-demand/summary/index.vue
new file mode 100644
index 0000000..04a6db5
--- /dev/null
+++ b/src/views/project-demand/summary/index.vue
@@ -0,0 +1,207 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/filing/attachment.vue b/src/views/project-management/filing/attachment.vue
new file mode 100644
index 0000000..1ed9890
--- /dev/null
+++ b/src/views/project-management/filing/attachment.vue
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/filing/conclusion.vue b/src/views/project-management/filing/conclusion.vue
new file mode 100644
index 0000000..06ee770
--- /dev/null
+++ b/src/views/project-management/filing/conclusion.vue
@@ -0,0 +1,265 @@
+
+
+
+
+
+
+
+
+ 提交
+ 重新提交
+
+
+
+
+
+
+
diff --git a/src/views/project-management/filing/detail.vue b/src/views/project-management/filing/detail.vue
new file mode 100644
index 0000000..31a7898
--- /dev/null
+++ b/src/views/project-management/filing/detail.vue
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/filing/index.vue b/src/views/project-management/filing/index.vue
new file mode 100644
index 0000000..530ae3f
--- /dev/null
+++ b/src/views/project-management/filing/index.vue
@@ -0,0 +1,238 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/implementation/account.vue b/src/views/project-management/implementation/account.vue
new file mode 100644
index 0000000..b971574
--- /dev/null
+++ b/src/views/project-management/implementation/account.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/implementation/attachment.vue b/src/views/project-management/implementation/attachment.vue
new file mode 100644
index 0000000..ffa73b0
--- /dev/null
+++ b/src/views/project-management/implementation/attachment.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/implementation/check.vue b/src/views/project-management/implementation/check.vue
new file mode 100644
index 0000000..bf67261
--- /dev/null
+++ b/src/views/project-management/implementation/check.vue
@@ -0,0 +1,232 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+ 重新提交
+
+
+
+
+
+
+
diff --git a/src/views/project-management/implementation/detail.vue b/src/views/project-management/implementation/detail.vue
new file mode 100644
index 0000000..806359d
--- /dev/null
+++ b/src/views/project-management/implementation/detail.vue
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/implementation/index.vue b/src/views/project-management/implementation/index.vue
new file mode 100644
index 0000000..c7128f9
--- /dev/null
+++ b/src/views/project-management/implementation/index.vue
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/implementation/share.vue b/src/views/project-management/implementation/share.vue
new file mode 100644
index 0000000..9a896d2
--- /dev/null
+++ b/src/views/project-management/implementation/share.vue
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/implementation/uploadFee.vue b/src/views/project-management/implementation/uploadFee.vue
new file mode 100644
index 0000000..cc94c34
--- /dev/null
+++ b/src/views/project-management/implementation/uploadFee.vue
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+ {{ formData.requirementName }}
+
+
+
+
+ {{ formData.companyIds }}
+
+
+
+
+ {{ formData.collectType }}
+
+
+
+
+ {{ formData.deadline }}
+
+
+
+
+ {{ formData.deadline }}
+
+
+
+
+ {{ formData.deadline }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/initiation/apply.vue b/src/views/project-management/initiation/apply.vue
new file mode 100644
index 0000000..71fe9d5
--- /dev/null
+++ b/src/views/project-management/initiation/apply.vue
@@ -0,0 +1,260 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+ 重新提交
+
+
+
+
+
+
+
diff --git a/src/views/project-management/initiation/detail.vue b/src/views/project-management/initiation/detail.vue
new file mode 100644
index 0000000..ff63110
--- /dev/null
+++ b/src/views/project-management/initiation/detail.vue
@@ -0,0 +1,183 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project-management/initiation/index.vue b/src/views/project-management/initiation/index.vue
new file mode 100644
index 0000000..39a465c
--- /dev/null
+++ b/src/views/project-management/initiation/index.vue
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/steps/step/Step1.vue b/src/views/steps/step/Step1.vue
new file mode 100644
index 0000000..6489d2e
--- /dev/null
+++ b/src/views/steps/step/Step1.vue
@@ -0,0 +1,17 @@
+
+
+ 步骤1
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/steps/step/Step2.vue b/src/views/steps/step/Step2.vue
new file mode 100644
index 0000000..ab978ab
--- /dev/null
+++ b/src/views/steps/step/Step2.vue
@@ -0,0 +1,17 @@
+
+
+ 步骤2
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/steps/step/Step3.vue b/src/views/steps/step/Step3.vue
new file mode 100644
index 0000000..6489d2e
--- /dev/null
+++ b/src/views/steps/step/Step3.vue
@@ -0,0 +1,17 @@
+
+
+ 步骤1
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/steps/step/Step4.vue b/src/views/steps/step/Step4.vue
new file mode 100644
index 0000000..6489d2e
--- /dev/null
+++ b/src/views/steps/step/Step4.vue
@@ -0,0 +1,17 @@
+
+
+ 步骤1
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/steps/step/Step5.vue b/src/views/steps/step/Step5.vue
new file mode 100644
index 0000000..18f3df9
--- /dev/null
+++ b/src/views/steps/step/Step5.vue
@@ -0,0 +1,17 @@
+
+
+ 步骤1
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/steps/step/index.vue b/src/views/steps/step/index.vue
new file mode 100644
index 0000000..111cea2
--- /dev/null
+++ b/src/views/steps/step/index.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/menu/DistributeRole.vue b/src/views/system/menu/DistributeRole.vue
index 4f48e03..9972b54 100644
--- a/src/views/system/menu/DistributeRole.vue
+++ b/src/views/system/menu/DistributeRole.vue
@@ -39,7 +39,7 @@
@select="handleSelect"
v-tabh
>
-
+
@@ -59,7 +59,7 @@
-
+
@@ -98,7 +98,7 @@
v-loading="dialogLoading"
@select="handleDialogSelect"
>
-
+
@@ -117,7 +117,7 @@
-
+
添加
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index b1ee86f..58fd58d 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -16,7 +16,7 @@
@@ -42,15 +42,13 @@
-
+
- 新增
+ 新增
-
-
- 修改
- 分配角色
-
+ 修改
+
+
diff --git a/src/views/system/role/add.vue b/src/views/system/role/add.vue
index 2999d9e..e794815 100644
--- a/src/views/system/role/add.vue
+++ b/src/views/system/role/add.vue
@@ -2,7 +2,16 @@
-
+
@@ -20,6 +20,15 @@ import ProcessTree from '@/views/workflow/process/ProcessTree.vue'
const processTreePreview = ref()
const scale = ref(100)
+const props = defineProps({
+ mode: {
+ type: String,
+ default: 'preview'
+ },idName:{
+ type:String,
+ default:'previewProcess'
+ }
+})
nextTick(()=>{
processTreePreview.value.init()
diff --git a/src/views/workflow/process/ProcessEdit.vue b/src/views/workflow/process/ProcessEdit.vue
index 5850c1b..7973461 100644
--- a/src/views/workflow/process/ProcessEdit.vue
+++ b/src/views/workflow/process/ProcessEdit.vue
@@ -1,7 +1,7 @@
流程设置
-
表单
+
流程
发布
@@ -11,9 +11,9 @@
-
-
-
+
+
+
@@ -72,7 +72,8 @@ import {ElMessage, ElMessageBox} from "element-plus";
const processDesign = ref()
const visible = ref(false)
const timer = ref(null)
-const validComponents = ref(['processSetting', 'formDesign', 'processDesign'])
+// const validComponents = ref(['processSetting', 'formDesign', 'processDesign'])
+const validComponents = ref(['processSetting', 'processDesign'])
// const activeSelect = ref('formDesign')
// const activeSelect = ref('processSetting')
const activeSelect = ref('processDesign')
@@ -81,7 +82,7 @@ const validStep = ref(0)
const validResult = ref({})
const validOptions = ref([
{title: '基础信息', description: '', icon: '', status: ''},
- {title: '审批表单', description: '', icon: '', status: ''},
+ // {title: '审批表单', description: '', icon: '', status: ''},
{title: '审批流程', description: '', icon: '', status: ''},
// {title: '扩展设置', description: '', icon: '', status: ''}
])
@@ -118,21 +119,22 @@ const loadInitFrom = () => {
let design = {
processDefinitionKey: 'pro' + getRandomId(),
deploymentName: "未命名表单",
- logo: {
- icon: "el-icon-eleme",
- background: "#1e90ff"
- },
- settings: {
- commiter: [],
- admin: [],
- sign: false,
- notify: {
- types: ["APP"],
- title: "消息通知标题"
- }
- },
+ processKey: '',
+ // logo: {
+ // icon: "el-icon-eleme",
+ // background: "#1e90ff"
+ // },
+ // settings: {
+ // commiter: [],
+ // admin: [],
+ // sign: false,
+ // notify: {
+ // types: ["APP"],
+ // title: "消息通知标题"
+ // }
+ // },
groupId: 1,
- formItems: [],
+ // formItems: [],
process: [
{
id: "root",
@@ -151,6 +153,27 @@ const loadInitFrom = () => {
type: "END",
}
],
+ processFromPerms: [{
+ id: "projectName",
+ title: "项目名称",
+ required: true,
+ perm: "R"
+ }, {
+ id: "projectType",
+ title: "项目类型",
+ required: true,
+ perm: "R"
+ }, {
+ id: "projectDesc",
+ title: "项目描述",
+ required: true,
+ perm: "R"
+ }, {
+ id: "projectManager",
+ title: "项目经理",
+ required: true,
+ perm: "R"
+ }],
remark: "备注说明"
}
processStore.setDesign(design)
@@ -168,7 +191,7 @@ const getRandomId = () => {
d = Math.floor(d / 16)
return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
})
- return 'node_' + id
+ return id
}
const getProcessInfo = async () => {
diff --git a/src/views/workflow/process/ProcessSetting.vue b/src/views/workflow/process/ProcessSetting.vue
index 24d6950..9ba27f2 100644
--- a/src/views/workflow/process/ProcessSetting.vue
+++ b/src/views/workflow/process/ProcessSetting.vue
@@ -1,13 +1,26 @@
-
-流程设置{{ processData.deploymentName }}
+
+
+
+
+
+
+
+
+
+
+ 流程设置{{ processData.deploymentName }}
diff --git a/src/views/workflow/process/ProcessTree.vue b/src/views/workflow/process/ProcessTree.vue
index f4c1d11..b108ee4 100644
--- a/src/views/workflow/process/ProcessTree.vue
+++ b/src/views/workflow/process/ProcessTree.vue
@@ -36,6 +36,7 @@ const valid = ref(true)
let vNode = {}
const init = () => {
+ // console.log("sdsdsdsdsdsdsd",processStore.getProcess())
processStore.init()
initMapping(processStore.getProcess())
// 定义类名(可忽略)
@@ -48,7 +49,7 @@ const init = () => {
// 初始化map集合,以便数据整理
const initMapping = (node) => {
- node.forEach(nodeItem => {
+ node?.forEach(nodeItem => {
processStore.nodeMap.set(nodeItem.id, nodeItem)
processStore.parentMap.set(nodeItem.parentId, nodeItem)
})
@@ -57,15 +58,15 @@ const initMapping = (node) => {
const initHeaderBgc = (node) => {
if (node.props && props.mode === 'preview') {
let headerBgc = '#ff943e'
- if (processStore.runningList.value.includes(node.id)) {
+ if (processStore.runningList.value?.includes(node.id)) {
headerBgc = '#1e90ff'
- } else if (processStore.endList.value.includes(node.id)) {
+ } else if (processStore.endList.value?.includes(node.id)) {
headerBgc = '#20b2aa'
- } else if (processStore.noTakeList.value.includes(node.id)) {
+ } else if (processStore.noTakeList.value?.includes(node.id)) {
headerBgc = '#909399'
- } else if (processStore.refuseList.value.includes(node.id)) {
+ } else if (processStore.refuseList.value?.includes(node.id)) {
headerBgc = '#f56c6c'
- } else if (processStore.passList.value.includes(node.id)) {
+ } else if (processStore.passList.value?.includes(node.id)) {
headerBgc = '#ff943e'
}
node.props.headerBgc = headerBgc
@@ -309,9 +310,9 @@ const insertNode = debounce((type, parentNode) => {
case 'DELAY':
insertDelayNode(children);
break;
- case 'TRIGGER':
- insertTriggerNode(children);
- break;
+ // case 'TRIGGER':
+ // insertTriggerNode(children);
+ // break;
case 'CONDITIONS':
insertConditionsNode(children);
break;
diff --git a/src/views/workflow/process/common/AvatarEllipsis.vue b/src/views/workflow/process/common/AvatarEllipsis.vue
index 883f400..1fec22c 100644
--- a/src/views/workflow/process/common/AvatarEllipsis.vue
+++ b/src/views/workflow/process/common/AvatarEllipsis.vue
@@ -5,8 +5,10 @@
-
diff --git a/src/views/workflow/process/common/InsertButton.vue b/src/views/workflow/process/common/InsertButton.vue
index b9a297c..fbaa62a 100644
--- a/src/views/workflow/process/common/InsertButton.vue
+++ b/src/views/workflow/process/common/InsertButton.vue
@@ -31,12 +31,12 @@
延迟等待
-