提交 842828da 编写于 作者: 符英鹏's avatar 符英鹏 🏀

feat:'解决社会实践审核,综合素质审核无法筛选问题'

上级 c8726640
流水线 #7769 已通过 ,包含阶段
in 1 minute 和 27 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.88bbdfc6.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.08183568.js></script></body></html>
\ No newline at end of file \ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
(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};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,"60445883",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 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 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 g(t){return Object(n["a"])({url:"/api/Audit/GetCanAuditDepts",method:"get",params:t})}}}]); (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 \ 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 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 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 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 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:"请选择学院"},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};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}})}}},u=o,s=a("4ac2"),l=Object(s["a"])(u,n,i,!1,null,"86a10a68",null);e["default"]=l.exports}}]); (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 \ No newline at end of file
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
>{{ item.label }}</Option >{{ item.label }}</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='请选择学院' clearable>
<Option <Option
v-for="item in deptList" v-for="item in deptList"
:value="item.id" :value="item.id"
...@@ -116,6 +116,8 @@ export default { ...@@ -116,6 +116,8 @@ export default {
const params = { const params = {
year: this.selectYear, year: this.selectYear,
status: this.selectStatus, status: this.selectStatus,
deptID:this.selectDept,
type:this.selectType
}; };
this.loading = true; this.loading = true;
api.GetSchoolShipApplyForByPracticeStatusAndYear(params).then((resp) => { api.GetSchoolShipApplyForByPracticeStatusAndYear(params).then((resp) => {
......
...@@ -116,6 +116,8 @@ export default { ...@@ -116,6 +116,8 @@ export default {
const params = { const params = {
year: this.selectYear, year: this.selectYear,
status: this.selectStatus, status: this.selectStatus,
deptID:this.selectDept,
type:this.selectType
}; };
this.loading = true; this.loading = true;
api.GetSchoolShipApplyForQualityStatusAndYear(params).then((resp) => { api.GetSchoolShipApplyForQualityStatusAndYear(params).then((resp) => {
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或