master
xy 11 months ago
parent 9b7f936b27
commit c7b49ed79a

@ -367,7 +367,7 @@ export default {
departmentTable: [
{
label: "科室",
minWidth: 180,
width: 184,
prop: "plan_department.name",
sortable: false,
align: "left",
@ -431,7 +431,8 @@ export default {
typeTable: [
{
label: "预算类别",
width: 100,
width: 160,
align: 'left',
prop: "type_text",
sortable: false,
fixed: "left",
@ -509,8 +510,8 @@ export default {
},
methods: {
async getCarry () {
const res = await carry(this.carrySelect);
const response = await carry(this.carrySelect);
let res = response.sort((a, b) => a.plan_department.sortnumber - b.plan_department.sortnumber)
//
let setData = function(data, constData, showData) {
data.filter(function(item) {
@ -787,7 +788,7 @@ export default {
this.statistic = {
progress: resTotal[0].progress,
typeList: resTotal[1].typeList,
departmentList: resTotal[2].departmentList
departmentList: resTotal[2].departmentList?.sort((a, b) => a.plan_department.sortnumber - b.plan_department.sortnumber)
};
console.log(3333,this.statistic)
let m2 = this.statistic.progress.money_total_2;

Loading…
Cancel
Save