feat: 审批管理调整位置
This commit is contained in:
parent
1a0b85b9a1
commit
c95c247cfd
|
@ -168,7 +168,7 @@ export default {
|
|||
},
|
||||
dutyAgg: {
|
||||
url: `${config.API_URL}/wf/ticket/duty_agg/`,
|
||||
name: "工单待办聚合",
|
||||
name: "待办审批聚合",
|
||||
req: async function(data){
|
||||
return await http.get(this.url, data);
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
</el-row>
|
||||
<el-row :gutter="6">
|
||||
<el-col :md="8" :sm="24">
|
||||
<el-card shadow="hover" header="工单待办" >
|
||||
<el-card shadow="hover" header="待办审批" >
|
||||
<div class="card-body opl_card_body" v-if="dutyAgg.length>0" :style="{height:divHeight,}">
|
||||
<div v-for="item in dutyAgg" :key="item.workflow" class="oplItem">
|
||||
<el-badge :value="item.count" class="item workItemImg">
|
||||
|
@ -103,7 +103,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="card-body" v-else :style="{height:divHeight}">
|
||||
<div class="noOpl">暂无待办工单</div>
|
||||
<div class="noOpl">暂无待办审批</div>
|
||||
</div>
|
||||
</el-card>
|
||||
</el-col>
|
||||
|
@ -246,7 +246,7 @@ export default {
|
|||
query: {},
|
||||
});
|
||||
},
|
||||
//工单待办
|
||||
//待办审批
|
||||
// async getdutyAgg() {
|
||||
// let res = await this.$API.wf.ticket.dutyAgg.req({ page: 0 });
|
||||
// this.dutyAgg = res.details;
|
||||
|
@ -385,7 +385,7 @@ export default {
|
|||
query: {},
|
||||
});
|
||||
},
|
||||
//工单待办
|
||||
//待办审批
|
||||
async getdutyAgg() {
|
||||
let res = await this.$API.wf.ticket.dutyAgg.req({ page: 0 });
|
||||
this.dutyAgg = res.details;
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
<el-input v-model="addForm.default_value" placeholder="默认值"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="模板">
|
||||
<el-input v-model="addForm.field_template" placeholder="你有一个待办工单:{title}"/>
|
||||
<el-input v-model="addForm.field_template" placeholder="你有一个待办审批:{title}"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="是否隐藏">
|
||||
<el-radio-group v-model="addForm.is_hidden">
|
||||
|
|
Loading…
Reference in New Issue