提交 4ae7b784 编写于 作者: 符英鹏's avatar 符英鹏 🏀

feat:'所有查询年份都变成学年'

上级 a26bd4f1
流水线 #7810 已通过 ,包含阶段
in 1 minute 和 29 second
无法预览此类型文件
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>iView Admin Pro</title><link href=css/app.5ea00409.css rel=stylesheet></head><body><noscript><strong>请开启 JavaScript 功能来使用 iView Admin Pro。</strong></noscript><div id=app></div><script src=js/chunk-vendors.35c4ce0a.js></script><script src=js/app.38322bdc.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>iView Admin Pro</title><link href=css/app.5ea00409.css rel=stylesheet></head><body><noscript><strong>请开启 JavaScript 功能来使用 iView Admin Pro。</strong></noscript><div id=app></div><script src=js/chunk-vendors.35c4ce0a.js></script><script src=js/app.e8d5bd1f.js></script></body></html>
\ No newline at end of file \ No newline at end of file
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22cbc5"],{f500:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{attrs:{bordered:!1}},[a("table-form",{ref:"form",on:{"on-submit":t.getData,"on-reset":t.getData}}),a("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"applyforStatus",fn:function(e){var r=e.row;return["审核中"==r.applyforStatus?a("Tag",{attrs:{color:"warning"}},[t._v("审核中")]):t._e(),"已审核"==r.applyforStatus?a("Tag",{attrs:{color:"success"}},[t._v("已审核")]):t._e()]}},{key:"action",fn:function(e){var r=e.row;return[a("div",{on:{click:function(t){t.stopPropagation(),t.preventDefault()}}},[a("a",{attrs:{type:"text"},on:{click:function(e){return t.handleCheck(r.id)}}},[t._v("查看详情")])])]}}])}),a("Page",{staticClass:"ivu-mt",attrs:{total:t.total,"show-total":"","show-elevator":"","show-sizer":"","class-name":"pagenation",current:t.pageIndex,"page-size":t.pageSize,"page-size-opts":[10,20,50]},on:{"on-change":t.handleCurrentChange,"on-page-size-change":t.handleSizeChange}})],1)],1)},o=[],n=a("55ae"),l=a("7274"),s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Form",{ref:"form",attrs:{model:t.data,rules:t.rules,"label-width":t.labelWidth,"label-position":t.labelPosition}},[a("Row",{attrs:{gutter:24,type:"flex",justify:"space-between"}},[a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"年份",prop:"year","label-for":"year"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"year"},model:{value:t.data.year,callback:function(e){t.$set(t.data,"year",e)},expression:"data.year"}},t._l(t.yearList,(function(e,r){return a("Option",{key:r,attrs:{value:e.schoolYear}},[t._v(t._s(e.schoolYearName))])})),1)],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"申请状态:",prop:"status","label-for":"status"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"status"},model:{value:t.data.status,callback:function(e){t.$set(t.data,"status",e)},expression:"data.status"}},[a("Option",{attrs:{value:"审核中"}},[t._v("审核中")]),a("Option",{attrs:{value:"已审核"}},[t._v("已审核")])],1)],1)],1),t.collapse?[a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"申请项目:",prop:"itemName","label-for":"itemName"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"itemName"},model:{value:t.data.itemName,callback:function(e){t.$set(t.data,"itemName",e)},expression:"data.itemName"}},[a("Option",{attrs:{value:"国家奖学金"}},[t._v("国家奖学金")]),a("Option",{attrs:{value:"国家励志奖学金"}},[t._v("国家励志奖学金")])],1)],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"姓名或学号:",prop:"search","label-for":"search"}},[a("Input",{directives:[{name:"width",rawName:"v-width",value:"100%",expression:"'100%'"}],attrs:{placeholder:"请输入","element-id":"search"},model:{value:t.data.search,callback:function(e){t.$set(t.data,"search",e)},expression:"data.search"}})],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"学院",prop:"deptID","label-for":"deptID"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"deptID",clearable:""},model:{value:t.data.deptID,callback:function(e){t.$set(t.data,"deptID",e)},expression:"data.deptID"}},t._l(t.deptList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1)],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"年级",prop:"grade","label-for":"grade"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"grade",clearable:""},model:{value:t.data.grade,callback:function(e){t.$set(t.data,"grade",e)},expression:"data.grade"}},t._l(t.gradeList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1)],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"专业",prop:"majorID","label-for":"majorID"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"majorID",clearable:""},model:{value:t.data.majorID,callback:function(e){t.$set(t.data,"majorID",e)},expression:"data.majorID"}},t._l(t.majorList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1)],1)],1)]:t._e(),a("Col",t._b({staticClass:"ivu-text-right"},"Col",t.grid,!1),[a("FormItem",[a("Button",{attrs:{type:"primary"},on:{click:t.handleSubmit}},[t._v("查询")]),a("Button",{staticClass:"ivu-ml-8",on:{click:t.handleReset}},[t._v("重置")]),a("a",{directives:[{name:"font",rawName:"v-font",value:14,expression:"14"}],staticClass:"ivu-ml-8",on:{click:function(e){t.collapse=!t.collapse}}},[t.collapse?[t._v(" 收起 "),a("Icon",{attrs:{type:"ios-arrow-up"}})]:[t._v("\n 展开 "),a("Icon",{attrs:{type:"ios-arrow-down"}})]],2)],1)],1)],2)],1)},i=[],c=(a("ac67"),a("1bc7"),a("32ea"),a("7736"));function d(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function u(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?d(Object(a),!0).forEach((function(e){Object(n["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var p={data:function(){return{yearList:[],deptList:[],gradeList:[],majorList:[],grid:{xl:8,lg:8,md:12,sm:24,xs:24},collapse:!1,data:{year:"",status:"已审核",itemName:"国家奖学金",search:"",deptID:"",grade:"",majorID:""},rules:{}}},computed:u(u({},Object(c["e"])("admin/layout",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:100},labelPosition:function(){return this.isMobile?"top":"right"}}),watch:{"data.deptID":function(){this.data.grade="",this.data.majorID="",this.GetGradeByDeptID()},"data.grade":function(){this.data.majorID="",this.GetMajorInfoByDeptID()}},created:function(){this.GetNowSchoolYear(),this.GetAllDeptInfo()},methods:{handleSubmit:function(){this.$emit("on-submit",this.data)},handleReset:function(){this.$refs.form.resetFields(),this.$emit("on-reset")},GetNowSchoolYear:function(){var t=this;l["m"]().then((function(e){console.log(e),e.map((function(e){"YES"==e.isNow&&(t.data.year=e.schoolYear)})),t.yearList=e,t.$parent.$parent.getData()}))},GetAllDeptInfo:function(){var t=this;l["h"]().then((function(e){t.deptList=e}))},GetGradeByDeptID:function(){var t=this,e={deptID:this.data.deptID};l["j"](e).then((function(e){t.gradeList=e}))},GetMajorInfoByDeptID:function(){var t=this,e={deptID:this.data.deptID,grade:this.data.grade};l["k"](e).then((function(e){t.majorList=e}))}}},m=p,h=a("4ac2"),f=Object(h["a"])(m,s,i,!1,null,null,null),b=f.exports,g={data:function(){var t;return t={columns:[],tableData:[],totalData:[],loading:!1,yearList:[],selectYear:"",projectList:[],selectPro:"",selectStatus:0},Object(n["a"])(t,"loading",!1),Object(n["a"])(t,"total",0),Object(n["a"])(t,"pageIndex",1),Object(n["a"])(t,"pageSize",10),Object(n["a"])(t,"deptList",[]),Object(n["a"])(t,"selectDept",""),Object(n["a"])(t,"selectType",""),t},components:{tableForm:b},mounted:function(){},methods:{getData:function(){var t=this,e=this.$refs.form.data;this.loading=!0,l["c"](e).then((function(e){t.loading=!1,t.columns.length<=0&&(t.columns=[{type:"index",width:80,align:"center",title:"序号"}],Object.assign(t.columns,e.titlelist),t.columns.push({title:"操作",slot:"action"})),t.totalData=e.tableData,t.total=e.tableData.length,t.setCurrentPageData()}))},handleCurrentChange:function(t){this.pageIndex=t,this.setCurrentPageData()},handleSizeChange:function(t){this.pageSize=t,this.setCurrentPageData()},setCurrentPageData:function(t){var e=t||this.totalData,a=(this.pageIndex-1)*this.pageSize,r=this.pageIndex*this.pageSize;this.tableData=e.slice(a,r)},handleCheck:function(t){window.sessionStorage.setItem("item","innovation"),this.$router.push({name:"detail",params:{id:t}})}}},v=g,D=Object(h["a"])(v,r,o,!1,null,"52efe3ae",null);e["default"]=D.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22cbc5"],{f500:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{attrs:{bordered:!1}},[a("table-form",{ref:"form",on:{"on-submit":t.getData,"on-reset":t.getData}}),a("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"applyforStatus",fn:function(e){var r=e.row;return["审核中"==r.applyforStatus?a("Tag",{attrs:{color:"warning"}},[t._v("审核中")]):t._e(),"已审核"==r.applyforStatus?a("Tag",{attrs:{color:"success"}},[t._v("已审核")]):t._e()]}},{key:"action",fn:function(e){var r=e.row;return[a("div",{on:{click:function(t){t.stopPropagation(),t.preventDefault()}}},[a("a",{attrs:{type:"text"},on:{click:function(e){return t.handleCheck(r.id)}}},[t._v("查看详情")])])]}}])}),a("Page",{staticClass:"ivu-mt",attrs:{total:t.total,"show-total":"","show-elevator":"","show-sizer":"","class-name":"pagenation",current:t.pageIndex,"page-size":t.pageSize,"page-size-opts":[10,20,50]},on:{"on-change":t.handleCurrentChange,"on-page-size-change":t.handleSizeChange}})],1)],1)},n=[],l=a("55ae"),o=a("7274"),s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Form",{ref:"form",attrs:{model:t.data,rules:t.rules,"label-width":t.labelWidth,"label-position":t.labelPosition}},[a("Row",{attrs:{gutter:24,type:"flex",justify:"space-between"}},[a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"年份",prop:"year","label-for":"year"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"year"},model:{value:t.data.year,callback:function(e){t.$set(t.data,"year",e)},expression:"data.year"}},t._l(t.yearList,(function(e){return a("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.label))])})),1)],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"申请状态:",prop:"status","label-for":"status"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"status"},model:{value:t.data.status,callback:function(e){t.$set(t.data,"status",e)},expression:"data.status"}},[a("Option",{attrs:{value:"审核中"}},[t._v("审核中")]),a("Option",{attrs:{value:"已审核"}},[t._v("已审核")])],1)],1)],1),t.collapse?[a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"申请项目:",prop:"itemName","label-for":"itemName"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"itemName"},model:{value:t.data.itemName,callback:function(e){t.$set(t.data,"itemName",e)},expression:"data.itemName"}},[a("Option",{attrs:{value:"国家奖学金"}},[t._v("国家奖学金")]),a("Option",{attrs:{value:"国家励志奖学金"}},[t._v("国家励志奖学金")])],1)],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"姓名或学号:",prop:"search","label-for":"search"}},[a("Input",{directives:[{name:"width",rawName:"v-width",value:"100%",expression:"'100%'"}],attrs:{placeholder:"请输入","element-id":"search"},model:{value:t.data.search,callback:function(e){t.$set(t.data,"search",e)},expression:"data.search"}})],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"学院",prop:"deptID","label-for":"deptID"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"deptID",clearable:""},model:{value:t.data.deptID,callback:function(e){t.$set(t.data,"deptID",e)},expression:"data.deptID"}},t._l(t.deptList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1)],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"年级",prop:"grade","label-for":"grade"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"grade",clearable:""},model:{value:t.data.grade,callback:function(e){t.$set(t.data,"grade",e)},expression:"data.grade"}},t._l(t.gradeList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1)],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"专业",prop:"majorID","label-for":"majorID"}},[a("Select",{attrs:{placeholder:"请选择","element-id":"majorID",clearable:""},model:{value:t.data.majorID,callback:function(e){t.$set(t.data,"majorID",e)},expression:"data.majorID"}},t._l(t.majorList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1)],1)],1)]:t._e(),a("Col",t._b({staticClass:"ivu-text-right"},"Col",t.grid,!1),[a("FormItem",[a("Button",{attrs:{type:"primary"},on:{click:t.handleSubmit}},[t._v("查询")]),a("Button",{staticClass:"ivu-ml-8",on:{click:t.handleReset}},[t._v("重置")]),a("a",{directives:[{name:"font",rawName:"v-font",value:14,expression:"14"}],staticClass:"ivu-ml-8",on:{click:function(e){t.collapse=!t.collapse}}},[t.collapse?[t._v(" 收起 "),a("Icon",{attrs:{type:"ios-arrow-up"}})]:[t._v("\n 展开 "),a("Icon",{attrs:{type:"ios-arrow-down"}})]],2)],1)],1)],2)],1)},i=[],c=(a("ac67"),a("1bc7"),a("32ea"),a("7736"));function d(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function u(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?d(Object(a),!0).forEach((function(e){Object(l["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var p={data:function(){return{yearList:[],deptList:[],gradeList:[],majorList:[],grid:{xl:8,lg:8,md:12,sm:24,xs:24},collapse:!1,data:{year:"",status:"已审核",itemName:"国家奖学金",search:"",deptID:"",grade:"",majorID:""},rules:{}}},computed:u(u({},Object(c["e"])("admin/layout",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:100},labelPosition:function(){return this.isMobile?"top":"right"}}),watch:{"data.deptID":function(){this.data.grade="",this.data.majorID="",this.GetGradeByDeptID()},"data.grade":function(){this.data.majorID="",this.GetMajorInfoByDeptID()}},created:function(){this.GetAllApplyForYear(),this.GetAllDeptInfo()},methods:{handleSubmit:function(){this.$emit("on-submit",this.data)},handleReset:function(){this.$refs.form.resetFields(),this.$emit("on-reset")},GetAllApplyForYear:function(){var t=this;o["g"]().then((function(e){e.length>0&&(t.data.year=e[0]),e.map((function(e){t.yearList.push({label:e,value:e})})),t.$parent.$parent.getData()}))},GetAllDeptInfo:function(){var t=this;o["i"]().then((function(e){t.deptList=e}))},GetGradeByDeptID:function(){var t=this,e={deptID:this.data.deptID};o["k"](e).then((function(e){t.gradeList=e}))},GetMajorInfoByDeptID:function(){var t=this,e={deptID:this.data.deptID,grade:this.data.grade};o["l"](e).then((function(e){t.majorList=e}))}}},m=p,h=a("4ac2"),f=Object(h["a"])(m,s,i,!1,null,null,null),b=f.exports,g={data:function(){var t;return t={columns:[],tableData:[],totalData:[],loading:!1,yearList:[],selectYear:"",projectList:[],selectPro:"",selectStatus:0},Object(l["a"])(t,"loading",!1),Object(l["a"])(t,"total",0),Object(l["a"])(t,"pageIndex",1),Object(l["a"])(t,"pageSize",10),Object(l["a"])(t,"deptList",[]),Object(l["a"])(t,"selectDept",""),Object(l["a"])(t,"selectType",""),t},components:{tableForm:b},mounted:function(){},methods:{getData:function(){var t=this,e=this.$refs.form.data;this.loading=!0,o["c"](e).then((function(e){t.loading=!1,t.columns.length<=0&&(t.columns=[{type:"index",width:80,align:"center",title:"序号"}],Object.assign(t.columns,e.titlelist),t.columns.push({title:"操作",slot:"action"})),t.totalData=e.tableData,t.total=e.tableData.length,t.setCurrentPageData()}))},handleCurrentChange:function(t){this.pageIndex=t,this.setCurrentPageData()},handleSizeChange:function(t){this.pageSize=t,this.setCurrentPageData()},setCurrentPageData:function(t){var e=t||this.totalData,a=(this.pageIndex-1)*this.pageSize,r=this.pageIndex*this.pageSize;this.tableData=e.slice(a,r)},handleCheck:function(t){window.sessionStorage.setItem("item","innovation"),this.$router.push({name:"detail",params:{id:t}})}}},v=g,D=Object(h["a"])(v,r,n,!1,null,"52efe3ae",null);e["default"]=D.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3b610f79"],{"300c":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{attrs:{bordered:!1}},[a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectYear,callback:function(e){t.selectYear=e},expression:"selectYear"}},t._l(t.yearList,(function(e,n){return a("Option",{key:n,attrs:{value:e.schoolYear}},[t._v(t._s(e.schoolYearName))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{placeholder:"请选择学院"},model:{value:t.selectDept,callback:function(e){t.selectDept=e},expression:"selectDept"}},t._l(t.deptList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{clearable:"",placeholder:"请选择奖学金类型"},model:{value:t.selectType,callback:function(e){t.selectType=e},expression:"selectType"}},[a("Option",{attrs:{value:"国家奖学金"}},[t._v("国家奖学金")]),a("Option",{attrs:{value:"国家励志奖学金"}},[t._v("国家励志奖学金")])],1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectStatus,callback:function(e){t.selectStatus=e},expression:"selectStatus"}},[a("Option",{attrs:{value:0}},[t._v("未审核")]),a("Option",{attrs:{value:1}},[t._v("已审核")])],1),a("Button",{staticStyle:{"margin-right":"15px"},attrs:{type:"primary"},on:{click:t.getData}},[t._v("查询")]),a("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"applyforStatus",fn:function(e){var n=e.row;return["审核中"==n.applyforStatus?a("Tag",{attrs:{color:"warning"}},[t._v("审核中")]):t._e(),"已审核"==n.applyforStatus?a("Tag",{attrs:{color:"success"}},[t._v("已审核")]):t._e(),"已拒绝"==n.applyforStatus?a("Tag",{attrs:{color:"error"}},[t._v("已拒绝")]):t._e()]}},{key:"action",fn:function(e){var n=e.row;return[a("div",{on:{click:function(t){t.stopPropagation(),t.preventDefault()}}},[a("a",{attrs:{type:"text"},on:{click:function(e){return t.handleCheck(n.id)}}},[t._v("查看详情")])])]}}])}),a("Page",{staticClass:"ivu-mt",attrs:{total:t.total,"show-total":"","show-elevator":"","show-sizer":"","class-name":"pagenation",current:t.pageIndex,"page-size":t.pageSize,"page-size-opts":[10,20,50]},on:{"on-change":t.handleCurrentChange,"on-page-size-change":t.handleSizeChange}})],1)],1)},i=[],r=a("55ae"),o=a("4213"),c={data:function(){var t;return t={columns:[],tableData:[],loading:!1,yearList:[],selectYear:"",projectList:[],selectPro:"",selectStatus:0},Object(r["a"])(t,"loading",!1),Object(r["a"])(t,"total",0),Object(r["a"])(t,"pageIndex",1),Object(r["a"])(t,"pageSize",10),Object(r["a"])(t,"totalData",[]),Object(r["a"])(t,"deptList",[]),Object(r["a"])(t,"selectDept",""),Object(r["a"])(t,"selectType",""),t},created:function(){this.GetNowSchoolYear(),this.GetCanAuditDepts()},methods:{getData:function(){var t=this,e={year:this.selectYear,status:this.selectStatus,deptID:this.selectDept,type:this.selectType};this.loading=!0,o["e"](e).then((function(e){t.loading=!1,t.columns.length<=0&&(t.columns=[{type:"index",width:80,align:"center",title:"序号"}],Object.assign(t.columns,e.titlelist),t.columns.push({title:"操作",slot:"action"})),t.totalData=e.tableData,t.total=e.tableData.length,t.setCurrentPageData()}))},GetNowSchoolYear:function(){var t=this;o["b"]().then((function(e){console.log(e),e.map((function(e){"YES"==e.isNow&&(t.selectYear=e.schoolYear)})),t.yearList=e,t.getData()}))},GetCanAuditDepts:function(){var t=this,e={itemName:"创新能力"};o["a"](e).then((function(e){t.deptList=e}))},handleCurrentChange:function(t){this.pageIndex=t,this.setCurrentPageData()},handleSizeChange:function(t){this.pageSize=t,this.setCurrentPageData()},setCurrentPageData:function(t){var e=t||this.totalData,a=(this.pageIndex-1)*this.pageSize,n=this.pageIndex*this.pageSize;this.tableData=e.slice(a,n)},handleCheck:function(t){window.sessionStorage.setItem("item","quality"),this.$router.push({name:"audit",params:{id:t}})}}},s=c,u=a("4ac2"),l=Object(u["a"])(s,n,i,!1,null,"51b1fd9e",null);e["default"]=l.exports},4213:function(t,e,a){"use strict";a.d(e,"c",(function(){return i})),a.d(e,"d",(function(){return r})),a.d(e,"e",(function(){return o})),a.d(e,"f",(function(){return c})),a.d(e,"g",(function(){return s})),a.d(e,"h",(function(){return u})),a.d(e,"i",(function(){return l})),a.d(e,"j",(function(){return p})),a.d(e,"k",(function(){return d})),a.d(e,"a",(function(){return h})),a.d(e,"b",(function(){return f}));var n=a("b6bd");function i(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByInnovateStatusAndYear",method:"get",params:t})}function r(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByPracticeStatusAndYear",method:"get",params:t})}function o(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForQualityStatusAndYear",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByInnovateItems",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByPracticeItems",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByQualityItems",method:"post",data:t})}function l(t,e){return Object(n["a"])({url:"/api/Audit/SubmitInnovateAudit?id=".concat(t),method:"post",data:e})}function p(t,e){return Object(n["a"])({url:"/api/Audit/SubmitPracticeAudit?id=".concat(t),method:"post",data:e})}function d(t,e){return Object(n["a"])({url:"/api/Audit/SubmitQualityAudit?id=".concat(t),method:"post",data:e})}function h(t){return Object(n["a"])({url:"/api/Audit/GetCanAuditDepts",method:"get",params:t})}function f(t){return Object(n["a"])({url:"/api/ApplyFor/GetNowSchoolYear",method:"get",params:t})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3b610f79"],{"300c":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{attrs:{bordered:!1}},[a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectYear,callback:function(e){t.selectYear=e},expression:"selectYear"}},t._l(t.yearList,(function(e){return a("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.label))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{placeholder:"请选择学院"},model:{value:t.selectDept,callback:function(e){t.selectDept=e},expression:"selectDept"}},t._l(t.deptList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{clearable:"",placeholder:"请选择奖学金类型"},model:{value:t.selectType,callback:function(e){t.selectType=e},expression:"selectType"}},[a("Option",{attrs:{value:"国家奖学金"}},[t._v("国家奖学金")]),a("Option",{attrs:{value:"国家励志奖学金"}},[t._v("国家励志奖学金")])],1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectStatus,callback:function(e){t.selectStatus=e},expression:"selectStatus"}},[a("Option",{attrs:{value:0}},[t._v("未审核")]),a("Option",{attrs:{value:1}},[t._v("已审核")])],1),a("Button",{staticStyle:{"margin-right":"15px"},attrs:{type:"primary"},on:{click:t.getData}},[t._v("查询")]),a("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"applyforStatus",fn:function(e){var n=e.row;return["审核中"==n.applyforStatus?a("Tag",{attrs:{color:"warning"}},[t._v("审核中")]):t._e(),"已审核"==n.applyforStatus?a("Tag",{attrs:{color:"success"}},[t._v("已审核")]):t._e(),"已拒绝"==n.applyforStatus?a("Tag",{attrs:{color:"error"}},[t._v("已拒绝")]):t._e()]}},{key:"action",fn:function(e){var n=e.row;return[a("div",{on:{click:function(t){t.stopPropagation(),t.preventDefault()}}},[a("a",{attrs:{type:"text"},on:{click:function(e){return t.handleCheck(n.id)}}},[t._v("查看详情")])])]}}])}),a("Page",{staticClass:"ivu-mt",attrs:{total:t.total,"show-total":"","show-elevator":"","show-sizer":"","class-name":"pagenation",current:t.pageIndex,"page-size":t.pageSize,"page-size-opts":[10,20,50]},on:{"on-change":t.handleCurrentChange,"on-page-size-change":t.handleSizeChange}})],1)],1)},i=[],r=a("55ae"),c=a("4213"),o={data:function(){var t;return t={columns:[],tableData:[],loading:!1,yearList:[],selectYear:"",projectList:[],selectPro:"",selectStatus:0},Object(r["a"])(t,"loading",!1),Object(r["a"])(t,"total",0),Object(r["a"])(t,"pageIndex",1),Object(r["a"])(t,"pageSize",10),Object(r["a"])(t,"totalData",[]),Object(r["a"])(t,"deptList",[]),Object(r["a"])(t,"selectDept",""),Object(r["a"])(t,"selectType",""),t},created:function(){this.GetAllApplyForYear(),this.GetCanAuditDepts()},methods:{getData:function(){var t=this,e={year:this.selectYear,status:this.selectStatus,deptID:this.selectDept,type:this.selectType};this.loading=!0,c["e"](e).then((function(e){t.loading=!1,t.columns.length<=0&&(t.columns=[{type:"index",width:80,align:"center",title:"序号"}],Object.assign(t.columns,e.titlelist),t.columns.push({title:"操作",slot:"action"})),t.totalData=e.tableData,t.total=e.tableData.length,t.setCurrentPageData()}))},GetAllApplyForYear:function(){var t=this;c["a"]().then((function(e){e.length>0&&(t.selectYear=e[0]),e.map((function(e){t.yearList.push({label:e,value:e})})),t.getData()}))},GetCanAuditDepts:function(){var t=this,e={itemName:"创新能力"};c["b"](e).then((function(e){t.deptList=e}))},handleCurrentChange:function(t){this.pageIndex=t,this.setCurrentPageData()},handleSizeChange:function(t){this.pageSize=t,this.setCurrentPageData()},setCurrentPageData:function(t){var e=t||this.totalData,a=(this.pageIndex-1)*this.pageSize,n=this.pageIndex*this.pageSize;this.tableData=e.slice(a,n)},handleCheck:function(t){window.sessionStorage.setItem("item","quality"),this.$router.push({name:"audit",params:{id:t}})}}},u=o,s=a("4ac2"),l=Object(s["a"])(u,n,i,!1,null,"0f988c92",null);e["default"]=l.exports},4213:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"d",(function(){return c})),a.d(e,"e",(function(){return o})),a.d(e,"f",(function(){return u})),a.d(e,"g",(function(){return s})),a.d(e,"h",(function(){return l})),a.d(e,"i",(function(){return p})),a.d(e,"j",(function(){return d})),a.d(e,"k",(function(){return h})),a.d(e,"b",(function(){return f}));var n=a("b6bd");function i(t){return Object(n["a"])({url:"/api/Audit/GetAllApplyForYear",method:"get",params:t})}function r(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByInnovateStatusAndYear",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByPracticeStatusAndYear",method:"get",params:t})}function o(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForQualityStatusAndYear",method:"get",params:t})}function u(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByInnovateItems",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByPracticeItems",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByQualityItems",method:"post",data:t})}function p(t,e){return Object(n["a"])({url:"/api/Audit/SubmitInnovateAudit?id=".concat(t),method:"post",data:e})}function d(t,e){return Object(n["a"])({url:"/api/Audit/SubmitPracticeAudit?id=".concat(t),method:"post",data:e})}function h(t,e){return Object(n["a"])({url:"/api/Audit/SubmitQualityAudit?id=".concat(t),method:"post",data:e})}function f(t){return Object(n["a"])({url:"/api/Audit/GetCanAuditDepts",method:"get",params:t})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b25728f"],{4213:function(t,e,a){"use strict";a.d(e,"c",(function(){return i})),a.d(e,"d",(function(){return r})),a.d(e,"e",(function(){return o})),a.d(e,"f",(function(){return c})),a.d(e,"g",(function(){return s})),a.d(e,"h",(function(){return u})),a.d(e,"i",(function(){return l})),a.d(e,"j",(function(){return p})),a.d(e,"k",(function(){return d})),a.d(e,"a",(function(){return h})),a.d(e,"b",(function(){return g}));var n=a("b6bd");function i(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByInnovateStatusAndYear",method:"get",params:t})}function r(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByPracticeStatusAndYear",method:"get",params:t})}function o(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForQualityStatusAndYear",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByInnovateItems",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByPracticeItems",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByQualityItems",method:"post",data:t})}function l(t,e){return Object(n["a"])({url:"/api/Audit/SubmitInnovateAudit?id=".concat(t),method:"post",data:e})}function p(t,e){return Object(n["a"])({url:"/api/Audit/SubmitPracticeAudit?id=".concat(t),method:"post",data:e})}function d(t,e){return Object(n["a"])({url:"/api/Audit/SubmitQualityAudit?id=".concat(t),method:"post",data:e})}function h(t){return Object(n["a"])({url:"/api/Audit/GetCanAuditDepts",method:"get",params:t})}function g(t){return Object(n["a"])({url:"/api/ApplyFor/GetNowSchoolYear",method:"get",params:t})}},"9ec1":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{attrs:{bordered:!1}},[a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectYear,callback:function(e){t.selectYear=e},expression:"selectYear"}},t._l(t.yearList,(function(e,n){return a("Option",{key:n,attrs:{value:e.schoolYear}},[t._v(t._s(e.schoolYearName))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{placeholder:"请选择学院",clearable:""},model:{value:t.selectDept,callback:function(e){t.selectDept=e},expression:"selectDept"}},t._l(t.deptList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{clearable:"",placeholder:"请选择奖学金类型"},model:{value:t.selectType,callback:function(e){t.selectType=e},expression:"selectType"}},[a("Option",{attrs:{value:"国家奖学金"}},[t._v("国家奖学金")]),a("Option",{attrs:{value:"国家励志奖学金"}},[t._v("国家励志奖学金")])],1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectStatus,callback:function(e){t.selectStatus=e},expression:"selectStatus"}},[a("Option",{attrs:{value:0}},[t._v("未审核")]),a("Option",{attrs:{value:1}},[t._v("已审核")])],1),a("Button",{staticStyle:{"margin-right":"15px"},attrs:{type:"primary"},on:{click:t.getData}},[t._v("查询")]),a("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"applyforStatus",fn:function(e){var n=e.row;return["审核中"==n.applyforStatus?a("Tag",{attrs:{color:"warning"}},[t._v("审核中")]):t._e(),"已审核"==n.applyforStatus?a("Tag",{attrs:{color:"success"}},[t._v("已审核")]):t._e(),"已拒绝"==n.applyforStatus?a("Tag",{attrs:{color:"error"}},[t._v("已拒绝")]):t._e()]}},{key:"action",fn:function(e){var n=e.row;return[a("div",{on:{click:function(t){t.stopPropagation(),t.preventDefault()}}},[a("a",{attrs:{type:"text"},on:{click:function(e){return t.handleCheck(n.id)}}},[t._v("查看详情")])])]}}])}),a("Page",{staticClass:"ivu-mt",attrs:{total:t.total,"show-total":"","show-elevator":"","show-sizer":"","class-name":"pagenation",current:t.pageIndex,"page-size":t.pageSize,"page-size-opts":[10,20,50]},on:{"on-change":t.handleCurrentChange,"on-page-size-change":t.handleSizeChange}})],1)],1)},i=[],r=a("55ae"),o=a("4213"),c={data:function(){var t;return t={columns:[],tableData:[],loading:!1,yearList:[],selectYear:"",projectList:[],selectPro:"",selectStatus:0},Object(r["a"])(t,"loading",!1),Object(r["a"])(t,"total",0),Object(r["a"])(t,"pageIndex",1),Object(r["a"])(t,"pageSize",10),Object(r["a"])(t,"totalData",[]),Object(r["a"])(t,"deptList",[]),Object(r["a"])(t,"selectDept",""),Object(r["a"])(t,"selectType",""),t},created:function(){this.GetNowSchoolYear(),this.GetCanAuditDepts()},methods:{getData:function(){var t=this,e={year:this.selectYear,status:this.selectStatus,deptID:this.selectDept,type:this.selectType};this.loading=!0,o["d"](e).then((function(e){t.loading=!1,t.columns.length<=0&&(t.columns=[{type:"index",width:80,align:"center",title:"序号"}],Object.assign(t.columns,e.titlelist),t.columns.push({title:"操作",slot:"action"})),t.totalData=e.tableData,t.total=e.tableData.length,t.setCurrentPageData()}))},GetNowSchoolYear:function(){var t=this;o["b"]().then((function(e){console.log(e),e.map((function(e){"YES"==e.isNow&&(t.selectYear=e.schoolYear)})),t.yearList=e,t.getData()}))},GetCanAuditDepts:function(){var t=this,e={itemName:"创新能力"};o["a"](e).then((function(e){t.deptList=e}))},handleCurrentChange:function(t){this.pageIndex=t,this.setCurrentPageData()},handleSizeChange:function(t){this.pageSize=t,this.setCurrentPageData()},setCurrentPageData:function(t){var e=t||this.totalData,a=(this.pageIndex-1)*this.pageSize,n=this.pageIndex*this.pageSize;this.tableData=e.slice(a,n)},handleCheck:function(t){window.sessionStorage.setItem("item","pratice"),this.$router.push({name:"audit",params:{id:t}})}}},s=c,u=a("4ac2"),l=Object(u["a"])(s,n,i,!1,null,"caec67a0",null);e["default"]=l.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b25728f"],{4213:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"d",(function(){return c})),a.d(e,"e",(function(){return o})),a.d(e,"f",(function(){return s})),a.d(e,"g",(function(){return u})),a.d(e,"h",(function(){return l})),a.d(e,"i",(function(){return p})),a.d(e,"j",(function(){return d})),a.d(e,"k",(function(){return h})),a.d(e,"b",(function(){return g}));var n=a("b6bd");function i(t){return Object(n["a"])({url:"/api/Audit/GetAllApplyForYear",method:"get",params:t})}function r(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByInnovateStatusAndYear",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByPracticeStatusAndYear",method:"get",params:t})}function o(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForQualityStatusAndYear",method:"get",params:t})}function s(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByInnovateItems",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByPracticeItems",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByQualityItems",method:"post",data:t})}function p(t,e){return Object(n["a"])({url:"/api/Audit/SubmitInnovateAudit?id=".concat(t),method:"post",data:e})}function d(t,e){return Object(n["a"])({url:"/api/Audit/SubmitPracticeAudit?id=".concat(t),method:"post",data:e})}function h(t,e){return Object(n["a"])({url:"/api/Audit/SubmitQualityAudit?id=".concat(t),method:"post",data:e})}function g(t){return Object(n["a"])({url:"/api/Audit/GetCanAuditDepts",method:"get",params:t})}},"9ec1":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{attrs:{bordered:!1}},[a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectYear,callback:function(e){t.selectYear=e},expression:"selectYear"}},t._l(t.yearList,(function(e){return a("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.label))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{placeholder:"请选择学院",clearable:""},model:{value:t.selectDept,callback:function(e){t.selectDept=e},expression:"selectDept"}},t._l(t.deptList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{clearable:"",placeholder:"请选择奖学金类型"},model:{value:t.selectType,callback:function(e){t.selectType=e},expression:"selectType"}},[a("Option",{attrs:{value:"国家奖学金"}},[t._v("国家奖学金")]),a("Option",{attrs:{value:"国家励志奖学金"}},[t._v("国家励志奖学金")])],1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectStatus,callback:function(e){t.selectStatus=e},expression:"selectStatus"}},[a("Option",{attrs:{value:0}},[t._v("未审核")]),a("Option",{attrs:{value:1}},[t._v("已审核")])],1),a("Button",{staticStyle:{"margin-right":"15px"},attrs:{type:"primary"},on:{click:t.getData}},[t._v("查询")]),a("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"applyforStatus",fn:function(e){var n=e.row;return["审核中"==n.applyforStatus?a("Tag",{attrs:{color:"warning"}},[t._v("审核中")]):t._e(),"已审核"==n.applyforStatus?a("Tag",{attrs:{color:"success"}},[t._v("已审核")]):t._e(),"已拒绝"==n.applyforStatus?a("Tag",{attrs:{color:"error"}},[t._v("已拒绝")]):t._e()]}},{key:"action",fn:function(e){var n=e.row;return[a("div",{on:{click:function(t){t.stopPropagation(),t.preventDefault()}}},[a("a",{attrs:{type:"text"},on:{click:function(e){return t.handleCheck(n.id)}}},[t._v("查看详情")])])]}}])}),a("Page",{staticClass:"ivu-mt",attrs:{total:t.total,"show-total":"","show-elevator":"","show-sizer":"","class-name":"pagenation",current:t.pageIndex,"page-size":t.pageSize,"page-size-opts":[10,20,50]},on:{"on-change":t.handleCurrentChange,"on-page-size-change":t.handleSizeChange}})],1)],1)},i=[],r=a("55ae"),c=a("4213"),o={data:function(){var t;return t={columns:[],tableData:[],loading:!1,yearList:[],selectYear:"",projectList:[],selectPro:"",selectStatus:0},Object(r["a"])(t,"loading",!1),Object(r["a"])(t,"total",0),Object(r["a"])(t,"pageIndex",1),Object(r["a"])(t,"pageSize",10),Object(r["a"])(t,"totalData",[]),Object(r["a"])(t,"deptList",[]),Object(r["a"])(t,"selectDept",""),Object(r["a"])(t,"selectType",""),t},created:function(){this.GetAllApplyForYear(),this.GetCanAuditDepts()},methods:{getData:function(){var t=this,e={year:this.selectYear,status:this.selectStatus,deptID:this.selectDept,type:this.selectType};this.loading=!0,c["d"](e).then((function(e){t.loading=!1,t.columns.length<=0&&(t.columns=[{type:"index",width:80,align:"center",title:"序号"}],Object.assign(t.columns,e.titlelist),t.columns.push({title:"操作",slot:"action"})),t.totalData=e.tableData,t.total=e.tableData.length,t.setCurrentPageData()}))},GetAllApplyForYear:function(){var t=this;c["a"]().then((function(e){e.length>0&&(t.selectYear=e[0]),e.map((function(e){t.yearList.push({label:e,value:e})})),t.getData()}))},GetCanAuditDepts:function(){var t=this,e={itemName:"创新能力"};c["b"](e).then((function(e){t.deptList=e}))},handleCurrentChange:function(t){this.pageIndex=t,this.setCurrentPageData()},handleSizeChange:function(t){this.pageSize=t,this.setCurrentPageData()},setCurrentPageData:function(t){var e=t||this.totalData,a=(this.pageIndex-1)*this.pageSize,n=this.pageIndex*this.pageSize;this.tableData=e.slice(a,n)},handleCheck:function(t){window.sessionStorage.setItem("item","pratice"),this.$router.push({name:"audit",params:{id:t}})}}},s=o,u=a("4ac2"),l=Object(u["a"])(s,n,i,!1,null,"401c1a76",null);e["default"]=l.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-926bef90"],{"2c88":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{attrs:{bordered:!1}},[a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectYear,callback:function(e){t.selectYear=e},expression:"selectYear"}},t._l(t.yearList,(function(e){return a("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.label))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{placeholder:"请选择学院"},model:{value:t.selectDept,callback:function(e){t.selectDept=e},expression:"selectDept"}},t._l(t.deptList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{clearable:"",placeholder:"请选择奖学金类型"},model:{value:t.selectType,callback:function(e){t.selectType=e},expression:"selectType"}},[a("Option",{attrs:{value:"国家奖学金"}},[t._v("国家奖学金")]),a("Option",{attrs:{value:"国家励志奖学金"}},[t._v("国家励志奖学金")])],1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectStatus,callback:function(e){t.selectStatus=e},expression:"selectStatus"}},[a("Option",{attrs:{value:0}},[t._v("未审核")]),a("Option",{attrs:{value:1}},[t._v("已审核")])],1),a("Button",{staticStyle:{"margin-right":"15px"},attrs:{type:"primary"},on:{click:t.getData}},[t._v("查询")]),a("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"applyforStatus",fn:function(e){var n=e.row;return["审核中"==n.applyforStatus?a("Tag",{attrs:{color:"warning"}},[t._v("审核中")]):t._e(),"已审核"==n.applyforStatus?a("Tag",{attrs:{color:"success"}},[t._v("已审核")]):t._e(),"已拒绝"==n.applyforStatus?a("Tag",{attrs:{color:"error"}},[t._v("已拒绝")]):t._e()]}},{key:"action",fn:function(e){var n=e.row;return[a("div",{on:{click:function(t){t.stopPropagation(),t.preventDefault()}}},[a("a",{attrs:{type:"text"},on:{click:function(e){return t.handleCheck(n.id)}}},[t._v("查看详情")])])]}}])}),a("Page",{staticClass:"ivu-mt",attrs:{total:t.total,"show-total":"","show-elevator":"","show-sizer":"","class-name":"pagenation",current:t.pageIndex,"page-size":t.pageSize,"page-size-opts":[10,20,50]},on:{"on-change":t.handleCurrentChange,"on-page-size-change":t.handleSizeChange}})],1)],1)},i=[],r=a("55ae"),c=a("4213"),o={data:function(){var t;return t={columns:[],tableData:[],totalData:[],loading:!1,yearList:[],selectYear:"",projectList:[],selectPro:"",selectStatus:0},Object(r["a"])(t,"loading",!1),Object(r["a"])(t,"total",0),Object(r["a"])(t,"pageIndex",1),Object(r["a"])(t,"pageSize",10),Object(r["a"])(t,"deptList",[]),Object(r["a"])(t,"selectDept",""),Object(r["a"])(t,"selectType",""),t},created:function(){this.GetAllApplyForYear(),this.GetCanAuditDepts()},methods:{getData:function(){var t=this,e={year:this.selectYear,status:this.selectStatus,deptID:this.selectDept,type:this.selectType};this.loading=!0,c["c"](e).then((function(e){t.loading=!1,t.columns.length<=0&&(t.columns=[{type:"index",width:80,align:"center",title:"序号"}],Object.assign(t.columns,e.titlelist),t.columns.push({title:"操作",slot:"action"})),t.totalData=e.tableData,t.total=e.tableData.length,t.setCurrentPageData()}))},GetAllApplyForYear:function(){var t=this;c["a"]().then((function(e){e.length>0&&(t.selectYear=e[0]),e.map((function(e){t.yearList.push({label:e,value:e})})),t.getData()}))},GetCanAuditDepts:function(){var t=this,e={itemName:"创新能力"};c["b"](e).then((function(e){t.deptList=e}))},handleCurrentChange:function(t){this.pageIndex=t,this.setCurrentPageData()},handleSizeChange:function(t){this.pageSize=t,this.setCurrentPageData()},setCurrentPageData:function(t){var e=t||this.totalData,a=(this.pageIndex-1)*this.pageSize,n=this.pageIndex*this.pageSize;this.tableData=e.slice(a,n)},handleCheck:function(t){window.sessionStorage.setItem("item","innovation"),this.$router.push({name:"audit",params:{id:t}})}}},s=o,u=a("4ac2"),l=Object(u["a"])(s,n,i,!1,null,"587948e4",null);e["default"]=l.exports},4213:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"d",(function(){return c})),a.d(e,"e",(function(){return o})),a.d(e,"f",(function(){return s})),a.d(e,"g",(function(){return u})),a.d(e,"h",(function(){return l})),a.d(e,"i",(function(){return p})),a.d(e,"j",(function(){return d})),a.d(e,"k",(function(){return h})),a.d(e,"b",(function(){return g}));var n=a("b6bd");function i(t){return Object(n["a"])({url:"/api/Audit/GetAllApplyForYear",method:"get",params:t})}function r(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByInnovateStatusAndYear",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByPracticeStatusAndYear",method:"get",params:t})}function o(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForQualityStatusAndYear",method:"get",params:t})}function s(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByInnovateItems",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByPracticeItems",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByQualityItems",method:"post",data:t})}function p(t,e){return Object(n["a"])({url:"/api/Audit/SubmitInnovateAudit?id=".concat(t),method:"post",data:e})}function d(t,e){return Object(n["a"])({url:"/api/Audit/SubmitPracticeAudit?id=".concat(t),method:"post",data:e})}function h(t,e){return Object(n["a"])({url:"/api/Audit/SubmitQualityAudit?id=".concat(t),method:"post",data:e})}function g(t){return Object(n["a"])({url:"/api/Audit/GetCanAuditDepts",method:"get",params:t})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-926bef90"],{"2c88":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{attrs:{bordered:!1}},[a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectYear,callback:function(e){t.selectYear=e},expression:"selectYear"}},t._l(t.yearList,(function(e,n){return a("Option",{key:n,attrs:{value:e.schoolYear}},[t._v(t._s(e.schoolYearName))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{placeholder:"请选择学院"},model:{value:t.selectDept,callback:function(e){t.selectDept=e},expression:"selectDept"}},t._l(t.deptList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},attrs:{clearable:"",placeholder:"请选择奖学金类型"},model:{value:t.selectType,callback:function(e){t.selectType=e},expression:"selectType"}},[a("Option",{attrs:{value:"国家奖学金"}},[t._v("国家奖学金")]),a("Option",{attrs:{value:"国家励志奖学金"}},[t._v("国家励志奖学金")])],1),a("Select",{staticStyle:{width:"150px","margin-right":"15px"},model:{value:t.selectStatus,callback:function(e){t.selectStatus=e},expression:"selectStatus"}},[a("Option",{attrs:{value:0}},[t._v("未审核")]),a("Option",{attrs:{value:1}},[t._v("已审核")])],1),a("Button",{staticStyle:{"margin-right":"15px"},attrs:{type:"primary"},on:{click:t.getData}},[t._v("查询")]),a("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"applyforStatus",fn:function(e){var n=e.row;return["审核中"==n.applyforStatus?a("Tag",{attrs:{color:"warning"}},[t._v("审核中")]):t._e(),"已审核"==n.applyforStatus?a("Tag",{attrs:{color:"success"}},[t._v("已审核")]):t._e(),"已拒绝"==n.applyforStatus?a("Tag",{attrs:{color:"error"}},[t._v("已拒绝")]):t._e()]}},{key:"action",fn:function(e){var n=e.row;return[a("div",{on:{click:function(t){t.stopPropagation(),t.preventDefault()}}},[a("a",{attrs:{type:"text"},on:{click:function(e){return t.handleCheck(n.id)}}},[t._v("查看详情")])])]}}])}),a("Page",{staticClass:"ivu-mt",attrs:{total:t.total,"show-total":"","show-elevator":"","show-sizer":"","class-name":"pagenation",current:t.pageIndex,"page-size":t.pageSize,"page-size-opts":[10,20,50]},on:{"on-change":t.handleCurrentChange,"on-page-size-change":t.handleSizeChange}})],1)],1)},i=[],r=a("55ae"),o=a("4213"),c={data:function(){var t;return t={columns:[],tableData:[],totalData:[],loading:!1,yearList:[],selectYear:"",projectList:[],selectPro:"",selectStatus:0},Object(r["a"])(t,"loading",!1),Object(r["a"])(t,"total",0),Object(r["a"])(t,"pageIndex",1),Object(r["a"])(t,"pageSize",10),Object(r["a"])(t,"deptList",[]),Object(r["a"])(t,"selectDept",""),Object(r["a"])(t,"selectType",""),t},created:function(){this.GetNowSchoolYear(),this.GetCanAuditDepts()},methods:{getData:function(){var t=this,e={year:this.selectYear,status:this.selectStatus,deptID:this.selectDept,type:this.selectType};this.loading=!0,o["c"](e).then((function(e){t.loading=!1,t.columns.length<=0&&(t.columns=[{type:"index",width:80,align:"center",title:"序号"}],Object.assign(t.columns,e.titlelist),t.columns.push({title:"操作",slot:"action"})),t.totalData=e.tableData,t.total=e.tableData.length,t.setCurrentPageData()}))},GetNowSchoolYear:function(){var t=this;o["b"]().then((function(e){console.log(e),e.map((function(e){"YES"==e.isNow&&(t.selectYear=e.schoolYear)})),t.yearList=e,t.getData()}))},GetCanAuditDepts:function(){var t=this,e={itemName:"创新能力"};o["a"](e).then((function(e){t.deptList=e}))},handleCurrentChange:function(t){this.pageIndex=t,this.setCurrentPageData()},handleSizeChange:function(t){this.pageSize=t,this.setCurrentPageData()},setCurrentPageData:function(t){var e=t||this.totalData,a=(this.pageIndex-1)*this.pageSize,n=this.pageIndex*this.pageSize;this.tableData=e.slice(a,n)},handleCheck:function(t){window.sessionStorage.setItem("item","innovation"),this.$router.push({name:"audit",params:{id:t}})}}},s=c,u=a("4ac2"),l=Object(u["a"])(s,n,i,!1,null,"0f380a10",null);e["default"]=l.exports},4213:function(t,e,a){"use strict";a.d(e,"c",(function(){return i})),a.d(e,"d",(function(){return r})),a.d(e,"e",(function(){return o})),a.d(e,"f",(function(){return c})),a.d(e,"g",(function(){return s})),a.d(e,"h",(function(){return u})),a.d(e,"i",(function(){return l})),a.d(e,"j",(function(){return p})),a.d(e,"k",(function(){return d})),a.d(e,"a",(function(){return h})),a.d(e,"b",(function(){return f}));var n=a("b6bd");function i(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByInnovateStatusAndYear",method:"get",params:t})}function r(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForByPracticeStatusAndYear",method:"get",params:t})}function o(t){return Object(n["a"])({url:"/api/Audit/GetSchoolShipApplyForQualityStatusAndYear",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByInnovateItems",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByPracticeItems",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/api/Audit/SaveScoreByQualityItems",method:"post",data:t})}function l(t,e){return Object(n["a"])({url:"/api/Audit/SubmitInnovateAudit?id=".concat(t),method:"post",data:e})}function p(t,e){return Object(n["a"])({url:"/api/Audit/SubmitPracticeAudit?id=".concat(t),method:"post",data:e})}function d(t,e){return Object(n["a"])({url:"/api/Audit/SubmitQualityAudit?id=".concat(t),method:"post",data:e})}function h(t){return Object(n["a"])({url:"/api/Audit/GetCanAuditDepts",method:"get",params:t})}function f(t){return Object(n["a"])({url:"/api/ApplyFor/GetNowSchoolYear",method:"get",params:t})}}}]);
\ No newline at end of file
...@@ -88,6 +88,14 @@ export function GetCanAuditDepts(data) { ...@@ -88,6 +88,14 @@ export function GetCanAuditDepts(data) {
params: data params: data
}); });
} }
// 获取现在的学年信息
export function GetNowSchoolYear(data) {
return request({
url: '/api/ApplyFor/GetNowSchoolYear',
method: 'get',
params: data
});
}
...@@ -127,5 +127,12 @@ export function GetAllApplyForYear (data) { ...@@ -127,5 +127,12 @@ export function GetAllApplyForYear (data) {
} }
// 获取现在的学年信息
export function GetNowSchoolYear(data) {
return request({
url: '/api/ApplyFor/GetNowSchoolYear',
method: 'get',
params: data
});
}
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
<Card :bordered="false"> <Card :bordered="false">
<Select v-model="selectYear" style="width: 150px; margin-right: 15px"> <Select v-model="selectYear" style="width: 150px; margin-right: 15px">
<Option <Option
v-for="item in yearList" v-for="(item,index) in yearList"
:value="item.value" :value="item.schoolYear"
:key="item.value" :key="index"
>{{ item.label }}</Option >{{ item.schoolYearName }}</Option
> >
</Select> </Select>
<Select v-model="selectDept" style="width: 150px; margin-right: 15px" placeholder='请选择学院'> <Select v-model="selectDept" style="width: 150px; margin-right: 15px" placeholder='请选择学院'>
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
}, },
created() { created() {
this.GetAllApplyForYear(); this.GetNowSchoolYear();
this.GetCanAuditDepts(); this.GetCanAuditDepts();
}, },
methods: { methods: {
...@@ -144,18 +144,18 @@ export default { ...@@ -144,18 +144,18 @@ export default {
this.setCurrentPageData(); this.setCurrentPageData();
}); });
}, },
// 获取已存在的所有申请年份 // 获取现在的学年信息
GetAllApplyForYear() { GetNowSchoolYear() {
api.GetAllApplyForYear().then((resp) => { api.GetNowSchoolYear().then((resp) => {
if (resp.length > 0) { console.log(resp)
this.selectYear = resp[0];
}
resp.map((item) => { resp.map((item) => {
this.yearList.push({ if (item.isNow == "YES") {
label: item, this.selectYear = item.schoolYear;
value: item, }
});
}); });
this.yearList = resp;
this.getData(); this.getData();
}); });
}, },
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
<Card :bordered="false"> <Card :bordered="false">
<Select v-model="selectYear" style="width: 150px; margin-right: 15px"> <Select v-model="selectYear" style="width: 150px; margin-right: 15px">
<Option <Option
v-for="item in yearList" v-for="(item,index) in yearList"
:value="item.value" :value="item.schoolYear"
:key="item.value" :key="index"
>{{ item.label }}</Option >{{ item.schoolYearName }}</Option
> >
</Select> </Select>
<Select v-model="selectDept" style="width: 150px; margin-right: 15px" placeholder='请选择学院' clearable> <Select v-model="selectDept" style="width: 150px; margin-right: 15px" placeholder='请选择学院' clearable>
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
}, },
created() { created() {
this.GetAllApplyForYear(); this.GetNowSchoolYear();
this.GetCanAuditDepts(); this.GetCanAuditDepts();
}, },
methods: { methods: {
...@@ -144,18 +144,18 @@ export default { ...@@ -144,18 +144,18 @@ export default {
this.setCurrentPageData(); this.setCurrentPageData();
}); });
}, },
// 获取已存在的所有申请年份 // 获取现在的学年信息
GetAllApplyForYear() { GetNowSchoolYear() {
api.GetAllApplyForYear().then((resp) => { api.GetNowSchoolYear().then((resp) => {
if (resp.length > 0) { console.log(resp)
this.selectYear = resp[0];
}
resp.map((item) => { resp.map((item) => {
this.yearList.push({ if (item.isNow == "YES") {
label: item, this.selectYear = item.schoolYear;
value: item, }
});
}); });
this.yearList = resp;
this.getData(); this.getData();
}); });
}, },
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
<Card :bordered="false"> <Card :bordered="false">
<Select v-model="selectYear" style="width: 150px; margin-right: 15px"> <Select v-model="selectYear" style="width: 150px; margin-right: 15px">
<Option <Option
v-for="item in yearList" v-for="(item,index) in yearList"
:value="item.value" :value="item.schoolYear"
:key="item.value" :key="index"
>{{ item.label }}</Option >{{ item.schoolYearName }}</Option
> >
</Select> </Select>
<Select v-model="selectDept" style="width: 150px; margin-right: 15px" placeholder='请选择学院'> <Select v-model="selectDept" style="width: 150px; margin-right: 15px" placeholder='请选择学院'>
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
}, },
created() { created() {
this.GetAllApplyForYear(); this.GetNowSchoolYear();
this.GetCanAuditDepts(); this.GetCanAuditDepts();
}, },
methods: { methods: {
...@@ -144,18 +144,18 @@ export default { ...@@ -144,18 +144,18 @@ export default {
this.setCurrentPageData(); this.setCurrentPageData();
}); });
}, },
// 获取已存在的所有申请年份 // 获取现在的学年信息
GetAllApplyForYear() { GetNowSchoolYear() {
api.GetAllApplyForYear().then((resp) => { api.GetNowSchoolYear().then((resp) => {
if (resp.length > 0) { console.log(resp)
this.selectYear = resp[0];
}
resp.map((item) => { resp.map((item) => {
this.yearList.push({ if (item.isNow == "YES") {
label: item, this.selectYear = item.schoolYear;
value: item, }
});
}); });
this.yearList = resp;
this.getData(); this.getData();
}); });
}, },
......
...@@ -9,21 +9,17 @@ ...@@ -9,21 +9,17 @@
<Row :gutter="24" type="flex" justify="space-between"> <Row :gutter="24" type="flex" justify="space-between">
<Col v-bind="grid"> <Col v-bind="grid">
<FormItem label="年份" prop="year" label-for="year"> <FormItem label="年份" prop="year" label-for="year">
<Select <Select v-model="data.year" placeholder="请选择" element-id="year">
v-model="data.year"
placeholder="请选择"
element-id="year"
>
<Option <Option
v-for="item in yearList" v-for="(item, index) in yearList"
:value="item.value" :value="item.schoolYear"
:key="item.value" :key="index"
>{{ item.label }}</Option >{{ item.schoolYearName }}</Option
> >
</Select> </Select>
</FormItem> </FormItem>
</Col> </Col>
<Col v-bind="grid"> <Col v-bind="grid">
<FormItem label="申请状态:" prop="status" label-for="status"> <FormItem label="申请状态:" prop="status" label-for="status">
<Select <Select
v-model="data.status" v-model="data.status"
...@@ -35,21 +31,20 @@ ...@@ -35,21 +31,20 @@
</Select> </Select>
</FormItem> </FormItem>
</Col> </Col>
<template v-if="collapse"> <template v-if="collapse">
<Col v-bind="grid"> <Col v-bind="grid">
<FormItem label="申请项目:" prop="itemName" label-for="itemName"> <FormItem label="申请项目:" prop="itemName" label-for="itemName">
<Select <Select
v-model="data.itemName" v-model="data.itemName"
placeholder="请选择" placeholder="请选择"
element-id="itemName" element-id="itemName"
>
> <Option value="国家奖学金">国家奖学金</Option>
<Option value="国家奖学金">国家奖学金</Option> <Option value="国家励志奖学金">国家励志奖学金</Option>
<Option value="国家励志奖学金">国家励志奖学金</Option> </Select>
</Select> </FormItem>
</FormItem> </Col>
</Col>
<Col v-bind="grid"> <Col v-bind="grid">
<FormItem label="姓名或学号:" prop="search" label-for="search"> <FormItem label="姓名或学号:" prop="search" label-for="search">
<Input <Input
...@@ -147,10 +142,8 @@ export default { ...@@ -147,10 +142,8 @@ export default {
}, },
collapse: false, collapse: false,
data: { data: {
year: "", year: "",
status:'已审核', status: "已审核",
itemName: "国家奖学金", itemName: "国家奖学金",
search: "", search: "",
deptID: "", deptID: "",
...@@ -171,19 +164,19 @@ export default { ...@@ -171,19 +164,19 @@ export default {
}, },
watch: { watch: {
"data.deptID"() { "data.deptID"() {
this.data.grade = ''; this.data.grade = "";
this.data.majorID = ''; this.data.majorID = "";
this.GetGradeByDeptID(); this.GetGradeByDeptID();
}, },
"data.grade"() { "data.grade"() {
this.data.majorID = ''; this.data.majorID = "";
this.GetMajorInfoByDeptID(); this.GetMajorInfoByDeptID();
}, },
}, },
created() { created() {
this.GetAllApplyForYear(); this.GetNowSchoolYear();
this.GetAllDeptInfo(); this.GetAllDeptInfo();
}, },
methods: { methods: {
...@@ -194,18 +187,17 @@ export default { ...@@ -194,18 +187,17 @@ export default {
this.$refs.form.resetFields(); this.$refs.form.resetFields();
this.$emit("on-reset"); this.$emit("on-reset");
}, },
// 获取已存在的所有申请年份
GetAllApplyForYear() { // 获取现在的学年信息
api.GetAllApplyForYear().then((resp) => { GetNowSchoolYear() {
if (resp.length > 0) { api.GetNowSchoolYear().then((resp) => {
this.data.year = resp[0]; console.log(resp);
}
resp.map((item) => { resp.map((item) => {
this.yearList.push({ if (item.isNow == "YES") {
label: item, this.data.year = item.schoolYear;
value: item, }
});
}); });
this.yearList = resp;
this.$parent.$parent.getData(); this.$parent.$parent.getData();
}); });
}, },
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或