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