Compare commits
4 Commits
a790793c5f
...
fcc36bf29b
| Author | SHA1 | Date |
|---|---|---|
|
|
fcc36bf29b | |
|
|
966603c422 | |
|
|
9797b51ded | |
|
|
e8855d676f |
|
|
@ -10,6 +10,13 @@ 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: "工作流分类",
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
<div class="statNumber">{{ ownerCount }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quickActionsCard">
|
||||
<div style="display: flex;gap: 15px;">
|
||||
<div class="quickActionsCard" style="flex:3;">
|
||||
<div class="quickActionsTitle">发起流程</div>
|
||||
<div class="quickActionsGrid">
|
||||
<div class="actionItem" v-for="group in wfOptions" :key="group.category" @click="startGroup(group)">
|
||||
|
|
@ -39,6 +40,16 @@
|
|||
<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">
|
||||
|
|
@ -153,7 +164,7 @@ const handleSuccess = () => {
|
|||
background: linear-gradient(135deg,
|
||||
rgba(58, 149, 255, 0.95) 0%,
|
||||
rgba(27, 92, 255, 0.95) 100%);
|
||||
border-radius: 12px;
|
||||
border-radius: 2px;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
|
|
@ -368,7 +379,7 @@ const handleSuccess = () => {
|
|||
.statCard {
|
||||
flex: 1;
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
border-radius: 2px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
text-align: center;
|
||||
|
|
@ -390,9 +401,10 @@ const handleSuccess = () => {
|
|||
/* 快速操作卡片样式 */
|
||||
.quickActionsCard {
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
border-radius: 2px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
flex: 2;
|
||||
}
|
||||
|
||||
.quickActionsTitle {
|
||||
|
|
@ -405,7 +417,7 @@ const handleSuccess = () => {
|
|||
|
||||
.quickActionsGrid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(8, 1fr);
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -86,10 +86,6 @@ module.exports = defineConfig({
|
|||
name: "babylonjs",
|
||||
test: /[\\/]node_modules[\\/]babylon[\\/]/
|
||||
},
|
||||
cesium: {
|
||||
name: "cesium",
|
||||
test: /[\\/]node_modules[\\/]cesium[\\/]/
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue