测试:前台页面
parent
32cf3113de
commit
6cb22deda4
|
@ -35,16 +35,6 @@
|
|||
<!-- >删除-->
|
||||
<!-- </el-button>-->
|
||||
|
||||
<el-button
|
||||
v-hasPermi="['tool:gen:import']"
|
||||
icon="el-icon-upload"
|
||||
plain
|
||||
size="mini"
|
||||
type="info"
|
||||
@click="findSelectSourceExport"
|
||||
>导出
|
||||
</el-button>
|
||||
|
||||
|
||||
<el-button
|
||||
icon="el-icon-delete"
|
||||
|
@ -60,19 +50,16 @@
|
|||
|
||||
<el-form :model="sourceAddReq">
|
||||
<el-form-item label="id">
|
||||
<el-input v-model="sourceAddReq.dataResourceName"></el-input>
|
||||
<el-input v-model="sourceAddReq.id"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="任务名称">
|
||||
<el-input v-model="sourceAddReq.dataSourcesSystemName"></el-input>
|
||||
<el-input v-model="sourceAddReq.name"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="任务执行状态">
|
||||
<el-input v-model="sourceAddReq.host"></el-input>
|
||||
<el-input v-model="sourceAddReq.weigh"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="任务完成度">
|
||||
<el-input v-model="sourceAddReq.port"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="操作">
|
||||
<el-input v-model="sourceAddReq.databaseType"></el-input>
|
||||
<el-input v-model="sourceAddReq.status"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-dialog>
|
||||
|
@ -83,11 +70,14 @@
|
|||
|
||||
|
||||
<el-table
|
||||
:data="source"
|
||||
:data="taskList"
|
||||
style="width: 100%"
|
||||
|
||||
@selection-change="handleSelectionChange">
|
||||
|
||||
|
||||
|
||||
|
||||
<el-table-column
|
||||
type="selection"
|
||||
width="55">
|
||||
|
@ -96,27 +86,80 @@
|
|||
|
||||
<el-table-column
|
||||
label="id"
|
||||
prop="dataResourceName">
|
||||
width="180">
|
||||
<template slot-scope="scope">
|
||||
<i class="el-icon-time"></i>
|
||||
<span style="margin-left: 10px">{{ scope.row.id }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
label="任务名称"
|
||||
prop="dataSourcesSystemName">
|
||||
width="180">
|
||||
<template slot-scope="scope">
|
||||
<i class="el-icon-time"></i>
|
||||
<span style="margin-left: 10px">{{ scope.row.name }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
label="任务权重级别"
|
||||
prop="host">
|
||||
width="180">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px" v-if="scope.row.weigh ==1 ">紧急</span>
|
||||
<span style="margin-left: 10px" v-if="scope.row.weigh ==2 ">底</span>
|
||||
<span style="margin-left: 10px" v-if="scope.row.weigh ==3 ">中</span>
|
||||
<span style="margin-left: 10px" v-if="scope.row.weigh ==4 ">高</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
label="人物执行状态"
|
||||
prop="port">
|
||||
label="任务执行状态"
|
||||
width="180">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px" v-if="scope.row.status ==0 ">待执行</span>
|
||||
<span style="margin-left: 10px" v-if="scope.row.status ==1 ">正在执行</span>
|
||||
<span style="margin-left: 10px" v-if="scope.row.status ==2 ">执行完毕</span>
|
||||
<span style="margin-left: 10px">{{ scope.row.status }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
label="任务完成度"
|
||||
prop="databaseType">
|
||||
width="180">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px" v-if="scope.row.status ==0 ">待执行</span>
|
||||
<span style="margin-left: 10px" v-if="scope.row.status ==1 ">正在执行</span>
|
||||
<span style="margin-left: 10px" v-if="scope.row.status ==2 ">执行完毕</span>
|
||||
<span style="margin-left: 10px">{{ scope.row.status }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
|
||||
<el-table-column
|
||||
label="id"
|
||||
prop="id">
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
label="任务名称"
|
||||
prop="name">
|
||||
</el-table-column>
|
||||
|
||||
<el-weigh-column
|
||||
label="任务权重级别"
|
||||
prop="total">
|
||||
</el-weigh-column>
|
||||
|
||||
<el-table-column
|
||||
label="人物执行状态"
|
||||
prop="status">
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
label="任务完成度"
|
||||
prop="status">
|
||||
</el-table-column>
|
||||
|
||||
|
||||
|
@ -195,6 +238,11 @@ export default {
|
|||
this.taskList=res.data.rows;
|
||||
})
|
||||
},
|
||||
|
||||
insertAdd(){
|
||||
|
||||
},
|
||||
|
||||
handleSelectionChange(row){
|
||||
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue