//actions
import sampleAction from './actions/sampleAction';
import searchBillAction from './actions/searchBillAction.js'
import InfoModalActioncs from './actions/infoModalActioncs';
import copyAction from './actions/copyAction';
import printAction from './actions/printAction'
import printMultiAction from './actions/printMultiAction'
import showDetailAction from './actions/showDetailAction'
import editAction from './actions/editAction';
import updatebillStateAction from './actions/updatebillStateAction';
import updateStateLincaoAction from './actions/updateStateLincaoAction';
import draftSearchAction from './actions/draftSearchAction';
import draftSaveAction from './actions/draftSaveAction';
import copyBillAction from './actions/copyBillAction';
import modifyAction from './actions/modifyAction'
import logicSaveAction from './actions/logicSaveAction'
import extractCashAction from './actions/extractCashAction'
import deleteSubTable from './actions/deleteSubTable'
import selectQuery from './actions/selectQuery'
import approvalEditModalOpen from './actions/approvalEditModalOpen';
import approvalMessageAdd from './actions/approvalMessageAdd';
import upward from './actions/pageType';
import down from './actions/pageType';
import first from './actions/pageType';
import last from './actions/pageType';
import CW_createBill from './actions/createBill';
import CW_editBill from './actions/editBill';
import CW_deleteBill from './actions/deleteBill';
import CW_tempSave from './actions/tempSave';
import CW_saveAction from './actions/saveAction';
import CW_printAction from './actions/printActionNew';
import CW_agreeAction from './actions/agreeAction';
import CW_rejectAction from './actions/rejectAction';
import CW_submitAction from './actions/submitAction';
import CW_closeAction from './actions/closeAction'
import CW_imageView from './actions/imageView'
import relateInvoiceAction from './actions/relateInvoiceAction.js'
import deleteInvoiceAction from './actions/deleteInvoiceAction.js'
//queryAction
import leafletGenerationAction from './query-actions/leafletGenerationAction.js'
import summaryGenerationAction from './query-actions/summaryGenerationAction.js'
import seeDetailAction from './query-actions/seeDetailAction.js'
import goToDetail from './query-actions/goToDetail.js'
import undoGenerationAction from './query-actions/undoGenerationAction.js'
import voucherQueryAction from './query-actions/voucherQueryAction.js'
import updateStateAction from './query-actions/updateStateAction.js'
import createBill from './query-actions/createBill.js';
import editBill  from './query-actions/editBill.js';
import examineAction from './query-actions/examineAction.js'
import exportExcel from './query-actions/exportExcel.js'
import createBills from './query-actions/createBills'
import payment from "./query-actions/payments/payment";
import batchPayment from "./query-actions/payments/batchPayment";
import offlinePayment from "./query-actions/payments/offlinePayment";
import queryAccount from "./query-actions/payments/queryAccount";
import refreshTransactionStatus from "./query-actions/payments/refreshTransactionStatus";
import throughQuery from"./query-actions/throughQuery";
//control
import applyDetail from './control/applyDetail';
import linkShowDetail from './control/linkShowDetail';
import ApprovalUserControl from './control/approval-user-control/approval-user-control.vue'
import WorkflowTrack from './control/workflow-track.vue'
import buttonGroupControl from './control/buttonGrouop'
import rbcBasedataTree from './control/baseDataSelect/index.vue'
import newsDetail from './components-control/news-detail.vue'
import queryDate from './control/query-date.vue'
//formula
import GetMdByFormerCode from './formula/GetMdByFormerCode'
import GetBrowserVersion from './formula/GetBrowserVersion'
import SubColSum from './formula/SubColSum.js';
import GmsGetNow from './formula/GmsGetNow.js';
import GetMDValue from './formula/GetMDValue.js';
import ClearFieldValue from './formula/ClearFieldValue.js';
import StringValue from './formula/StringValue.js';
import GetMDByCode from './formula/GetMDByCode.js';
import SetMDFieldValue from './formula/SetMDFieldValue.js'
import GetUserDepartment from './formula/GetUserDepartment.js'
import GetSubsidyStandard from './formula/GetSubsidyStandard.js'
import CheckSublistSize from './formula/CheckSublistSize.js'
import GetCurrencyRate from './formula/GetCurrencyRate.js'
import CheckSubTableField from './formula/CheckSubTableField.js'
import SetValueOfSubColumn from './formula/SetValueOfSubColumn.js'
import GetMaxOrMinValueOfSubCol from './formula/GetMaxOrMinValueOfSubCol.js'
import CheckIsOrdinal from './formula/CheckIsOrdinal.js'
import CheckBudgetControl from './formula/CheckBudgetControl.js'
import MoneyToUppercase from './formula/MoneyToUppercase.js'
import MDFilterByCode from './formula/MDFilterByCode.js'
import GetMdFieldValueByCode from './formula/GetMdFieldValueByCode.js'
import SetDefaultValue from './formula/SetDefaultValue.js'
import ConcatSubColValue from './formula/ConcatSubColValue.js'
import MdFilterBySpecialField from './formula/MdFilterBySpecialField.js'
import CalculateSubTableRow from './formula/CalculateSubTableRow.js'
import MdFilterByMultipleFieldValue from './formula/MdFilterByMultipleFieldValue.js'
import GetCompareResult from './formula/GetCompareResult.js'
import ConditionalExecute from './formula/ConditionalExecute.js'
import HideControlNew from './formula/HideControlNew.js'
import GetOrgName from './formula/GetOrgName';
import SetControlDisable from './formula/SetControlDisable'
import ConcatMasterTableValue from './formula/ConcatMasterTableValue';
import UpdateRalationBillValueFunction from './formula/UpdateRalationBillValueFunction';
import cacheSaveAction from './actions/cacheSaveAction.js';
import PhoneCheck from './formula/PhoneCheck'
import IDCardCheck from './formula/IDCardCheck'
import LenFunction from './formula/LenFunction'
import CheckDuplicateSubField from './formula/CheckDuplicateSubField'
import TakeOutBaseDataOne from './formula/CheckDuplicateSubField'
import ClearSubData from './formula/ClearSubData'
import DateOpera from './formula/DateOpera'
import BillPush from './formula/BillPush'
import MdFilterBySon from './formula/MdFilterBySon'
import GetSubStandard from './formula/GetSubStandard'
import GetLoginUserInfo from './formula/GetLoginUserInfo'
import CalcStandCost from './formula/CalcStandCost'
import GetMDByCodeFull from './formula/GetMDByCodeFull'
import UpdateBorrowMoneyState from './formula/UpdateBorrowMoneyState'
import ClearRealationBillState from './formula/ClearRealationBillState'
import VerifyDateYear from './formula/VerifyDateYear'
import GetStrLength from "@/formula/GetStrLength";
import GetBaseDataWithCodes from "@/formula/GetBaseDataWithCodes";
import GetFwssBaseDataWithGroupField from "@/formula/GetFwssBaseDataWithGroupField";
import SetInternalAccommodation from "@/formula/SetInternalAccommodation";
import SetInternalAccommodationTotal from "@/formula/SetInternalAccommodationTotal";
import SetIsOverStandard from "@/formula/SetIsOverStandard";
import GetYqddBaseDataWithGroupField from "@/formula/GetYqddBaseDataWithGroupField";
import SetBaseDataForPay from "@/formula/SetBaseDataForPay";
import CheckAmount from "@/formula/CheckAmount";
import GetBaseDataSonCode from "@/formula/GetBaseDataSonCode";
import ClearSubFields from "@/formula/ClearSubFields";
import ClearSubField from "@/formula/ClearSubField";
import GetExactDays from "@/formula/GetExactDays";
import UpdateAccount from "@/formula/UpdateAccount";
import SetSubFieldNull from "@/formula/SetSubFieldNull";
import showPrint from './components-control/showPrint.vue'
import SetMasterAmount from "@/formula/SetMasterAmount";
import HasContainExpandFields from "@/formula/HasContainExpandFields";
import SetMasterJdhdAmount from "@/formula/SetMasterJdhdAmount";
import CheckJdhdAmount from "@/formula/CheckJdhdAmount";
import SetSubFieldValue from "@/formula/SetSubFieldValue";
import CheckRoleAuthentication from "@/formula/CheckRoleAuthentication";
import HasContainSubString from "@/formula/HasContainSubString";
import customDeleteAction from "@/actions/customDeleteAction";
import MdFilterOneToMulti from "@/formula/MdFilterOneToMulti";
import MdYWHDDXFilter from "@/formula/MdYWHDDXFilter";
import MdStringMultiFilter from "@/formula/MdStringMultiFilter";
import updateFieldAction from './query-actions/updateFieldAction';
import MdFilterBaseDataIdToMulti from './formula/MdFilterBaseDataIdToMulti';
import GetMultiBaseDataCode from "@/formula/GetMultiBaseDataCode";
import HasContainMultiBaseDataFields from "@/formula/HasContainMultiBaseDataFields";
import GetMultiBaseDataFieldValues from "@/formula/GetMultiBaseDataFieldValues";
import CheckInvoiceNumber from "@/formula/CheckInvoiceNumber";
import CheckYwjdSave from "@/formula/CheckYwjdSave";
import MdFilterByStartsWithFieldValue from "@/formula/MdFilterByStartsWithFieldValue";
import SubString from "@/formula/SubString";
import EqualsString from "@/formula/EqualsString";
import downloadImage from "@/query-actions/imagemanage/downloadImage";
import viewImage from "@/query-actions/imagemanage/viewImage";
import jump2BillTemplate from "@/query-actions/imagemanage/jump2BillTemplate";
import UpdateImageInfoRefState from "@/formula/UpdateImageInfoRefState";
import ClearImageInfoRefState from "@/formula/ClearImageInfoRefState";
import UpdatePaymentState from "@/formula/UpdatePaymentState";
import GetMdOrgParentField from "@/formula/GetMdOrgParentField";
import simpleAdvanceDeleteAction from "./query-actions/simpleAdvanceDeleteAction"; import CheckReferenceRelation from "./formula/CheckReferenceRelation";
import SubTableOneToOneFilter from "@/formula/SubTableOneToOneFilter";
import draftFixBugAction from "@/actions/draftFixBugAction";
import SubTableIsContainValue from "@/formula/SubTableIsContainValue";
export default {
    actions: {
        updateFieldAction,
        MdStringMultiFilter,
        MdYWHDDXFilter,
        voucherQueryAction,
        leafletGenerationAction,
        summaryGenerationAction,
        undoGenerationAction,
        seeDetailAction,
        goToDetail,
        updateStateAction,
        createBill,
        editBill,
        examineAction,
        exportExcel,
        customDeleteAction,
        createBills,
        batchPayment,
        offlinePayment,
        payment,
        queryAccount,
        refreshTransactionStatus,
        downloadImage,
        jump2BillTemplate,
        viewImage,
        relateInvoiceAction,
        throughQuery,
        deleteInvoiceAction,
        simpleAdvanceDeleteAction,
    },
    billAction: {
        printMultiAction,
        MdFilterOneToMulti,
        sampleAction,
        searchBillAction,
        InfoModalActioncs,
        copyAction,
        printAction,
        showDetailAction,
        editAction,
        updatebillStateAction,
        updateStateLincaoAction,
        draftSearchAction,
        draftSaveAction,
        draftFixBugAction,
        copyBillAction,
        cacheSaveAction,
        modifyAction,
        logicSaveAction,
        extractCashAction,
        deleteSubTable,
        selectQuery,
        approvalEditModalOpen,
        approvalMessageAdd,
        upward,
        down,
        first,
        last,
        CW_createBill,
        CW_editBill,
        CW_deleteBill,
        CW_tempSave,
        CW_saveAction,
        CW_printAction,
        CW_agreeAction,
        CW_rejectAction,
        CW_submitAction,
        CW_closeAction,
        CW_imageView,
    },
    billControl: {
        applyDetail,
        linkShowDetail,
        buttonGroupControl,
		ApprovalUserControl,
		WorkflowTrack,
        rbcBasedataTree
    },
    formula: {
        SubTableIsContainValue,
        SubTableOneToOneFilter,
        GetMdOrgParentField,
        GetMdByFormerCode,
        MdFilterByStartsWithFieldValue,
        MdFilterBaseDataIdToMulti,
        SetBaseDataForPay,
        VerifyDateYear,
        UpdateBorrowMoneyState,
		GetMDByCodeFull,
        SubColSum,
        GmsGetNow,
        GetMDValue,
        ClearFieldValue,
        StringValue,
        GetMDByCode,
        SetMDFieldValue,
        GetUserDepartment,
        GetSubsidyStandard,
        CheckSublistSize,
        GetCurrencyRate,
        CheckSubTableField,
        SetValueOfSubColumn,
        GetMaxOrMinValueOfSubCol,
        CheckIsOrdinal,
        CheckBudgetControl,
        MoneyToUppercase,
        MDFilterByCode,
        GetMdFieldValueByCode,
        SetDefaultValue,
        ConcatSubColValue,
        MdFilterBySpecialField,
        CalculateSubTableRow,
        MdFilterByMultipleFieldValue,
        GetCompareResult,
        ConditionalExecute,
        HideControlNew,
        SetControlDisable,
        GetOrgName,
        ConcatMasterTableValue,
        UpdateRalationBillValueFunction,
        PhoneCheck,
        IDCardCheck,
        LenFunction,
        CheckDuplicateSubField,
        TakeOutBaseDataOne,
        DateOpera,
        ClearSubData,
        BillPush,
        MdFilterBySon,
        GetSubStandard,
		CalcStandCost,
		GetLoginUserInfo,
        ClearRealationBillState,
        GetStrLength,
        GetBaseDataWithCodes,
        GetFwssBaseDataWithGroupField,
        SetInternalAccommodation,
        SetInternalAccommodationTotal,
        SetIsOverStandard,
        GetYqddBaseDataWithGroupField,
        CheckAmount,
        GetBaseDataSonCode,
        ClearSubField,
        ClearSubFields,
        GetExactDays,
        UpdateAccount,
        SetSubFieldNull,
        SetMasterAmount,
        HasContainExpandFields,
        SetMasterJdhdAmount,
        CheckJdhdAmount,
        SetSubFieldValue,
        CheckRoleAuthentication,
        HasContainSubString,
        GetBrowserVersion,
        HasContainMultiBaseDataFields,
        GetMultiBaseDataCode,
        GetMultiBaseDataFieldValues,
        CheckInvoiceNumber,
        CheckYwjdSave,
        SubString,
        EqualsString,
        UpdatePaymentState,
        UpdateImageInfoRefState,
        ClearImageInfoRefState,
        CheckReferenceRelation
    },
    routes : {
        showPrint: {
			path: "/showPrint",
			name: "showPrint",
			meta: {
				title: '打印'
			},
			content: false,
			component: showPrint
		},
        newsDetail: {
            path: '/newsDetail',
            name: 'newsDetail',
            content: false,
            component: newsDetail
        }
    },
    seniorQuery: {
        queryDate
    }
}

