Commit 816ba099 authored by kaitly205422@163.com's avatar kaitly205422@163.com

缺少文件

parent 8a9e2d81
......@@ -2,13 +2,8 @@
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
<el-form-item label="项目名称" prop="projectName">
<el-input
v-model="queryParams.projectName"
placeholder="请输入项目名称"
clearable
style="width: 240px"
@keyup.enter.native="handleQuery"
/>
<el-input v-model="queryParams.projectName" placeholder="请输入项目名称1" clearable style="width: 240px"
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
......@@ -17,30 +12,25 @@
</el-form>
<div v-for="(item, index) in projectList" :key="index" class="projectItem" @click="projectDetail(item)">
<div class="left">
<p>{{item.projectName}}</p>
<p>项目类型:{{item.projectType}} | 项目地址:{{item.projectAddress}}</p>
<p>{{ item.projectName }}</p>
<p>项目类型:{{ item.projectType }} | 项目地址:{{ item.projectAddress }}</p>
</div>
<img src="../../../assets/images/work.svg" alt="">
</div>
<pagination
v-show="total > 0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
@pagination="getList" />
</div>
</template>
<script type="text/ecmascript-6">
import { listCurrentProject } from '@/api/risk/currentProject'
export default {
export default {
name: 'currentProject',
data() {
return {
// 遮罩层
loading: true,
projectList:[],
projectList: [],
// 总条数
total: 0,
// 查询参数
......@@ -51,7 +41,7 @@ import { listCurrentProject } from '@/api/risk/currentProject'
},
}
},
created(){
created() {
this.getList();
},
mounted() {
......@@ -77,7 +67,7 @@ import { listCurrentProject } from '@/api/risk/currentProject'
this.resetForm("queryForm");
this.handleQuery();
},
projectDetail(val){
projectDetail(val) {
this.$router.push("/risk/currentProject/projectPost/index/" + val.projectId)
}
},
......@@ -85,7 +75,7 @@ import { listCurrentProject } from '@/api/risk/currentProject'
</script>
<style scoped lang='scss'>
.projectItem{
.projectItem {
width: 100%;
padding: 25px 120px 25px 30px;
margin-bottom: 25px;
......@@ -96,13 +86,15 @@ import { listCurrentProject } from '@/api/risk/currentProject'
display: flex;
align-items: center;
justify-content: space-between;
.left{
.left {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
:first-child{
color: #3277f5 ;
:first-child {
color: #3277f5;
font-size: 18px;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment