|
@@ -8,6 +8,7 @@
|
|
import BaseController from "../../common/base/base_controller";
|
|
import BaseController from "../../common/base/base_controller";
|
|
import VersionModel from "../models/version_model";
|
|
import VersionModel from "../models/version_model";
|
|
import STDRationLibMapModel from "../../common/std/std_ration_lib_map_model";
|
|
import STDRationLibMapModel from "../../common/std/std_ration_lib_map_model";
|
|
|
|
+import STDBillLibListsModel from "../../common/std/std_bills_lib_lists_model";
|
|
import {default as ProvinceConst, List as ProvinceList} from "../../common/const/province_const";
|
|
import {default as ProvinceConst, List as ProvinceList} from "../../common/const/province_const";
|
|
|
|
|
|
class VersionController extends BaseController {
|
|
class VersionController extends BaseController {
|
|
@@ -24,20 +25,15 @@ class VersionController extends BaseController {
|
|
|
|
|
|
let versionList = [];
|
|
let versionList = [];
|
|
|
|
|
|
- let billList = {
|
|
|
|
- 1: [
|
|
|
|
- {id: '1', name: '重庆2017标准清单'},
|
|
|
|
- {id: '2', name: '重庆2015标准清单'}
|
|
|
|
- ],
|
|
|
|
- 2: [
|
|
|
|
- {id: '3', name: '广东2017标准清单'},
|
|
|
|
- {id: '4', name: '广东2015标准清单'},
|
|
|
|
- ]
|
|
|
|
- };
|
|
|
|
|
|
|
|
let rationList = {};
|
|
let rationList = {};
|
|
let selectedVersion = {};
|
|
let selectedVersion = {};
|
|
|
|
+ let billList = {};
|
|
try {
|
|
try {
|
|
|
|
+ // 获取标准清单
|
|
|
|
+ let stdBillLibListsModel = new STDBillLibListsModel();
|
|
|
|
+ billList = await stdBillLibListsModel.getBillList();
|
|
|
|
+
|
|
// 获取定额库
|
|
// 获取定额库
|
|
let stdRationLibMapModel = new STDRationLibMapModel();
|
|
let stdRationLibMapModel = new STDRationLibMapModel();
|
|
rationList = await stdRationLibMapModel.getRationLib();
|
|
rationList = await stdRationLibMapModel.getRationLib();
|