Compare commits

..

No commits in common. "fcc36bf29be9b47d80f3e1122916022c6dd2455e" and "a790793c5f27c8438ab5e4e4712249bf5a3c76dc" have entirely different histories.

3 changed files with 9 additions and 24 deletions

View File

@ -10,13 +10,6 @@ export default {
return await http.get(this.url, data);
}
},
ticketCount: {
url: `${config.API_URL}/wf/workflow/ticket_count/`,
name: "工单统计",
req: async function(data){
return await http.get(this.url, data);
}
},
cates: {
url: `${config.API_URL}/wf/workflow/cates/`,
name: "工作流分类",

View File

@ -31,8 +31,7 @@
<div class="statNumber">{{ ownerCount }}</div>
</div>
</div>
<div style="display: flex;gap: 15px;">
<div class="quickActionsCard" style="flex:3;">
<div class="quickActionsCard">
<div class="quickActionsTitle">发起流程</div>
<div class="quickActionsGrid">
<div class="actionItem" v-for="group in wfOptions" :key="group.category" @click="startGroup(group)">
@ -40,16 +39,6 @@
<div class="actionLabel">{{ group.category }}</div>
</div>
</div>
</div>
<div class="quickActionsCard">
<div class="quickActionsTitle">流程统计</div>
<scTable :apiObj="API.wf.workflow.ticketCount" hidePagination hideDo :height="300" row-key="id">
<el-table-column prop="workflow_cate" label="流程分类"></el-table-column>
<el-table-column prop="workflow_name" label="流程名称"></el-table-column>
<el-table-column prop="count_processing" width="180" label="进行中"></el-table-column>
<el-table-column prop="count_done" width="180" label="已完成"></el-table-column>
</scTable>
</div>
</div>
</div>
<el-dialog v-model="dialogVisible" :title="dialogTitle">
@ -164,7 +153,7 @@ const handleSuccess = () => {
background: linear-gradient(135deg,
rgba(58, 149, 255, 0.95) 0%,
rgba(27, 92, 255, 0.95) 100%);
border-radius: 2px;
border-radius: 12px;
padding: 20px;
box-sizing: border-box;
display: flex;
@ -379,7 +368,7 @@ const handleSuccess = () => {
.statCard {
flex: 1;
background: white;
border-radius: 2px;
border-radius: 12px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
text-align: center;
@ -401,10 +390,9 @@ const handleSuccess = () => {
/* 快速操作卡片样式 */
.quickActionsCard {
background: white;
border-radius: 2px;
border-radius: 12px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
flex: 2;
}
.quickActionsTitle {
@ -417,7 +405,7 @@ const handleSuccess = () => {
.quickActionsGrid {
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-template-columns: repeat(8, 1fr);
gap: 6px;
}

View File

@ -86,6 +86,10 @@ module.exports = defineConfig({
name: "babylonjs",
test: /[\\/]node_modules[\\/]babylon[\\/]/
},
cesium: {
name: "cesium",
test: /[\\/]node_modules[\\/]cesium[\\/]/
}
}
}
},