问题清单修改
This commit is contained in:
parent
3eb2fe7b30
commit
20c22b65e8
|
|
@ -63,6 +63,9 @@
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
>
|
>
|
||||||
<el-table-column label="序号" type="index" width="100" align="center">
|
<el-table-column label="序号" type="index" width="100" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="单位类型名称"
|
label="单位类型名称"
|
||||||
|
|
@ -129,13 +132,13 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<!-- <pagination
|
<pagination
|
||||||
v-show="total > 0"
|
v-show="total > 0"
|
||||||
:total="total"
|
:total="total"
|
||||||
:page.sync="queryParams.pageNum"
|
:page.sync="queryParams.pageNum"
|
||||||
:limit.sync="queryParams.pageSize"
|
:limit.sync="queryParams.pageSize"
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/> -->
|
/>
|
||||||
|
|
||||||
<!-- 添加或修改参数配置对话框 -->
|
<!-- 添加或修改参数配置对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||||
|
|
@ -300,7 +303,7 @@ export default {
|
||||||
// 查询参数
|
// 查询参数
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 1000,
|
pageSize: 10,
|
||||||
dictType: "bm_unit_type",
|
dictType: "bm_unit_type",
|
||||||
dictLabel: undefined,
|
dictLabel: undefined,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@
|
||||||
:options="unitList"
|
:options="unitList"
|
||||||
:props="selectTreeProps"
|
:props="selectTreeProps"
|
||||||
filterable
|
filterable
|
||||||
clearable
|
clearable
|
||||||
collapse-tags
|
collapse-tags
|
||||||
@change="unitChange"
|
@change="unitChange"
|
||||||
popper-class="popper-select"
|
popper-class="popper-select"
|
||||||
placeholder="请选择单位"
|
placeholder="请选择单位"
|
||||||
></el-cascader> -->
|
></el-cascader> -->
|
||||||
|
|
@ -38,9 +38,9 @@
|
||||||
:options="proList"
|
:options="proList"
|
||||||
:props="selectTreeProps"
|
:props="selectTreeProps"
|
||||||
filterable clearable
|
filterable clearable
|
||||||
collapse-tags
|
collapse-tags
|
||||||
@change="proChange"
|
@change="proChange"
|
||||||
placeholder="请选择工程"
|
placeholder="请选择工程"
|
||||||
></el-cascader> -->
|
></el-cascader> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="agreementCode">
|
<el-form-item prop="agreementCode">
|
||||||
|
|
@ -106,7 +106,7 @@
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="协议编号" align="center" prop="agreementCode" :show-overflow-tooltip="true"/>
|
<el-table-column label="协议编号" align="center" prop="agreementCode" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="结算单位" align="center" prop="unitName" :show-overflow-tooltip="true"/>
|
<el-table-column label="结算单位" align="center" prop="unitName" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="结算工程" align="center" prop="projectName" :show-overflow-tooltip="true"/>
|
<el-table-column label="结算工程" align="center" prop="projectName" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="合计费用(元)" align="center" prop="costs" :show-overflow-tooltip="true">
|
<el-table-column label="合计费用(元)" align="center" prop="costs" :show-overflow-tooltip="true">
|
||||||
|
|
@ -152,7 +152,8 @@
|
||||||
|
|
||||||
<!-- 协议单弹窗 -->
|
<!-- 协议单弹窗 -->
|
||||||
<el-dialog :visible.sync="openPrint" width="1100px" append-to-body>
|
<el-dialog :visible.sync="openPrint" width="1100px" append-to-body>
|
||||||
<div style="height: 600px; overflow-y: scroll">
|
<div id="checkId">
|
||||||
|
<div style="height: 600px; overflow-y: scroll" >
|
||||||
<vue-easy-print tableShow ref="remarksPrintRef" class="print">
|
<vue-easy-print tableShow ref="remarksPrintRef" class="print">
|
||||||
<div style="text-align: center; font-weight: 600; font-size: 16px">
|
<div style="text-align: center; font-weight: 600; font-size: 16px">
|
||||||
机具设备有偿使用费结算协议书
|
机具设备有偿使用费结算协议书
|
||||||
|
|
@ -161,52 +162,52 @@
|
||||||
<div class="item" style=" width: 65%; flex-shrink: 0; margin-bottom: 5px; font-size: 14px;">
|
<div class="item" style=" width: 65%; flex-shrink: 0; margin-bottom: 5px; font-size: 14px;">
|
||||||
</div>
|
</div>
|
||||||
<div class="item" style=" width: 35%; flex-shrink: 0; margin-bottom: 5px; font-size: 14px;">
|
<div class="item" style=" width: 35%; flex-shrink: 0; margin-bottom: 5px; font-size: 14px;">
|
||||||
<span>协议号:</span>
|
<span>协议号:</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabelColumn">
|
<div class="tabelColumn">
|
||||||
<div class="columnLabel" style="width: 20%;">工程名称:</div>
|
<div class="columnLabel" style="width: 20%;">工程名称:</div>
|
||||||
<div class="columnContent" style="width: 80%;">金上-湖北线路工程(川12标)</div>
|
<div class="columnContent" style="width: 80%;">金上-湖北线路工程(川12标)</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabelColumn">
|
<div class="tabelColumn">
|
||||||
<div class="columnLabel" style="width: 20%;">承租单位:</div>
|
<div class="columnLabel" style="width: 20%;">承租单位:</div>
|
||||||
<div class="columnContent" style="width: 40%;">金上-湖北线路工程(川12标)项目部</div>
|
<div class="columnContent" style="width: 40%;">金上-湖北线路工程(川12标)项目部</div>
|
||||||
<div class="columnLabel" style="width: 10%;border-left: 1px solid #9c9c9c;">日期:</div>
|
<div class="columnLabel" style="width: 10%;border-left: 1px solid #9c9c9c;">日期:</div>
|
||||||
<div class="columnContent" style="width: 30%;">2024-12-01</div>
|
<div class="columnContent" style="width: 30%;">2024-12-01</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabelColumn">
|
<div class="tabelColumn">
|
||||||
<div class="columnLabel" style="width: 100%;">结算项目及金额(元)</div>
|
<div class="columnLabel" style="width: 100%;">结算项目及金额(元)</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabelColumn">
|
<div class="tabelColumn">
|
||||||
<div class="columnLabel" style="width: 60%;">一、施工机具有偿使用费:</div>
|
<div class="columnLabel" style="width: 60%;">一、施工机具有偿使用费:</div>
|
||||||
<div class="columnContent" style="width: 40%;">¥ 13144247. 44</div>
|
<div class="columnContent" style="width: 40%;">¥ 13144247. 44</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabelColumn">
|
<div class="tabelColumn">
|
||||||
<div class="columnLabel" style="width: 60%;">二、施工机具维修费:</div>
|
<div class="columnLabel" style="width: 60%;">二、施工机具维修费:</div>
|
||||||
<div class="columnContent" style="width: 40%;">¥ 13144247. 44</div>
|
<div class="columnContent" style="width: 40%;">¥ 13144247. 44</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabelColumn">
|
<div class="tabelColumn">
|
||||||
<div class="columnLabel" style="width: 60%;">三、施工机具丢失费:</div>
|
<div class="columnLabel" style="width: 60%;">三、施工机具丢失费:</div>
|
||||||
<div class="columnContent" style="width: 40%;">¥ 13144247. 44</div>
|
<div class="columnContent" style="width: 40%;">¥ 13144247. 44</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabelColumn">
|
<div class="tabelColumn">
|
||||||
<div class="columnLabel" style="width: 60%;">四、施工机具损坏赔偿费:</div>
|
<div class="columnLabel" style="width: 60%;">四、施工机具损坏赔偿费:</div>
|
||||||
<div class="columnContent" style="width: 40%;">¥ 13144247. 44</div>
|
<div class="columnContent" style="width: 40%;">¥ 13144247. 44</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabelColumn">
|
<div class="tabelColumn">
|
||||||
<div class="columnLabel" style="width: 20%;">费用合计金额(大写):</div>
|
<div class="columnLabel" style="width: 20%;">费用合计金额(大写):</div>
|
||||||
<div class="columnContent" style="width: 40%;">贰仟肆佰伍拾陆万伍仟肆佰捌拾玖元肆角伍分</div>
|
<div class="columnContent" style="width: 40%;">贰仟肆佰伍拾陆万伍仟肆佰捌拾玖元肆角伍分</div>
|
||||||
<div class="columnContent" style="width: 40%;">¥ 24565489.45</div>
|
<div class="columnContent" style="width: 40%;">¥ 24565489.45</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabelColumn">
|
<div class="tabelColumn">
|
||||||
<div class="columnLabel" style="width: 20%;">说明:</div>
|
<div class="columnLabel" style="width: 20%;">说明:</div>
|
||||||
<div class="columnContent" style="width: 80%;">本协议一式三份,甲方一份,乙方一份,经双方签字后生效。</div>
|
<div class="columnContent" style="width: 80%;">本协议一式三份,甲方一份,乙方一份,经双方签字后生效。</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabelColumn" style="border: 1px solid #9c9c9c;">
|
<div class="tabelColumn" style="border: 1px solid #9c9c9c;">
|
||||||
<div class="columnLabel" style="width: 20%;">备注:</div>
|
<div class="columnLabel" style="width: 20%;">备注:</div>
|
||||||
<div class="columnContent" style="width: 80%;">此费用仅为在机具设备分公司发生费用,未计从项目部领用机具费用。</div>
|
<div class="columnContent" style="width: 80%;">此费用仅为在机具设备分公司发生费用,未计从项目部领用机具费用。</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="fillIn" style="margin-top: 20px; display: flex; justify-content: space-between;">
|
<div class="fillIn" style="margin-top: 20px; display: flex; justify-content: space-between;">
|
||||||
<div class="item" style="width: 33%">
|
<div class="item" style="width: 33%">
|
||||||
|
|
@ -229,6 +230,7 @@
|
||||||
</div>
|
</div>
|
||||||
</vue-easy-print>
|
</vue-easy-print>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div slot="footer" class="dialog-footer" style="text-align: center">
|
<div slot="footer" class="dialog-footer" style="text-align: center">
|
||||||
<el-button type="primary" @click="print">打 印</el-button>
|
<el-button type="primary" @click="print">打 印</el-button>
|
||||||
|
|
@ -243,12 +245,13 @@
|
||||||
import {
|
import {
|
||||||
// getProjectList,
|
// getProjectList,
|
||||||
getUnitList,
|
getUnitList,
|
||||||
// getAgreementInfoById,
|
// getAgreementInfoById,
|
||||||
} from '@/api/back/index.js'
|
} from '@/api/back/index.js'
|
||||||
import { getSltAgreementInfo,getProjectListByUnitIds,getAgreementInfoById } from '@/api/cost/cost'
|
import { getSltAgreementInfo,getProjectListByUnitIds,getAgreementInfoById } from '@/api/cost/cost'
|
||||||
import vueEasyPrint from "vue-easy-print";
|
import vueEasyPrint from "vue-easy-print";
|
||||||
import Treeselect from "@riophae/vue-treeselect";
|
import Treeselect from "@riophae/vue-treeselect";
|
||||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||||
|
import printJS from 'print-js'
|
||||||
export default {
|
export default {
|
||||||
name: 'CostApplyList',
|
name: 'CostApplyList',
|
||||||
dicts: ['cost_status'],
|
dicts: ['cost_status'],
|
||||||
|
|
@ -262,7 +265,7 @@ export default {
|
||||||
// 非单个禁用
|
// 非单个禁用
|
||||||
single: true,
|
single: true,
|
||||||
// 非多个禁用
|
// 非多个禁用
|
||||||
multiple: true,
|
multiple: true,
|
||||||
// 总条数
|
// 总条数
|
||||||
total: 0,
|
total: 0,
|
||||||
// 单位数据
|
// 单位数据
|
||||||
|
|
@ -273,10 +276,10 @@ export default {
|
||||||
projectIds: null,
|
projectIds: null,
|
||||||
selectTreeProps: {
|
selectTreeProps: {
|
||||||
children: 'children',
|
children: 'children',
|
||||||
label: 'name',
|
label: 'name',
|
||||||
value: 'id',
|
value: 'id',
|
||||||
multiple: true,//false
|
multiple: true,//false
|
||||||
},
|
},
|
||||||
// statusList: [
|
// statusList: [
|
||||||
// { id: '1', name: '未结算' },
|
// { id: '1', name: '未结算' },
|
||||||
// { id: '2', name: '已结算' },
|
// { id: '2', name: '已结算' },
|
||||||
|
|
@ -284,11 +287,11 @@ export default {
|
||||||
// { id: '4', name: '已驳回' },
|
// { id: '4', name: '已驳回' },
|
||||||
// ],
|
// ],
|
||||||
// 表格数据
|
// 表格数据
|
||||||
tableList: [],
|
tableList: [],
|
||||||
// 查询参数
|
// 查询参数
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
sltStatus: '',
|
sltStatus: '',
|
||||||
isCommit:'',
|
isCommit:'',
|
||||||
unitId: null,
|
unitId: null,
|
||||||
|
|
@ -310,7 +313,7 @@ export default {
|
||||||
// }
|
// }
|
||||||
// });
|
// });
|
||||||
// },
|
// },
|
||||||
created() {
|
created() {
|
||||||
this.GetUnitData()
|
this.GetUnitData()
|
||||||
// this.GetProData()
|
// this.GetProData()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|
@ -326,7 +329,7 @@ export default {
|
||||||
label: node.name,
|
label: node.name,
|
||||||
children: node.children,
|
children: node.children,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
// 获取 来往单位 列表数据
|
// 获取 来往单位 列表数据
|
||||||
async GetUnitData() {
|
async GetUnitData() {
|
||||||
const params = {
|
const params = {
|
||||||
|
|
@ -335,7 +338,7 @@ export default {
|
||||||
const res = await getUnitList(params)
|
const res = await getUnitList(params)
|
||||||
this.unitList = res.data;
|
this.unitList = res.data;
|
||||||
if(this.queryParams.projectId){
|
if(this.queryParams.projectId){
|
||||||
this.getAgreementInfo()
|
this.getAgreementInfo()
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
@ -355,8 +358,8 @@ export default {
|
||||||
this.queryParams.agreementId = null
|
this.queryParams.agreementId = null
|
||||||
this.queryParams.agreementCode = null
|
this.queryParams.agreementCode = null
|
||||||
this.GetProData()
|
this.GetProData()
|
||||||
},500)
|
},500)
|
||||||
},
|
},
|
||||||
// 获取 工程名称 列表数据
|
// 获取 工程名称 列表数据
|
||||||
async GetProData() {
|
async GetProData() {
|
||||||
const unitIdsAsNumbers = this.unitIds.map(id => Number(id));
|
const unitIdsAsNumbers = this.unitIds.map(id => Number(id));
|
||||||
|
|
@ -365,8 +368,8 @@ export default {
|
||||||
}
|
}
|
||||||
const res = await getProjectListByUnitIds(params)
|
const res = await getProjectListByUnitIds(params)
|
||||||
this.proList = res.data;
|
this.proList = res.data;
|
||||||
|
|
||||||
this.getAgreementInfo()
|
this.getAgreementInfo()
|
||||||
},
|
},
|
||||||
proChange(val){
|
proChange(val){
|
||||||
// if(val&&val.length>0){
|
// if(val&&val.length>0){
|
||||||
|
|
@ -377,7 +380,7 @@ export default {
|
||||||
// this.GetUnitData()
|
// this.GetUnitData()
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
this.GetUnitData()
|
this.GetUnitData()
|
||||||
},500)
|
},500)
|
||||||
},
|
},
|
||||||
// 获取 协议id
|
// 获取 协议id
|
||||||
async getAgreementInfo() {
|
async getAgreementInfo() {
|
||||||
|
|
@ -399,7 +402,7 @@ export default {
|
||||||
this.queryParams.agreementCode = res.data.map(item => item.agreementCode).join(',');
|
this.queryParams.agreementCode = res.data.map(item => item.agreementCode).join(',');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 查询列表 */
|
/** 查询列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
|
@ -417,7 +420,7 @@ export default {
|
||||||
this.total = response.total
|
this.total = response.total
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParams.pageNum = 1
|
this.queryParams.pageNum = 1
|
||||||
|
|
@ -426,10 +429,10 @@ export default {
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.unitIds=[]
|
this.unitIds=[]
|
||||||
this.projectIds=[]
|
this.projectIds=[]
|
||||||
this.queryParams={
|
this.queryParams={
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
sltStatus: '',
|
sltStatus: '',
|
||||||
isCommit:'',
|
isCommit:'',
|
||||||
unitId: null,
|
unitId: null,
|
||||||
|
|
@ -439,7 +442,7 @@ export default {
|
||||||
}
|
}
|
||||||
this.resetForm('queryForm')
|
this.resetForm('queryForm')
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
//结算申请
|
//结算申请
|
||||||
handleApply(row) {
|
handleApply(row) {
|
||||||
let arr = [];
|
let arr = [];
|
||||||
|
|
@ -476,7 +479,14 @@ export default {
|
||||||
},
|
},
|
||||||
//维修任务单打印
|
//维修任务单打印
|
||||||
print() {
|
print() {
|
||||||
this.$refs.remarksPrintRef.print();
|
// this.$refs.remarksPrintRef.print();
|
||||||
|
printJS({
|
||||||
|
printable: 'checkId',
|
||||||
|
type: 'html',
|
||||||
|
targetStyles: ['*'],
|
||||||
|
maxWidth:'1400'
|
||||||
|
// 其他配置选项
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
|
|
@ -517,19 +527,19 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: 1px solid #9c9c9c;
|
border: 1px solid #9c9c9c;
|
||||||
// margin-bottom: 1px;
|
// margin-bottom: 1px;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
.columnLabel {
|
.columnLabel {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-left: none;
|
border-left: none;
|
||||||
}
|
}
|
||||||
.columnContent {
|
.columnContent {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-left: 1px solid #9c9c9c;
|
border-left: 1px solid #9c9c9c;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -251,6 +251,7 @@ import { passAll, rejectAll } from '@/api/part/partAccept';
|
||||||
import vueEasyPrint from "vue-easy-print";
|
import vueEasyPrint from "vue-easy-print";
|
||||||
import { downloadFile } from '@/utils/download'
|
import { downloadFile } from '@/utils/download'
|
||||||
import { getToken } from '@/utils/auth'
|
import { getToken } from '@/utils/auth'
|
||||||
|
import printJS from 'print-js'
|
||||||
export default {
|
export default {
|
||||||
name: "PartAcceptTwo",
|
name: "PartAcceptTwo",
|
||||||
dicts: ['part_task_status'],
|
dicts: ['part_task_status'],
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
value-format="yyyy-MM">
|
value-format="yyyy-MM">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="keyWord">
|
<!-- <el-form-item prop="keyWord">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams.keyWord"
|
v-model="queryParams.keyWord"
|
||||||
placeholder="请输入关键词"
|
placeholder="请输入关键词"
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
@keyup.enter.native="handleQuery"
|
@keyup.enter.native="handleQuery"
|
||||||
maxlength="20"
|
maxlength="20"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>-->
|
||||||
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">查询</el-button>
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">查询</el-button>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
v-show="showSearch"
|
v-show="showSearch"
|
||||||
label-width="90px"
|
label-width="90px"
|
||||||
>
|
>
|
||||||
<el-form-item prop="time">
|
<!-- <el-form-item prop="time">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="queryParams.time"
|
v-model="queryParams.time"
|
||||||
type="daterange"
|
type="daterange"
|
||||||
|
|
@ -17,6 +17,16 @@
|
||||||
end-placeholder="结束日期"
|
end-placeholder="结束日期"
|
||||||
value-format="yyyy-MM-dd">
|
value-format="yyyy-MM-dd">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
|
</el-form-item>-->
|
||||||
|
<el-form-item prop="time">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="queryParams.time"
|
||||||
|
type="month"
|
||||||
|
placeholder="请选择月份"
|
||||||
|
value-format="yyyy-MM"
|
||||||
|
:clearable="false"
|
||||||
|
:editable="false"
|
||||||
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="keyWord">
|
<el-form-item prop="keyWord">
|
||||||
<el-input
|
<el-input
|
||||||
|
|
@ -80,7 +90,7 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center"
|
align="center"
|
||||||
:reserve-selection="true"
|
:reserve-selection="true"
|
||||||
/>
|
/>
|
||||||
<el-table-column label="序号" align="center" width="80" type="index">
|
<el-table-column label="序号" align="center" width="80" type="index">
|
||||||
|
|
@ -112,7 +122,7 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span style="color:#70B603">{{ '待审核'}}</span>
|
<span style="color:#70B603">{{ '待审核'}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true"/> -->
|
<!-- <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true"/> -->
|
||||||
<el-table-column label="操作" align="center" width="180" >
|
<el-table-column label="操作" align="center" width="180" >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|
@ -227,10 +237,11 @@ export default {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
const params = {
|
const params = {
|
||||||
keyWord: this.queryParams.keyWord,
|
keyWord: this.queryParams.keyWord,
|
||||||
startTime: this.queryParams.time && this.queryParams.time[0],
|
month: this.queryParams.time,
|
||||||
endTime: this.queryParams.time && this.queryParams.time[1],
|
// startTime: this.queryParams.time && this.queryParams.time[0],
|
||||||
|
// endTime: this.queryParams.time && this.queryParams.time[1],
|
||||||
pageSize: this.queryParams.pageSize,
|
pageSize: this.queryParams.pageSize,
|
||||||
pageNum: this.queryParams.pageNum
|
pageNum: this.queryParams.pageNum
|
||||||
}
|
}
|
||||||
console.log('11111111111',params)
|
console.log('11111111111',params)
|
||||||
await getTotalList(params).then((response) => {
|
await getTotalList(params).then((response) => {
|
||||||
|
|
@ -245,7 +256,7 @@ export default {
|
||||||
getTopData() {
|
getTopData() {
|
||||||
getTotalPrice().then((response) => {
|
getTotalPrice().then((response) => {
|
||||||
console.log("xxxxxxxx",response)
|
console.log("xxxxxxxx",response)
|
||||||
this.reviewPeriod = response.data.month==null ? '': response.data.month;
|
this.reviewPeriod = response.data.month==null ? '': response.data.month;
|
||||||
this.reviewCost = response.data.totalCost==null ? 0: response.data.totalCost;
|
this.reviewCost = response.data.totalCost==null ? 0: response.data.totalCost;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -151,10 +151,10 @@
|
||||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<el-form-item label="参数名称" prop="configName">
|
<el-form-item label="参数名称" prop="configName">
|
||||||
<el-input v-model="form.configName" placeholder="请输入参数名称" readonly />
|
<el-input v-model="form.configName" placeholder="请输入参数名称" :readonly="form.configId != undefined" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="参数键名" prop="configKey">
|
<el-form-item label="参数键名" prop="configKey">
|
||||||
<el-input v-model="form.configKey" placeholder="请输入参数键名" readonly />
|
<el-input v-model="form.configKey" placeholder="请输入参数键名" :readonly="form.configId != undefined" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="参数键值" prop="configValue">
|
<el-form-item label="参数键值" prop="configValue">
|
||||||
<el-input v-model="form.configValue" placeholder="请输入参数键值" />
|
<el-input v-model="form.configValue" placeholder="请输入参数键值" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue