commit
b2a4157285
@ -1,7 +1,6 @@
|
|||||||
## 平台简介
|
## 平台简介
|
||||||
|
|
||||||
- 本仓库为前端技术栈 [Vue3](https://v3.cn.vuejs.org) + [TS](https://www.typescriptlang.org/) + [Element Plus](https://element-plus.org/zh-CN) + [Vite](https://cn.vitejs.dev) 版本。
|
- 本仓库为前端技术栈 [Vue3](https://v3.cn.vuejs.org) + [TS](https://www.typescriptlang.org/) + [Element Plus](https://element-plus.org/zh-CN) + [Vite](https://cn.vitejs.dev) 版本。
|
||||||
- 成员项目: 基于 vben(ant-design-vue) 的前端项目 [ruoyi-plus-vben](https://gitee.com/dapppp/ruoyi-plus-vben)
|
|
||||||
- 成员项目: 基于 vben5(ant-design-vue) 的前端项目 [ruoyi-plus-vben5](https://gitee.com/dapppp/ruoyi-plus-vben5)
|
- 成员项目: 基于 vben5(ant-design-vue) 的前端项目 [ruoyi-plus-vben5](https://gitee.com/dapppp/ruoyi-plus-vben5)
|
||||||
- 配套后端代码仓库地址
|
- 配套后端代码仓库地址
|
||||||
- [RuoYi-Vue-Plus 5.X(注意版本号)](https://gitee.com/dromara/RuoYi-Vue-Plus)
|
- [RuoYi-Vue-Plus 5.X(注意版本号)](https://gitee.com/dromara/RuoYi-Vue-Plus)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/tsconfig",
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
"name": "ruoyi-vue-plus",
|
"name": "ruoyi-vue-plus",
|
||||||
"version": "5.3.0-BETA",
|
"version": "5.3.0",
|
||||||
"description": "RuoYi-Vue-Plus多租户管理系统",
|
"description": "RuoYi-Vue-Plus多租户管理系统",
|
||||||
"author": "LionLi",
|
"author": "LionLi",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -71,6 +71,9 @@
|
|||||||
<el-checkbox label="3" name="type">短信</el-checkbox>
|
<el-checkbox label="3" name="type">短信</el-checkbox>
|
||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item v-if="task.flowStatus === 'waiting'" label="附件">
|
||||||
|
<fileUpload v-model="backForm.fileId" :file-type="['png', 'jpg', 'jpeg', 'doc', 'docx', 'xlsx', 'xls', 'ppt', 'txt', 'pdf']" :file-size="20" />
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="审批意见">
|
<el-form-item label="审批意见">
|
||||||
<el-input v-model="backForm.message" type="textarea" resize="none" />
|
<el-input v-model="backForm.message" type="textarea" resize="none" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
* 部署方式 Docker 容器编排 一键部署业务集群<br />
|
* 部署方式 Docker 容器编排 一键部署业务集群<br />
|
||||||
* 国际化 SpringMessage Spring标准国际化方案<br />
|
* 国际化 SpringMessage Spring标准国际化方案<br />
|
||||||
</p>
|
</p>
|
||||||
<p><b>当前版本:</b> <span>v5.3.0-BETA</span></p>
|
<p><b>当前版本:</b> <span>v5.3.0</span></p>
|
||||||
<p>
|
<p>
|
||||||
<el-tag type="danger">¥免费开源</el-tag>
|
<el-tag type="danger">¥免费开源</el-tag>
|
||||||
</p>
|
</p>
|
||||||
@ -77,7 +77,7 @@
|
|||||||
* 分布式监控 Prometheus、Grafana 全方位性能监控<br />
|
* 分布式监控 Prometheus、Grafana 全方位性能监控<br />
|
||||||
* 其余与 Vue 版本一致<br />
|
* 其余与 Vue 版本一致<br />
|
||||||
</p>
|
</p>
|
||||||
<p><b>当前版本:</b> <span>v2.2.2</span></p>
|
<p><b>当前版本:</b> <span>v2.3.0</span></p>
|
||||||
<p>
|
<p>
|
||||||
<el-tag type="danger">¥免费开源</el-tag>
|
<el-tag type="danger">¥免费开源</el-tag>
|
||||||
</p>
|
</p>
|
||||||
|
@ -242,7 +242,7 @@ const submitFlow = async () => {
|
|||||||
dialogVisible.visible = false;
|
dialogVisible.visible = false;
|
||||||
};
|
};
|
||||||
//提交申请
|
//提交申请
|
||||||
const handleStartWorkFlow = async (data: LeaveVO) => {
|
const handleStartWorkFlow = async (data: LeaveForm) => {
|
||||||
try {
|
try {
|
||||||
submitFormData.value.flowCode = flowCode.value;
|
submitFormData.value.flowCode = flowCode.value;
|
||||||
submitFormData.value.businessId = data.id;
|
submitFormData.value.businessId = data.id;
|
||||||
|
@ -29,7 +29,7 @@ const open = async (definitionId, disabled) => {
|
|||||||
};
|
};
|
||||||
/** 关闭按钮 */
|
/** 关闭按钮 */
|
||||||
function close() {
|
function close() {
|
||||||
const obj = { path: '/workflow/processDefinition' };
|
const obj = { path: '/workflow/processDefinition', query: {activeName: proxy.$route.query.activeName}};
|
||||||
proxy.$tab.closeOpenPage(obj);
|
proxy.$tab.closeOpenPage(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button type="warning" icon="Download" :disabled="single" @click="handleExportDef">导出</el-button>
|
<el-button type="warning" icon="Download" :disabled="single" @click="handleExportDef">导出</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar v-model:show-search="showSearch" @query-table="getList"></right-toolbar>
|
<right-toolbar v-model:show-search="showSearch" @query-table="handleQuery"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
|
<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
|
||||||
@ -116,7 +116,7 @@
|
|||||||
v-model:page="queryParams.pageNum"
|
v-model:page="queryParams.pageNum"
|
||||||
v-model:limit="queryParams.pageSize"
|
v-model:limit="queryParams.pageSize"
|
||||||
:total="total"
|
:total="total"
|
||||||
@pagination="handleQuery"
|
@pagination="getPageList"
|
||||||
/>
|
/>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</el-card>
|
</el-card>
|
||||||
@ -261,7 +261,7 @@ const form = ref<FlowDefinitionForm>({
|
|||||||
formPath: ''
|
formPath: ''
|
||||||
});
|
});
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
handleQuery();
|
getPageList();
|
||||||
getTreeselect();
|
getTreeselect();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -323,6 +323,18 @@ const handleSelectionChange = (selection: any) => {
|
|||||||
multiple.value = !selection.length;
|
multiple.value = !selection.length;
|
||||||
};
|
};
|
||||||
//分页
|
//分页
|
||||||
|
const getPageList = async () => {
|
||||||
|
console.log(proxy.$route.query.activeName)
|
||||||
|
if (proxy.$route.query.activeName) {
|
||||||
|
activeName.value = proxy.$route.query.activeName;
|
||||||
|
}
|
||||||
|
if (activeName.value === '0') {
|
||||||
|
getList();
|
||||||
|
} else {
|
||||||
|
getUnPublishList();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
//分页
|
||||||
const getList = async () => {
|
const getList = async () => {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
const resp = await listDefinition(queryParams.value);
|
const resp = await listDefinition(queryParams.value);
|
||||||
@ -422,7 +434,8 @@ const design = async (row: FlowDefinitionVo) => {
|
|||||||
path: `/workflow/design/index`,
|
path: `/workflow/design/index`,
|
||||||
query: {
|
query: {
|
||||||
definitionId: row.id,
|
definitionId: row.id,
|
||||||
disabled: false
|
disabled: false,
|
||||||
|
activeName: activeName.value
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@ -436,7 +449,8 @@ const designView = async (row: FlowDefinitionVo) => {
|
|||||||
path: `/workflow/design/index`,
|
path: `/workflow/design/index`,
|
||||||
query: {
|
query: {
|
||||||
definitionId: row.id,
|
definitionId: row.id,
|
||||||
disabled: true
|
disabled: true,
|
||||||
|
activeName: activeName.value
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -168,6 +168,7 @@ const resetQuery = () => {
|
|||||||
queryParams.value.pageSize = 10;
|
queryParams.value.pageSize = 10;
|
||||||
queryParams.value.createByIds = [];
|
queryParams.value.createByIds = [];
|
||||||
userSelectCount.value = 0;
|
userSelectCount.value = 0;
|
||||||
|
selectUserIds.value = [];
|
||||||
handleQuery();
|
handleQuery();
|
||||||
};
|
};
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
|
@ -133,6 +133,7 @@ const resetQuery = () => {
|
|||||||
queryParams.value.pageSize = 10;
|
queryParams.value.pageSize = 10;
|
||||||
queryParams.value.createByIds = [];
|
queryParams.value.createByIds = [];
|
||||||
userSelectCount.value = 0;
|
userSelectCount.value = 0;
|
||||||
|
selectUserIds.value = [];
|
||||||
handleQuery();
|
handleQuery();
|
||||||
};
|
};
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
|
@ -134,6 +134,7 @@ const resetQuery = () => {
|
|||||||
queryParams.value.pageSize = 10;
|
queryParams.value.pageSize = 10;
|
||||||
queryParams.value.createByIds = [];
|
queryParams.value.createByIds = [];
|
||||||
userSelectCount.value = 0;
|
userSelectCount.value = 0;
|
||||||
|
selectUserIds.value = [];
|
||||||
handleQuery();
|
handleQuery();
|
||||||
};
|
};
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
|
Loading…
x
Reference in New Issue
Block a user