| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299 | 
							- <template>
 
-   <div class="borderless" v-loading="allloading">
 
-     <div class="customer-head">
 
-       <div class="customer-back">
 
-         <el-button
 
-           type="danger"
 
-           style="border: none;background: none;color: red"
 
-           icon="el-icon-arrow-left"
 
-           @click="backToList"
 
-           >返回列表
 
-         </el-button>
 
-       </div>
 
-       <div class="add-customer-btn">
 
-         <el-button
 
-           type="primary"
 
-           size="small"
 
-           v-if="detailData.status == 1"
 
-           class="el-button--small-yh "
 
-           :disabled="form.status > 0"
 
-           @click.stop="openEdit"
 
-           >编辑
 
-         </el-button>
 
-         <el-dropdown style="margin-right: 8px;margin-left: 8px;">
 
-           <el-button type="primary" size="small">
 
-             审核处理<i class="el-icon-arrow-down el-icon--right"></i>
 
-           </el-button>
 
-           <el-dropdown-menu slot="dropdown">
 
-             <el-dropdown-item
 
-               :disabled="form.status > 0"
 
-               @click.native="pleaseCheck"
 
-               >请核数据</el-dropdown-item
 
-             >
 
-             <el-dropdown-item disabled>审核进度</el-dropdown-item>
 
-             <el-dropdown-item disabled>撤销请核</el-dropdown-item>
 
-           </el-dropdown-menu>
 
-         </el-dropdown>
 
-         <el-button
 
-           type="success"
 
-           :disabled="!form.id"
 
-           size="small"
 
-           @click="copyDoc"
 
-         >
 
-           复制新单
 
-         </el-button>
 
-         <el-button
 
-           class="el-button--small-yh"
 
-           type="primary"
 
-           :disabled="loadingBtn || detailData.status == 1"
 
-           size="small"
 
-           @click="editCustomer"
 
-           >保存数据
 
-         </el-button>
 
-       </div>
 
-     </div>
 
-     <div class="customer-main">
 
-       <containerTitle title="基础资料"></containerTitle>
 
-       <basic-container>
 
-         <avue-form
 
-           class="trading-form"
 
-           ref="form"
 
-           v-model="form"
 
-           :option="option"
 
-         />
 
-       </basic-container>
 
-       <containerTitle title="基础明细"></containerTitle>
 
-       <basic-container>
 
-         <avue-crud
 
-           ref="crud"
 
-           v-model="crudForm"
 
-           :option="optionList"
 
-           :data="dataList"
 
-           :page.sync="page"
 
-           :search.sync="search"
 
-           :table-loading="loading"
 
-           @current-change="currentChange"
 
-           @size-change="sizeChange"
 
-           @search-change="searchChange"
 
-           @saveColumn="saveColumn"
 
-           @refresh-change="refreshChange"
 
-           @row-save="rowSave"
 
-           @row-update="rowUpdate"
 
-           :cell-style="cellStyle"
 
-           :header-cell-class-name="headerCellClassName"
 
-         >
 
-           <template slot="menuLeft">
 
-             <el-button
 
-               type="primary"
 
-               @click.stop="$refs.crud.rowAdd()"
 
-               size="small"
 
-               :disabled="detailData.status == 1"
 
-               >新增</el-button
 
-             >
 
-             <el-button
 
-               type="primary"
 
-               size="small"
 
-               @click="importExcel()"
 
-               :disabled="detailData.status == 1"
 
-               >导入
 
-             </el-button>
 
-             <el-button type="primary" size="small" @click.stop="openExport()"
 
-               >导出
 
-             </el-button>
 
-             <el-button
 
-               type="primary"
 
-               size="small"
 
-               @click.stop="calculate()"
 
-               :disabled="detailData.status == 1"
 
-               >重新计算
 
-             </el-button>
 
-             <el-button
 
-               type="primary"
 
-               size="small"
 
-               @click.stop="calculate2()"
 
-               :disabled="detailData.status == 1"
 
-               >导入职工信息
 
-             </el-button>
 
-             <el-button
 
-               type="info"
 
-               icon="el-icon-printer"
 
-               size="small"
 
-               :disabled="!form.id"
 
-               @click.stop="openReport()"
 
-               >报表打印</el-button
 
-             >
 
-           </template>
 
-           <template slot="basicsSalaryLabel">
 
-             <el-tag>基础工资:</el-tag>
 
-           </template>
 
-           <template slot="workloadSalaryLabel">
 
-             <el-tag>工作量工资:</el-tag>
 
-           </template>
 
-           <template slot="dailyAssessmentSalaryLabel">
 
-             <el-tag>日常考核工资:</el-tag>
 
-           </template>
 
-           <template slot="customizeFourLabel">
 
-             <el-tag>绩效工资:</el-tag>
 
-           </template>
 
-           <template slot="awardSalaryLabel">
 
-             <el-tag>奖励工资:</el-tag>
 
-           </template>
 
-           <template slot="dutyAllowancesLabel">
 
-             <el-tag>职务津贴:</el-tag>
 
-           </template>
 
-           <template slot="classTeacherSubsidyLabel">
 
-             <el-tag>班主任津贴:</el-tag>
 
-           </template>
 
-           <template slot="subsidyLabel">
 
-             <el-tag>补贴项:</el-tag>
 
-           </template>
 
-           <template slot="deductionsLabel">
 
-             <el-tag>扣除项:</el-tag>
 
-           </template>
 
-           <template slot="salaryLabel">
 
-             <el-tag>应发工资:</el-tag>
 
-           </template>
 
-           <template slot="fSalaryLabel">
 
-             <el-tag>实发工资:</el-tag>
 
-           </template>
 
-           <!-- 1. 基础工资 = +M153(校龄工资)+N153(增资)+O153(学历工资)+Q153(职级工资)+L153(履约奖)+R153(工资基数) -->
 
-           <template
 
-             slot="schoolAgeSalaryForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.schoolAgeSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="capitalIncreaseForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.capitalIncrease"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="educationSalaryForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.educationSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="rankSalaryForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.rankSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="performanceAwardForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.performanceAward"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="salaryBaseForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.salaryBase"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <!-- //2. 工作量工资 = 月份工作量工资+代课工作量工资+双休日工作量工资+工作量工资1+…+工作量工资5 -->
 
-           <template
 
-             slot="momthWorkloadSalaryForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.momthWorkloadSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customTwoForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customTwo"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="doubleMoneyForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.doubleMoney"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customThreeForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customThree"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customFourForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customFour"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customFiveForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customFive"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customSixForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customSix"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customSevenForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customSeven"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="virtualDailyAssessmentCriteriaForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.virtualDailyAssessmentCriteria"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="virtualDoubleCeaseForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.virtualDoubleCease"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <!-- //3.日常考核工资 =日常考核工资-虚拟日常考核标准 -->
 
-           <template
 
-             slot="dailyAssessmentSalaryForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.dailyAssessmentSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="virtualDailyAssessmentCriteriaForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.virtualDailyAssessmentCriteria"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <!-- 4.绩效工资=学期绩效工资+学期绩效工资1+..+学期绩效工资5 -->
 
-           <template
 
-             slot="termPerformanceSalaryForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.termPerformanceSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customNineForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customNine"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customizeForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customize"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customizeOneForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customizeOne"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customizeTwoForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customizeTwo"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customizeThreeForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customizeThree"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <!-- 5.奖励工资=奖励1+…+奖励10 -->
 
-           <template slot="customAwardForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customAward"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customAwardOneForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customAwardOne"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customAwardTwoForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customAwardTwo"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="customAwardThreeForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customAwardThree"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="customAwardFourForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customAwardFour"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="customAwardFiveForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customAwardFive"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customAwardSixForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customAwardSix"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="customAwardSevenForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customAwardSeven"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="customAwardEightForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customAwardEight"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="customAwardNineForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customAwardNine"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <!-- 6.职务津贴=领导干部补贴+领导干部考核补贴+备课组长+备课组长考核补贴+教研组长+教研组长考核补贴 -->
 
-           <template
 
-             slot="leadingCadreSubsidyForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.leadingCadreSubsidy"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customizeFiveForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customizeFive"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="prepareLessonsForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.prepareLessons"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customizeSixForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customizeSix"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="teachingResearchForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.teachingResearch"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customizeSevenForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customizeSeven"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <!-- 7.班主任津贴=班主任补贴+班额津贴-校车考核-班级微信群考核-财务考核+班主任考核津贴						 -->
 
-           <template
 
-             slot="classTeacherFeeForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.classTeacherFee"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="classesForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.classes"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="adjustTheBalanceForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.adjustTheBalance"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="payrollCreditForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.payrollCredit"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="paidForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.paid"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="customizeEightForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.customizeEight"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <!-- 8.补贴项=微信+产假工资+周末工作量工资+补贴1+…+补贴10						 -->
 
-           <template slot="wxForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.wx"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="maternityLeaveSalaryForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.maternityLeaveSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="overtimeAtWeekendForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.overtimeAtWeekend"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="yearUpPerformanceForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.yearUpPerformance"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="yearDownPerformanceForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.yearDownPerformance"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="cadreAllowanceReservationForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.cadreAllowanceReservation"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="vacationOvertimePayForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.vacationOvertimePay"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="newPostTrainForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.newPostTrain"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="winningPrizeForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.winningPrize"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="classMinisterForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.classMinister"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="monthViceClassFeeForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.monthViceClassFee"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="safetyFeesForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.safetyFees"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="reserveReplacementForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.reserveReplacement"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <!-- 9.扣除项=出勤+督查+超额电话费+学习强国+宿舍管理费+生育津贴+扣除1+…+扣除10						 -->
 
-           <template slot="attendanceForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.attendance"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="inspectorFinesForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.inspectorFines"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="telephoneBillForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.telephoneBill"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="learningPowerForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.learningPower"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="dormitoryManagementFeeForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.dormitoryManagementFee"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="childbirthAllowanceForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.childbirthAllowance"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="ribbonOneForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.ribbonOne"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="ribbonTwoForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.ribbonTwo"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="ribbonThreeForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.ribbonThree"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="ribbonFourForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.ribbonFour"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="ribbonFiveForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.ribbonFive"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="ribbonSixForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.ribbonSix"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="ribbonSevenForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.ribbonSeven"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="ribbonEightForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.ribbonEight"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="ribbonNineForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.ribbonNine"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="pauseNoPayForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.pauseNoPay"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <!-- 10.应发工资=基本工资+工作量工资+日常考核工资+奖励工资+职务津贴+班主任津贴+补贴项-扣除项+保险(个人部分)+公积金(个人部分).. 大于800 保险(个人部分) 不加 								 -->
 
-           <template slot="basicsSalaryForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.basicsSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="workloadSalaryForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.workloadSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="dailyAssessmentSalaryForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.dailyAssessmentSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="awardSalaryForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.awardSalary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="dutyAllowancesForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.dutyAllowances"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="classTeacherSubsidyForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.classTeacherSubsidy"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="subsidyForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.subsidy"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="deductionsForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.deductions"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="insurancePersonageForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.insurancePersonage"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template
 
-             slot="reservedFundsPersonageForm"
 
-             slot-scope="{ column, disabled }"
 
-           >
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.reservedFundsPersonage"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <!-- 11.实发工资=应发工资-个人所得税-个人保险-公积金个人						 -->
 
-           <template slot="salaryForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.salary"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot="personageTaxesForm" slot-scope="{ column, disabled }">
 
-             <el-input
 
-               :disabled="disabled"
 
-               :placeholder="'请输入 ' + column.label"
 
-               v-model="crudForm.personageTaxes"
 
-               @change="salaryAdd(crudForm)"
 
-             />
 
-           </template>
 
-           <template slot-scope="{ row, index }" slot="menu">
 
-             <el-button
 
-               type="text"
 
-               size="small"
 
-               @click.stop="$refs.crud.rowEdit(row, index)"
 
-               :disabled="detailData.status == 1"
 
-             >
 
-               {{ row.$cellEdit ? "保存" : "编辑" }}
 
-             </el-button>
 
-             <el-button
 
-               type="text"
 
-               size="small"
 
-               @click.stop="rowDel(row)"
 
-               :disabled="detailData.status == 1"
 
-             >
 
-               删除
 
-             </el-button>
 
-           </template>
 
-         </avue-crud>
 
-         <el-dialog
 
-           title="导入数据"
 
-           append-to-body
 
-           :visible.sync="excelBox"
 
-           width="555px"
 
-           v-dialog-drag
 
-         >
 
-           <avue-form
 
-             :option="excelOption"
 
-             v-model="excelForm"
 
-             table-loading="excelLoading"
 
-             :upload-after="uploadAfter"
 
-             class="schoolupload"
 
-           >
 
-             <template slot="excelTemplate">
 
-               <el-button type="primary" @click="derivation">
 
-                 点击下载<i class="el-icon-download el-icon--right"></i>
 
-               </el-button>
 
-             </template>
 
-             <template slot="date">
 
-               <span>
 
-                 {{ time }}
 
-               </span>
 
-             </template>
 
-           </avue-form>
 
-           <p style="text-align: center;color: #DC0505">
 
-             温馨提示 第一次导入时请先下载模板
 
-           </p>
 
-         </el-dialog>
 
-       </basic-container>
 
-       <containerTitle title="导入附件记录"></containerTitle>
 
-       <basic-container>
 
-         <avue-crud
 
-           :data="annexData"
 
-           :option="annexOption"
 
-           :page.sync="annexPage"
 
-           :table-loading="annexLoading"
 
-           @current-change="currentannexChange"
 
-           @size-change="sizeannexChange"
 
-           @saveColumn="saveannexColumn"
 
-           @refresh-change="refreshannexChange"
 
-           :cell-style="cellStyle"
 
-         >
 
-           <template slot-scope="{ row, index }" slot="menu">
 
-             <el-button
 
-               type="text"
 
-               size="small"
 
-               @click.stop="rowDownload(row, index)"
 
-             >
 
-               下载
 
-             </el-button>
 
-           </template>
 
-         </avue-crud>
 
-       </basic-container>
 
-       <report-dialog
 
-         :switchDialog="switchDialog"
 
-         :reportId="form.id"
 
-         reportName="小学部"
 
-         @onClose="onClose()"
 
-       ></report-dialog>
 
-       <el-dialog
 
-         title="温馨提示"
 
-         :visible.sync="dialogVisible"
 
-         width="70%"
 
-         :before-close="handleClose"
 
-         append-to-body
 
-         class="abnormal"
 
-       >
 
-         <span>
 
-           <avue-crud :data="auditList" :option="auditOption">
 
-             <template slot="menuLeft">
 
-               <el-button type="info" size="small" @click.stop="exportAbnormal()"
 
-                 >导出
 
-               </el-button>
 
-             </template>
 
-           </avue-crud></span
 
-         >
 
-         <span slot="footer" class="dialog-footer">
 
-           <el-button @click="dialogVisible = false">关闭</el-button>
 
-         </span>
 
-       </el-dialog>
 
-     </div>
 
-   </div>
 
- </template>
 
- <script>
 
- import { getToken } from "@/util/auth";
 
- import { dateFormat } from "@/util/date";
 
- import {
 
-   detail,
 
-   copyDetail,
 
-   submit,
 
-   delItem,
 
-   itemAnnex,
 
-   itemDetail,
 
-   pleaseCheck,
 
-   calculate,
 
-   calculate2
 
- } from "@/api/salaryManagement/primarySchool";
 
- import { numCal } from "@/util/calculate";
 
- import { optionList, auditOption } from "./js/optionList";
 
- import reportDialog from "@/components/report-dialog/main";
 
- export default {
 
-   name: "detailsPage",
 
-   data() {
 
-     return {
 
-       time: "",
 
-       dialogVisible: false,
 
-       switchDialog: false,
 
-       annexLoading: false,
 
-       crudForm: {},
 
-       excelBox: false,
 
-       loading: false,
 
-       allloading: false,
 
-       xcelLoading: false,
 
-       loadingBtn: false,
 
-       excelForm: {
 
-         type: "1"
 
-       },
 
-       excelOption: {
 
-         submitBtn: false,
 
-         emptyBtn: false,
 
-         column: [
 
-           {
 
-             label: "导入类型",
 
-             prop: "type",
 
-             type: "select",
 
-             dicUrl: "/api/blade-system/dict-biz/dictionary?code=import_type",
 
-             props: {
 
-               label: "dictValue",
 
-               value: "dictKey"
 
-             },
 
-             row: true,
 
-             span: 12
 
-           },
 
-           {
 
-             label: "模板下载",
 
-             prop: "excelTemplate",
 
-             formslot: true,
 
-             span: 10
 
-           },
 
-           {
 
-             label: "当前时间",
 
-             prop: "date",
 
-             span: 13
 
-           },
 
-           {
 
-             label: "模板上传",
 
-             prop: "excelFile",
 
-             type: "upload",
 
-             drag: true,
 
-             loadText: "模板上传中,请稍等",
 
-             span: 24,
 
-             propsHttp: {
 
-               res: "data"
 
-             },
 
-             tip: "请上传 .xls,.xlsx 标准格式文件",
 
-             action: "/api/blade-school/salaryitem/import/workloadExcel",
 
-             disabled: false
 
-           }
 
-         ]
 
-       },
 
-       form: {},
 
-       dataList: [],
 
-       page: {
 
-         pageSize: 20,
 
-         currentPage: 1,
 
-         total: 0,
 
-         pageSizes: [
 
-           10,
 
-           20,
 
-           30,
 
-           40,
 
-           50,
 
-           100,
 
-           150,
 
-           200,
 
-           250,
 
-           300,
 
-           350,
 
-           400,
 
-           450,
 
-           500
 
-         ]
 
-       },
 
-       drawer: false,
 
-       option: {
 
-         menuBtn: false,
 
-         labelWidth: 40,
 
-         column: [
 
-           {
 
-             label: "年",
 
-             prop: "annual",
 
-             type: "year",
 
-             valueFormat: "yyyy",
 
-             rules: [
 
-               {
 
-                 required: true,
 
-                 message: "",
 
-                 trigger: "blur"
 
-               }
 
-             ],
 
-             span: 6
 
-           },
 
-           {
 
-             label: "月",
 
-             prop: "moon",
 
-             type: "select",
 
-             filterable: true,
 
-             dicUrl: "/api/blade-system/dict-biz/dictionary?code=month",
 
-             props: {
 
-               label: "dictValue",
 
-               value: "dictKey"
 
-             },
 
-             span: 6,
 
-             rules: [
 
-               {
 
-                 required: true,
 
-                 message: "",
 
-                 trigger: "blur"
 
-               }
 
-             ],
 
-             change: ({ value }) => {
 
-               if (value) {
 
-                 this.optionList.column.forEach(e => {
 
-                   if (e.prop == "monthHour") {
 
-                     e.label = value + "月份工作量";
 
-                   }
 
-                   if (e.prop == "monthPrice") {
 
-                     e.label = value + "月课时费";
 
-                   }
 
-                   if (e.prop == "momthWorkloadSalary") {
 
-                     e.label = value + "月工作量工资";
 
-                   }
 
-                 });
 
-               }
 
-             }
 
-           },
 
-           {
 
-             label: "人数",
 
-             prop: "personNumber",
 
-             span: 6,
 
-             disabled: true
 
-           },
 
-           {
 
-             label: "状态",
 
-             prop: "status",
 
-             type: "select",
 
-             span: 6,
 
-             props: {
 
-               label: "name",
 
-               value: "code"
 
-             },
 
-             dicData: [
 
-               {
 
-                 name: "录入",
 
-                 code: 0
 
-               },
 
-               {
 
-                 name: "申请审批",
 
-                 code: 1
 
-               },
 
-               {
 
-                 name: "审批中",
 
-                 code: 2
 
-               },
 
-               {
 
-                 name: "审批通过",
 
-                 code: 3
 
-               }
 
-             ],
 
-             disabled: true
 
-           },
 
-           {
 
-             label: "备注",
 
-             prop: "remarks",
 
-             type: "textarea",
 
-             span: 24,
 
-             minRows: 2
 
-           }
 
-         ]
 
-       },
 
-       optionList: optionList,
 
-       exportUrl: "/api/blade-school/salaryitem/export/workloadExcel",
 
-       annexData: [],
 
-       annexOption: {
 
-         align: "center",
 
-         menuAlign: "center",
 
-         addBtn: false,
 
-         border: true,
 
-         index: true,
 
-         viewBtn: false,
 
-         editBtn: false,
 
-         delBtn: false,
 
-         stripe: true,
 
-         menuWidth: 100,
 
-         column: [
 
-           {
 
-             label: "文件类型",
 
-             prop: "fileType",
 
-             overHidden: true
 
-           },
 
-           {
 
-             label: "文件名",
 
-             prop: "cname",
 
-             overHidden: true
 
-           },
 
-           {
 
-             label: "创建时间",
 
-             prop: "createTime",
 
-             overHidden: true
 
-           },
 
-           {
 
-             label: "创建人",
 
-             prop: "createName",
 
-             overHidden: true
 
-           },
 
-           {
 
-             label: "备注",
 
-             prop: "remarks",
 
-             overHidden: true
 
-           }
 
-         ]
 
-       },
 
-       annexPage: {
 
-         pageSize: 10,
 
-         currentPage: 1,
 
-         total: 0,
 
-         pageSizes: [
 
-           10,
 
-           20,
 
-           30,
 
-           40,
 
-           50,
 
-           100,
 
-           150,
 
-           200,
 
-           250,
 
-           300,
 
-           350,
 
-           400,
 
-           450,
 
-           500
 
-         ]
 
-       },
 
-       auditList: [],
 
-       auditOption: auditOption
 
-     };
 
-   },
 
-   props: {
 
-     detailData: {
 
-       type: Object
 
-     }
 
-   },
 
-   components: {
 
-     reportDialog
 
-   },
 
-   created() {
 
-     if (this.detailData.id) {
 
-       this.getDetail(this.detailData.id);
 
-     }
 
-     if (this.detailData.status == 1) {
 
-       this.option.disabled = true;
 
-     }
 
-     this.optionList.height = 450;
 
-     this.annexOption.height = 450;
 
-     // this.auditOption.height = 600;
 
-   },
 
-   methods: {
 
-     getTime() {
 
-       setInterval(() => {
 
-         this.time = dateFormat(new Date());
 
-       }, 1000);
 
-     },
 
-     cellStyle() {
 
-       return "padding:0;height:40px;";
 
-     },
 
-     headerCellClassName({ row, column, rowIndex, columnIndex }) {
 
-       if (
 
-         column.property == "basicsSalary" ||
 
-         column.property == "workloadSalary" ||
 
-         column.property == "customizeFour" ||
 
-         column.property == "awardSalary" ||
 
-         column.property == "awardSalary" ||
 
-         column.property == "dutyAllowances" ||
 
-         column.property == "classTeacherSubsidy" ||
 
-         column.property == "subsidy" ||
 
-         column.property == "deductions" ||
 
-         column.property == "salary" ||
 
-         column.property == "fSalary"
 
-       ) {
 
-         return "headerCellClass";
 
-       }
 
-       if (
 
-         column.property == "salaryWithdrawalStandard" ||
 
-         column.property == "rankWithdrawalStandard" ||
 
-         column.property == "customEight" ||
 
-         column.property == "rankStandard" ||
 
-         column.property == "salaryBaseName" ||
 
-         column.property == "workloadSalaryCritertion" ||
 
-         column.property == "virtualWorkloadSalary" ||
 
-         column.property == "doubleCease" ||
 
-         column.property == "dailyAssessmentCriteria" ||
 
-         column.property == "virtualDailyAssessmentCriteria" ||
 
-         column.property == "termPerformanceSalaryName" ||
 
-         column.property == "salaryWithdrawalStandard" ||
 
-         column.property == "rankWithdrawalStandard" ||
 
-         column.property == "rankStandard" ||
 
-         column.property == "salaryBaseName" ||
 
-         column.property == "workloadSalaryCritertion" ||
 
-         column.property == "virtualWorkloadSalary" ||
 
-         column.property == "doubleCease" ||
 
-         column.property == "dailyAssessmentCriteria" ||
 
-         column.property == "virtualDailyAssessmentCriteria" ||
 
-         column.property == "otherCriterion" ||
 
-         column.property == "teacherSubsidy" ||
 
-         column.property == "teacherAssessSubsidy" ||
 
-         column.property == "performanceAwardName" ||
 
-         column.property == "capitalIncreaseName" ||
 
-         column.property == "leadingCadreSubsidyName" ||
 
-         column.property == "assessLeadingCadreSubsidyName" ||
 
-         column.property == "prepareLessonsName" ||
 
-         column.property == "assessPrepareLessonsName" ||
 
-         column.property == "teachingResearchName" ||
 
-         column.property == "assessTeachingResearchName" ||
 
-         column.property == "virtualDoubleCease" ||
 
-         column.property == "schoolAge"
 
-       ) {
 
-         return "headerCellClass2";
 
-       }
 
-     },
 
-     copyDoc() {
 
-       this.$emit("copyOrder", this.form.id);
 
-     },
 
-     getDetail(id) {
 
-       if (this.detailData.status == "copy") {
 
-         this.allloading = true;
 
-         copyDetail(id)
 
-           .then(res => {
 
-             this.form = res.data.data;
 
-             this.getItemDetail();
 
-           })
 
-           .finally(() => {
 
-             this.allloading = false;
 
-           });
 
-       } else {
 
-         detail(id).then(res => {
 
-           this.form = res.data.data;
 
-           this.getItemDetail();
 
-           this.getitemAnnex();
 
-         });
 
-       }
 
-     },
 
-     getItemDetail() {
 
-       const data = {
 
-         pid: this.form.id,
 
-         ...this.search
 
-       };
 
-       this.loading = true;
 
-       itemDetail(this.page.currentPage, this.page.pageSize, data)
 
-         .then(res => {
 
-           this.dataList = res.data.data.records;
 
-           this.page.total = res.data.data.total;
 
-         })
 
-         .finally(() => {
 
-           this.loading = false;
 
-         });
 
-     },
 
-     getitemAnnex() {
 
-       const data = {
 
-         pid: this.form.id
 
-       };
 
-       this.annexLoading = true;
 
-       itemAnnex(this.annexPage.currentPage, this.annexPage.pageSize, data)
 
-         .then(res => {
 
-           this.annexData = res.data.data.records;
 
-           this.annexPage.total = res.data.data.total;
 
-         })
 
-         .finally(() => {
 
-           this.annexLoading = false;
 
-         });
 
-     },
 
-     rowSave(row, done, loading) {
 
-       if (!row.cname) {
 
-         loading();
 
-         return this.$message.error("请完善姓名");
 
-       }
 
-       if (!row.idNumber) {
 
-         loading();
 
-         return this.$message.error("请完善身份证号");
 
-       }
 
-       const arr = [];
 
-       arr.push(row);
 
-       submit({ ...this.form, salaryItemList: arr })
 
-         .then(res => {
 
-           this.$message.success("保存成功");
 
-           this.form = res.data.data;
 
-           this.getItemDetail();
 
-           done();
 
-         })
 
-         .finally(() => {
 
-           loading();
 
-         });
 
-     },
 
-     rowUpdate(row, index, done, loading) {
 
-       if (!row.cname) {
 
-         loading();
 
-         return this.$message.error("请完善姓名");
 
-       }
 
-       if (!row.idNumber) {
 
-         loading();
 
-         return this.$message.error("请完善身份证号");
 
-       }
 
-       const arr = [];
 
-       arr.push(row);
 
-       submit({ ...this.form, salaryType: "小学部", salaryItemList: arr })
 
-         .then(res => {
 
-           this.$message.success("修改成功");
 
-           this.form = res.data.data;
 
-           this.getItemDetail();
 
-           done();
 
-         })
 
-         .finally(() => {
 
-           loading();
 
-         });
 
-     },
 
-     rowCell(row, index) {
 
-       if (row.$cellEdit == true) {
 
-         if (!row.cname) {
 
-           return this.$message.error("请完善姓名");
 
-         }
 
-         if (!row.idNumber) {
 
-           return this.$message.error("请完善身份证号");
 
-         }
 
-         // if (!row.rankStandard) {
 
-         //   return this.$message.error("请完善职级标准");
 
-         // }
 
-         const arr = [];
 
-         arr.push(row);
 
-         this.loading = true;
 
-         submit({ ...this.form, salaryItemList: arr })
 
-           .then(res => {
 
-             this.$message.success("保存成功");
 
-             this.form = res.data.data;
 
-           })
 
-           .finally(() => {
 
-             this.loading = false;
 
-           });
 
-         this.$set(row, "$cellEdit", false);
 
-       } else {
 
-         this.$set(row, "$cellEdit", true);
 
-       }
 
-     },
 
-     rowDel(row) {
 
-       this.$confirm("确定删除数据?", {
 
-         confirmButtonText: "确定",
 
-         cancelButtonText: "取消",
 
-         type: "warning"
 
-       }).then(() => {
 
-         if (row.id) {
 
-           delItem(row.id).then(res => {
 
-             this.$message({
 
-               type: "success",
 
-               message: "删除成功!"
 
-             });
 
-             this.getItemDetail();
 
-           });
 
-         } else {
 
-           this.$message({
 
-             type: "success",
 
-             message: "删除成功!"
 
-           });
 
-           this.dataList.splice(row.$index, 1);
 
-         }
 
-       });
 
-     },
 
-     rowDownload(row) {
 
-       window.open(`${row.url}?${this.website.tokenHeader}=${getToken()}`);
 
-     },
 
-     searchChange(params, done) {
 
-       if (!this.form.id) {
 
-         done();
 
-         return this.$message.error("请保存数据");
 
-       }
 
-       this.getItemDetail();
 
-       done();
 
-     },
 
-     currentChange(val) {
 
-       this.page.currentPage = val;
 
-       this.getItemDetail();
 
-     },
 
-     sizeChange(val) {
 
-       this.page.currentPage = 1;
 
-       this.page.pageSize = val;
 
-       this.getItemDetail();
 
-     },
 
-     refreshChange() {
 
-       this.getItemDetail();
 
-     },
 
-     currentannexChange(val) {
 
-       this.annexPage.currentPage = val;
 
-       this.getitemAnnex();
 
-     },
 
-     sizeannexChange(val) {
 
-       this.annexPage.currentPage = 1;
 
-       this.annexPage.pageSize = val;
 
-       this.getitemAnnex();
 
-     },
 
-     refreshannexChange() {
 
-       this.getitemAnnex();
 
-     },
 
-     uploadAfter(res, done, loading, column) {
 
-       this.excelBox = false;
 
-       // this.$message.success("导入成功!");
 
-       this.getItemDetail();
 
-       this.getitemAnnex();
 
-       done();
 
-     },
 
-     //修改提交触发
 
-     editCustomer() {
 
-       this.$refs["form"].validate((valid, done) => {
 
-         done();
 
-         if (valid) {
 
-           for (let i = 0; i < this.dataList.length; i++) {
 
-             if (!this.dataList[i].cname) {
 
-               return this.$message.error(
 
-                 "请完善第" + Number(1 + i) + "行的姓名"
 
-               );
 
-             }
 
-             if (!this.dataList[i].idNumber) {
 
-               return this.$message.error(
 
-                 "请完善第" + Number(1 + i) + "行的身份证号"
 
-               );
 
-             }
 
-             if (!this.dataList[i].rankStandard) {
 
-               return this.$message.error(
 
-                 "请完善第" + Number(1 + i) + "行的职级标准"
 
-               );
 
-             }
 
-           }
 
-           this.loadingBtn = true;
 
-           submit({
 
-             ...this.form,
 
-             salaryType: "小学部",
 
-             salaryItemList: this.dataList
 
-           })
 
-             .then(res => {
 
-               this.$message.success("保存成功");
 
-               this.form = res.data.data;
 
-               this.getItemDetail();
 
-             })
 
-             .finally(() => {
 
-               this.loadingBtn = false;
 
-             });
 
-         } else {
 
-           return false;
 
-         }
 
-       });
 
-     },
 
-     derivation() {
 
-       if (!this.excelForm.type) {
 
-         return this.$message.error("请选择导入类型");
 
-       }
 
-       if (!this.exportUrl) {
 
-         return this.$message.error("暂无模板文件");
 
-       }
 
-       window.open(
 
-         `${this.exportUrl}?${this.website.tokenHeader}=${getToken()}`
 
-       );
 
-     },
 
-     openExport() {
 
-       if (!this.form.id) {
 
-         return this.$message.error("请先保存数据");
 
-       }
 
-       window.open(
 
-         `/api/blade-school/salaryitem/export/teacher?${
 
-           this.website.tokenHeader
 
-         }=${getToken()}&pid=${this.form.id}`
 
-       );
 
-     },
 
-     calculate() {
 
-       if (!this.form.id) {
 
-         return this.$message.error("请先保存数据");
 
-       }
 
-       this.loading = true;
 
-       calculate({ pid: this.form.id })
 
-         .then(res => {
 
-           if (res.data.code == "200") {
 
-             this.getItemDetail();
 
-           }
 
-         })
 
-         .finally(() => {
 
-           this.loading = false;
 
-         });
 
-     },
 
-     calculate2() {
 
-       // return this.$message.error("正在开发中");
 
-       if (!this.form.id) {
 
-         return this.$message.error("请先保存数据");
 
-       }
 
-       this.loading = true;
 
-       calculate2({ inSection: "小学部", pid: this.form.id })
 
-         .then(res => {
 
-           if (res.data.code == "200") {
 
-             this.getItemDetail();
 
-           }
 
-         })
 
-         .finally(() => {
 
-           this.loading = false;
 
-         });
 
-     },
 
-     importExcel() {
 
-       if (!this.form.id) {
 
-         return this.$message.error("请先保存数据");
 
-       }
 
-       this.excelOption.column.forEach(e => {
 
-         if (e.prop == "excelFile") {
 
-           e.data = {
 
-             id: this.form.id
 
-           };
 
-         }
 
-       });
 
-       this.excelBox = true;
 
-       this.getTime();
 
-     },
 
-     //导出全部
 
-     exportAll() {
 
-       let opt = {
 
-         title: "工资条",
 
-         column: this.optionList.column,
 
-         data: this.dataList
 
-       };
 
-       this.$Export.excel({
 
-         title: opt.title,
 
-         columns: opt.column,
 
-         data: opt.data
 
-       });
 
-     },
 
-     salaryAdd(row) {
 
-       // 1. 基础工资 = +M153(校龄工资)+N153(增资)+O153(学历工资)+Q153(职级工资)+L153(履约奖)+R153(工资基数)
 
-       row.basicsSalary =
 
-         numCal(row.schoolAgeSalary) +
 
-         numCal(row.capitalIncrease) +
 
-         numCal(row.educationSalary) +
 
-         numCal(row.rankSalary) +
 
-         numCal(row.salaryBase) +
 
-         numCal(row.performanceAward);
 
-       //2. 工作量工资 = 月份工作量工资+代课工作量工资+双休日工作量工资+工作量工资1+…+工作量工资5-虚拟工作量工资标准-虚拟双休日工作量工资标准
 
-       row.workloadSalary =
 
-         numCal(row.momthWorkloadSalary) +
 
-         numCal(row.customTwo) +
 
-         numCal(row.doubleMoney) +
 
-         numCal(row.customThree) +
 
-         numCal(row.customFour) +
 
-         numCal(row.customFive) +
 
-         numCal(row.customSix) +
 
-         numCal(row.customSeven) -
 
-         numCal(row.virtualDailyAssessmentCriteria) -
 
-         numCal(row.virtualDoubleCease);
 
-       //3.日常考核工资 =日常考核工资-虚拟日常考核标准
 
-       row.dailyAssessmentSalary =
 
-         numCal(row.dailyAssessmentSalary) -
 
-         numCal(row.virtualDailyAssessmentCriteria);
 
-       // 4.绩效工资=学期绩效工资+学期绩效工资1+..+学期绩效工资5
 
-       row.customizeFour =
 
-         numCal(row.termPerformanceSalary) +
 
-         numCal(row.customNine) +
 
-         numCal(row.customize) +
 
-         numCal(row.customizeOne) +
 
-         numCal(row.customizeTwo) +
 
-         numCal(row.customizeThree);
 
-       // 5.奖励工资=奖励1+…+奖励10
 
-       row.awardSalary =
 
-         numCal(row.customAward) +
 
-         numCal(row.customAwardOne) +
 
-         numCal(row.customAwardTwo) +
 
-         numCal(row.customAwardThree) +
 
-         numCal(row.customAwardFour) +
 
-         numCal(row.customAwardFive) +
 
-         numCal(row.customAwardSix) +
 
-         numCal(row.customAwardSeven) +
 
-         numCal(row.customAwardEight) +
 
-         numCal(row.customAwardNine);
 
-       // 6.职务津贴=领导干部补贴+领导干部考核补贴+备课组长+备课组长考核补贴+教研组长+教研组长考核补贴
 
-       row.dutyAllowances =
 
-         numCal(row.leadingCadreSubsidy) +
 
-         numCal(row.customizeFive) +
 
-         numCal(row.prepareLessons) +
 
-         numCal(row.customizeSix) +
 
-         numCal(row.teachingResearch) +
 
-         numCal(row.customizeSeven);
 
-       // 7.班主任津贴=班主任补贴+班额津贴-校车考核-班级微信群考核-财务考核+班主任考核津贴
 
-       row.classTeacherSubsidy =
 
-         numCal(row.classTeacherFee) +
 
-         numCal(row.classes) -
 
-         numCal(row.adjustTheBalance) -
 
-         numCal(row.payrollCredit) -
 
-         numCal(row.paid) +
 
-         numCal(row.customizeEight);
 
-       // 8.补贴项=微信+产假工资+周末工作量工资+补贴1+…+补贴10
 
-       row.subsidy =
 
-         numCal(row.wx) +
 
-         numCal(row.maternityLeaveSalary) +
 
-         numCal(row.overtimeAtWeekend) +
 
-         numCal(row.yearUpPerformance) +
 
-         numCal(row.yearDownPerformance) +
 
-         numCal(row.cadreAllowanceReservation) +
 
-         numCal(row.vacationOvertimePay) +
 
-         numCal(row.newPostTrain) +
 
-         numCal(row.winningPrize) +
 
-         numCal(row.classMinister) +
 
-         numCal(row.monthViceClassFee) +
 
-         numCal(row.safetyFees) +
 
-         numCal(row.reserveReplacement);
 
-       // 9.扣除项=出勤+督查+超额电话费+学习强国+宿舍管理费+生育津贴+扣除1+…+扣除10
 
-       row.deductions =
 
-         numCal(row.attendance) +
 
-         numCal(row.inspectorFines) +
 
-         numCal(row.telephoneBill) +
 
-         numCal(row.learningPower) +
 
-         numCal(row.dormitoryManagementFee) +
 
-         numCal(row.childbirthAllowance) +
 
-         numCal(row.ribbonOne) +
 
-         numCal(row.ribbonTwo) +
 
-         numCal(row.ribbonThree) +
 
-         numCal(row.ribbonFour) +
 
-         numCal(row.ribbonFive) +
 
-         numCal(row.ribbonSix) +
 
-         numCal(row.ribbonSeven) +
 
-         numCal(row.ribbonEight) +
 
-         numCal(row.ribbonNine) +
 
-         numCal(row.pauseNoPay);
 
-       // 10.应发工资=基本工资+工作量工资+日常考核工资+奖励工资+职务津贴+班主任津贴+补贴项-扣除项+保险(个人部分)+公积金(个人部分).. 大于800 保险(个人部分) 不加
 
-       if (row.insurancePersonage > 700) {
 
-         row.salary =
 
-           numCal(row.basicsSalary) +
 
-           numCal(row.workloadSalary) +
 
-           numCal(row.dailyAssessmentSalary) +
 
-           numCal(row.awardSalary) +
 
-           numCal(row.dutyAllowances) +
 
-           numCal(row.classTeacherSubsidy) +
 
-           numCal(row.subsidy) -
 
-           numCal(row.deductions) +
 
-           numCal(row.reservedFundsPersonage);
 
-       } else {
 
-         row.salary =
 
-           numCal(row.basicsSalary) +
 
-           numCal(row.workloadSalary) +
 
-           numCal(row.dailyAssessmentSalary) +
 
-           numCal(row.awardSalary) +
 
-           numCal(row.dutyAllowances) +
 
-           numCal(row.classTeacherSubsidy) +
 
-           numCal(row.subsidy) -
 
-           numCal(row.deductions) +
 
-           numCal(row.insurancePersonage) +
 
-           numCal(row.reservedFundsPersonage);
 
-       }
 
-       // 11.实发工资=应发工资-个人所得税-个人保险-公积金个人
 
-       row.fSalary =
 
-         numCal(row.salary) -
 
-         numCal(row.personageTaxes) -
 
-         numCal(row.insurancePersonage) -
 
-         numCal(row.reservedFundsPersonage);
 
-     },
 
-     //导出工资条
 
-     exportSalary() {
 
-       let data = [];
 
-       for (let item in this.optionList.column) {
 
-         switch (this.optionList.column[item].prop) {
 
-           case "salaryBase":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "workloadSalary":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "dailyAssessmentSalary":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "awardSalary":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "dutyAllowances":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "classTeacherSubsidy":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "subsidy":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "deductions":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "insuranceUnit":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "insurancePersonage":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "reservedFundsUnit":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "reservedFundsPersonage":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "salary":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "personageTaxes":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-           case "fsalary":
 
-             data.push(this.optionList.column[item]);
 
-             break;
 
-         }
 
-       }
 
-       let opt = {
 
-         title: "工资条",
 
-         column: data,
 
-         data: this.dataList
 
-       };
 
-       this.$Export.excel({
 
-         title: opt.title,
 
-         columns: opt.column,
 
-         data: opt.data
 
-       });
 
-     },
 
-     openEdit() {
 
-       const data = {
 
-         moduleName: "xxb",
 
-         tableName: "primary_school",
 
-         billId: this.form.id,
 
-         no: localStorage.getItem("browserID"),
 
-         billNo: this.form.annual + "-" + this.form.moon
 
-       };
 
-       this.inDetailsKey(this.$route.name, {
 
-         moduleName: "xxb",
 
-         tableName: "primary_school",
 
-         billId: this.form.id,
 
-         billNo: this.form.annual + "-" + this.form.moon
 
-       });
 
-       this.checkLock(data).then(res => {
 
-         if (res.data.code == 200) {
 
-           this.onLock(data).then(res => {
 
-             if (res.data.code == 200) {
 
-               this.detailData.status = 2;
 
-               this.option = this.$options.data().option;
 
-             }
 
-           });
 
-         }
 
-       });
 
-     },
 
-     openReport() {
 
-       this.switchDialog = !this.switchDialog;
 
-     },
 
-     onClose(val) {
 
-       this.switchDialog = val;
 
-     },
 
-     // 请核
 
-     pleaseCheck() {
 
-       this.$confirm("您确定提交此次申请吗?", {
 
-         confirmButtonText: "确定",
 
-         cancelButtonText: "取消",
 
-         type: "warning"
 
-       }).then(() => {
 
-         const data = {
 
-           id: this.form.id,
 
-           checkType: "xsgz",
 
-           url: "/salaryManagement/primarySchool/index",
 
-           pageStatus: "this.$store.getters.domSaleStatus",
 
-           pageLabel: "小学部",
 
-           checkFlag: 2
 
-         };
 
-         pleaseCheck(data).then(res => {
 
-           if (res.data.msg == "请核失败") {
 
-             this.dialogVisible = true;
 
-             this.auditList = res.data.data;
 
-           } else {
 
-             this.$message.success("请核成功");
 
-             this.detailData.status = 1;
 
-             this.option.disabled = true;
 
-             this.getDetail(this.form.id);
 
-           }
 
-         });
 
-       });
 
-     },
 
-     handleClose() {
 
-       this.auditList = [];
 
-       this.dialogVisible = false;
 
-     },
 
-     exportAbnormal() {
 
-       window.open(
 
-         `/api//blade-school/salaryitem/export/exception?${
 
-           this.website.tokenHeader
 
-         }=${getToken()}&pid=${this.form.id}`
 
-       );
 
-     },
 
-     //返回列表
 
-     backToList() {
 
-       if (this.form.id) {
 
-         this.unLock({
 
-           moduleName: "xxb",
 
-           tableName: "primary_school",
 
-           billId: this.form.id,
 
-           billNo: this.form.annual + "-" + this.form.moon
 
-         });
 
-       }
 
-       this.$emit("goBack");
 
-       this.leaveDetailsKey(this.$route.name);
 
-     }
 
-   },
 
-   watch: {
 
-     "excelForm.type": function(val) {
 
-       if (val) {
 
-         switch (val) {
 
-           case "1":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/workloadExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/workloadExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "2":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/teacherSubsidy";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/teacherSubsidy";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "3":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/schoolBusExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/schoolBusExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "4":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/classWeChatExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/classWeChatExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "5":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/fnanceExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/fnanceExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "6":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/position";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/position";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "7":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/zhaPingExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/zhaPingExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "8":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/overtime";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/overtime";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "9":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/weChat";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/weChat";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "10":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/power";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/power";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "11":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/phoneFine";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/phoneFine";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "12":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/fineExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/fineExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "13":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/sanitationFee";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/sanitationFee";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "14":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/insuranceExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/insuranceExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "15":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/reservedFunds";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/reservedFunds";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "16":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/attendanceExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/attendanceExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "17":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/eomNumberExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/eomNumberExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "18":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/payTaxes";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/payTaxes";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "19":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/awardExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/awardExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "20":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/subsidyExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/subsidyExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "21":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/deductExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/deductExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "22":
 
-             this.exportUrl = "/api/blade-school/salaryitem/export/leadExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/leadExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "23":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/teamLeaderExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/teamLeaderExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "24":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/prepareLessonsExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/prepareLessonsExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "25":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/teachingExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/teachingExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "26":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/doubleWorkloadExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/doubleWorkloadExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           case "27":
 
-             this.exportUrl =
 
-               "/api/blade-school/salaryitem/export/probationExcel";
 
-             this.findObject(this.excelOption.column, "excelFile").action =
 
-               "/api/blade-school/salaryitem/import/probationExcel";
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = false;
 
-             break;
 
-           default:
 
-             this.findObject(
 
-               this.excelOption.column,
 
-               "excelFile"
 
-             ).disabled = true;
 
-             this.exportUrl = "";
 
-         }
 
-       } else {
 
-         this.findObject(this.excelOption.column, "excelFile").disabled = true;
 
-       }
 
-     }
 
-   }
 
- };
 
- </script>
 
- <style>
 
- .headerCellClass {
 
-   color: #fff !important;
 
-   background: #a4cf57 !important;
 
- }
 
- .headerCellClass2 {
 
-   color: #fff !important;
 
-   background: #a0cfff !important;
 
- }
 
- </style>
 
- <style lang="scss" scoped>
 
- .trading-form ::v-deep .el-form-item {
 
-   margin-bottom: 4px !important;
 
- }
 
- ::v-deep .el-form-item__error {
 
-   display: none !important;
 
- }
 
- .schoolupload ::v-deep .el-upload-list {
 
-   display: none;
 
- }
 
- .abnormal ::v-deep .el-dialog__body {
 
-   padding: 10px 20px;
 
- }
 
- </style>
 
 
  |