应用使用能力列表

This commit is contained in:
kongjun 2022-06-23 18:06:33 +08:00
parent a33445afe5
commit a7e58d18c8
1 changed files with 23 additions and 23 deletions

View File

@ -11,7 +11,7 @@
</el-form-item>
<el-form-item label="应用名称:">
<el-input
v-model="queryData.applyName"
v-model="queryData.resourceName"
placeholder="请输入应用名称"
clearable
></el-input>
@ -29,26 +29,26 @@
align="center"
></el-table-column>
<el-table-column
prop="applyName"
prop="resourceName"
label="应用名称"
header-align="center"
align="center"
>
</el-table-column>
<el-table-column
prop="useAbilityName"
prop="abilityName"
label="使用能力名称"
header-align="center"
align="center"
></el-table-column>
<el-table-column
prop="capabilityType"
prop="abilityType"
label="能力类型"
header-align="center"
align="center"
></el-table-column>
<el-table-column
prop="viewsNumber"
prop="browseNum"
label="浏览次数"
header-align="center"
align="center"
@ -73,7 +73,7 @@
</template>
<script>
import mixinViewModule from "@/mixins/view-module";
//import mixinViewModule from "@/mixins/view-module";
// import AddOrUpdate from './order-add-or-update'
import { addDynamicRoute } from "@/router";
export default {
@ -82,45 +82,45 @@ export default {
return {
queryData: {
projectName: "",
applyName: "",
resourceName: "",
pageIndex: 1,
pageSize: 10,
total: 0,
},
dataList: [
/* dataList: [
{
projectName: "人员聚集算法任务",
applyName: "已创建",
useAbilityName: "人员聚集",
capabilityType: "视频类",
viewsNumber: "100",
projectName: "",
resourceName: "",
abilityName: "",
abilityType: "",
browseNum: "",
},
],
], */
};
},
components: {
// AddOrUpdate
},
mounted() {
//this.getTableData();
this.getTableData();
},
methods: {
getTableData() {
//
this.$http
.get("/taskList/tasklistcontroller/selectTaskList", {
.get("/projectuse/page", {
params: {
page: this.queryData.pageIndex,
pageSize: this.queryData.pageSize,
limit: this.queryData.pageSize,
projectName: this.queryData.projectName,
applyName: this.queryData.applyName,
resourceName: this.queryData.applyName,
},
})
.then((res) => {
console.log(res);
if (res.status === 200) {
this.dataList = res.data.taskEntityList;
this.queryData.total = parseInt(res.data.num);
console.log("uuurrrr", res);
if (res.data && res.data.list) {
this.dataList = res.data.list;
this.queryData.total = parseInt(res.data.total);
}
})
.catch(() => {});
@ -140,7 +140,7 @@ export default {
//
resetTableData() {
this.queryData.projectName = "";
this.queryData.applyName = "";
this.queryData.resourceName = "";
this.getTableData();
},