123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232 |
- <template>
- <!-- 项目结项 -->
- <div class="projectSettlement">
- <div class="pAHeader">
- <div class="pAHeader1">项目结项</div>
- </div>
- <hr>
- <!-- 搜索栏开始 -->
- <div class="selects">
- <div class="selectsBlock">
- <span class="selectLabel">项目筛选</span>
- <el-select v-model="pavalues.value" placeholder="我的项目">
- <el-option
- v-for="item in options"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="selectsBlock">
- <span class="selectLabel">部门</span>
- <el-select v-model="pavalues.value1" placeholder="请选择">
- <el-option
- v-for="item in options1"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="selectsBlock">
- <span class="selectLabel">分类</span>
- <el-select v-model="pavalues.value2" placeholder="请选择">
- <el-option
- v-for="item in options2"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="selectsBlock">
- <span class="selectLabel">负责人</span>
- <el-select v-model="pavalues.value3" placeholder="请选择">
- <el-option
- v-for="item in options3"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="selectsBlock">
- <span class="selectLabel">状态</span>
- <el-select v-model="pavalues.value4" placeholder="请选择">
- <el-option
- v-for="item in options4"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- <!-- 搜索栏结束 -->
- <!-- 表格开始 -->
- <div>
- <el-table
- ref="multipleTable"
- :data="tableData"
- tooltip-effect="dark"
- class="fontSize"
- :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
- @selection-change="handleSelectionChange">
- <el-table-column
- type="selection"
- >
- </el-table-column>
- <el-table-column
- prop="projectName"
- label="项目名称"
- align="center"
- min-width="10%">
- </el-table-column>
- <el-table-column
- prop="projectPerson"
- align="center"
- label="项目负责人"
- min-width="10%">
- </el-table-column>
- <el-table-column
- prop="dept"
- label="所在部门"
- align="center"
- min-width="10%">
- </el-table-column>
- <el-table-column
- prop="budget"
- label="预算总经费(万)"
- align="center"
- min-width="10%">
- </el-table-column>
- <el-table-column
- prop="date"
- label="时间"
- align="center"
- min-width="10%">
- </el-table-column>
- <el-table-column
- prop="tel"
- label="联系电话"
- align="center"
- min-width="10%">
- </el-table-column>
- <el-table-column
- prop="state"
- label="状态"
- align="center"
- min-width="8%">
- </el-table-column>
- <el-table-column
- prop="operation"
- label="操作"
- width="300"
- align="center"
- >
- <template #default="scope">
- <div class="operations">
- <el-button type="primary" class="bt1" size="mini" @click="details">详情</el-button>
- <el-button type="primary" class="bt1" size="mini">审核</el-button>
- <el-button type="primary" class="bt1" size="mini" @click="edit(scope.row.id,scope.row.status)" style="background: #477edd">成果查看</el-button>
- </div>
- </template>
- </el-table-column>
- </el-table>
- </div>
- <!-- 表格结束 -->
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- options:[],
- options1:[],
- options2:[],
- options3:[],
- options4:[],
- tableData:[{
- projectName:'陆地游泳辅助器',
- projectPerson:'王多鱼',
- dept:'西虹市',
- budget:'200万',
- date:'2022年-11月-12日',
- tel:'16625153432',
- state:'已审核',
- },
- {
- projectName:'北极运冰',
- projectPerson:'王多鱼',
- dept:'西虹市',
- budget:'500万',
- date:'2022年-11月-12日',
- tel:'16625153432',
- state:'未审核',
- }
- ],
- pavalues:{
- value:'',
- value1:'',
- value2:'',
- value3:'',
- value4:'',
- }
- }
- },
- methods:{
- edit(){
- },
- details(){
- this.$router.push('/projectSettlement1')
- },
- handleSelectionChange(val) {
- this.multipleSelection = val;
- }
- }
- }
- </script>
- <style lang="less">
- .projectSettlement{
- .selects{
- width: 100%;
- margin-top: 20px;
- display: flex;
- flex-wrap: wrap;
- margin-bottom: 20px;
- .selectsBlock{
- display: flex;
- margin-right: 30px;
- margin-bottom: 20px;
- }
- .selectLabel{
- width: 64px;
- font-size: 16px;
- margin-right: 10px;
- display: inline-block;
- font-weight:bolder;
- text-align: justify;
- text-justify:distribute-all-lines;
- text-align-last: justify;
- transform: translate(0,22%);
- }
- }
- label{
- color: #000;
- }
- }
- </style>
|