测试:前台页面

wangxinyuan
陈思豪 2024-08-23 00:53:14 +08:00
parent 32cf3113de
commit 6cb22deda4
1 changed files with 72 additions and 24 deletions

View File

@ -35,16 +35,6 @@
<!-- >删除--> <!-- >删除-->
<!-- </el-button>--> <!-- </el-button>-->
<el-button
v-hasPermi="['tool:gen:import']"
icon="el-icon-upload"
plain
size="mini"
type="info"
@click="findSelectSourceExport"
>导出
</el-button>
<el-button <el-button
icon="el-icon-delete" icon="el-icon-delete"
@ -60,19 +50,16 @@
<el-form :model="sourceAddReq"> <el-form :model="sourceAddReq">
<el-form-item label="id"> <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>
<el-form-item label="任务名称"> <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>
<el-form-item label="任务执行状态"> <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>
<el-form-item label="任务完成度"> <el-form-item label="任务完成度">
<el-input v-model="sourceAddReq.port"></el-input> <el-input v-model="sourceAddReq.status"></el-input>
</el-form-item>
<el-form-item label="操作">
<el-input v-model="sourceAddReq.databaseType"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-dialog> </el-dialog>
@ -83,11 +70,14 @@
<el-table <el-table
:data="source" :data="taskList"
style="width: 100%" style="width: 100%"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column <el-table-column
type="selection" type="selection"
width="55"> width="55">
@ -96,27 +86,80 @@
<el-table-column <el-table-column
label="id" 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>
<el-table-column <el-table-column
label="任务名称" 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>
<el-table-column <el-table-column
label="任务权重级别" 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>
<el-table-column <el-table-column
label="人物执行状态" label="任务执行状态"
prop="port"> 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>
<el-table-column <el-table-column
label="任务完成度" 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> </el-table-column>
@ -195,6 +238,11 @@ export default {
this.taskList=res.data.rows; this.taskList=res.data.rows;
}) })
}, },
insertAdd(){
},
handleSelectionChange(row){ handleSelectionChange(row){
}, },