master
xy 11 months ago
parent 9b7f936b27
commit c7b49ed79a

@ -367,7 +367,7 @@ export default {
departmentTable: [ departmentTable: [
{ {
label: "科室", label: "科室",
minWidth: 180, width: 184,
prop: "plan_department.name", prop: "plan_department.name",
sortable: false, sortable: false,
align: "left", align: "left",
@ -431,7 +431,8 @@ export default {
typeTable: [ typeTable: [
{ {
label: "预算类别", label: "预算类别",
width: 100, width: 160,
align: 'left',
prop: "type_text", prop: "type_text",
sortable: false, sortable: false,
fixed: "left", fixed: "left",
@ -509,8 +510,8 @@ export default {
}, },
methods: { methods: {
async getCarry () { 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) { let setData = function(data, constData, showData) {
data.filter(function(item) { data.filter(function(item) {
@ -787,7 +788,7 @@ export default {
this.statistic = { this.statistic = {
progress: resTotal[0].progress, progress: resTotal[0].progress,
typeList: resTotal[1].typeList, 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) console.log(3333,this.statistic)
let m2 = this.statistic.progress.money_total_2; let m2 = this.statistic.progress.money_total_2;

Loading…
Cancel
Save