Compare commits
No commits in common. "fcc36bf29be9b47d80f3e1122916022c6dd2455e" and "a790793c5f27c8438ab5e4e4712249bf5a3c76dc" have entirely different histories.
fcc36bf29b
...
a790793c5f
|
|
@ -10,13 +10,6 @@ export default {
|
||||||
return await http.get(this.url, data);
|
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: {
|
cates: {
|
||||||
url: `${config.API_URL}/wf/workflow/cates/`,
|
url: `${config.API_URL}/wf/workflow/cates/`,
|
||||||
name: "工作流分类",
|
name: "工作流分类",
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,7 @@
|
||||||
<div class="statNumber">{{ ownerCount }}</div>
|
<div class="statNumber">{{ ownerCount }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex;gap: 15px;">
|
<div class="quickActionsCard">
|
||||||
<div class="quickActionsCard" style="flex:3;">
|
|
||||||
<div class="quickActionsTitle">发起流程</div>
|
<div class="quickActionsTitle">发起流程</div>
|
||||||
<div class="quickActionsGrid">
|
<div class="quickActionsGrid">
|
||||||
<div class="actionItem" v-for="group in wfOptions" :key="group.category" @click="startGroup(group)">
|
<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 class="actionLabel">{{ group.category }}</div>
|
||||||
</div>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
<el-dialog v-model="dialogVisible" :title="dialogTitle">
|
<el-dialog v-model="dialogVisible" :title="dialogTitle">
|
||||||
|
|
@ -164,7 +153,7 @@ const handleSuccess = () => {
|
||||||
background: linear-gradient(135deg,
|
background: linear-gradient(135deg,
|
||||||
rgba(58, 149, 255, 0.95) 0%,
|
rgba(58, 149, 255, 0.95) 0%,
|
||||||
rgba(27, 92, 255, 0.95) 100%);
|
rgba(27, 92, 255, 0.95) 100%);
|
||||||
border-radius: 2px;
|
border-radius: 12px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -379,7 +368,7 @@ const handleSuccess = () => {
|
||||||
.statCard {
|
.statCard {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 2px;
|
border-radius: 12px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -401,10 +390,9 @@ const handleSuccess = () => {
|
||||||
/* 快速操作卡片样式 */
|
/* 快速操作卡片样式 */
|
||||||
.quickActionsCard {
|
.quickActionsCard {
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 2px;
|
border-radius: 12px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||||
flex: 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.quickActionsTitle {
|
.quickActionsTitle {
|
||||||
|
|
@ -417,7 +405,7 @@ const handleSuccess = () => {
|
||||||
|
|
||||||
.quickActionsGrid {
|
.quickActionsGrid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(6, 1fr);
|
grid-template-columns: repeat(8, 1fr);
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,10 @@ module.exports = defineConfig({
|
||||||
name: "babylonjs",
|
name: "babylonjs",
|
||||||
test: /[\\/]node_modules[\\/]babylon[\\/]/
|
test: /[\\/]node_modules[\\/]babylon[\\/]/
|
||||||
},
|
},
|
||||||
|
cesium: {
|
||||||
|
name: "cesium",
|
||||||
|
test: /[\\/]node_modules[\\/]cesium[\\/]/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue