更改注入方式
This commit is contained in:
parent
b1da18a1da
commit
67d184eee5
|
@ -15,6 +15,7 @@ import com.ydool.boot.modules.rddb.entity.dto.AppointDto;
|
|||
import com.ydool.boot.modules.rddb.mapper.ConferenceMapper;
|
||||
import com.ydool.boot.modules.rddb.service.AppointAttachmentService;
|
||||
import com.ydool.boot.modules.rddb.service.AppointUserService;
|
||||
import com.ydool.boot.modules.sys.service.UserService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
@ -31,8 +32,7 @@ public class AppointWrapper extends BaseWrapper<Appoint, AppointDto> {
|
|||
return new AppointWrapper();
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private ConferenceMapper conferenceMapper;
|
||||
private ConferenceMapper conferenceMapper = SpringUtils.getBean(ConferenceMapper.class);
|
||||
|
||||
@Override
|
||||
public AppointDto entityVO(Appoint appoint) {
|
||||
|
|
|
@ -29,8 +29,7 @@ public class ContactDbWrapper extends BaseWrapper<ContactDb, ContactDbDto> {
|
|||
return new ContactDbWrapper();
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private ConferenceMapper conferenceMapper;
|
||||
private ConferenceMapper conferenceMapper = SpringUtils.getBean(ConferenceMapper.class);
|
||||
|
||||
@Override
|
||||
public ContactDbDto entityVO(ContactDb contactDb) {
|
||||
|
|
|
@ -31,8 +31,7 @@ public class ReviewOfficerWrapper extends BaseWrapper<ReviewOfficer, ReviewOffic
|
|||
return new ReviewOfficerWrapper();
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private ConferenceMapper conferenceMapper;
|
||||
private ConferenceMapper conferenceMapper = SpringUtils.getBean(ConferenceMapper.class);
|
||||
|
||||
@Override
|
||||
public ReviewOfficerDto entityVO(ReviewOfficer reviewOfficer) {
|
||||
|
|
|
@ -31,8 +31,7 @@ public class ReviewSubjectWrapper extends BaseWrapper<ReviewSubject, ReviewSubje
|
|||
return new ReviewSubjectWrapper();
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private ConferenceMapper conferenceMapper;
|
||||
private ConferenceMapper conferenceMapper = SpringUtils.getBean(ConferenceMapper.class);
|
||||
|
||||
@Override
|
||||
public ReviewSubjectDto entityVO(ReviewSubject reviewSubject) {
|
||||
|
|
|
@ -29,8 +29,7 @@ public class ReviewSuperviseWrapper extends BaseWrapper<ReviewSupervise, ReviewS
|
|||
return new ReviewSuperviseWrapper();
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private ConferenceMapper conferenceMapper;
|
||||
private ConferenceMapper conferenceMapper = SpringUtils.getBean(ConferenceMapper.class);
|
||||
|
||||
@Override
|
||||
public ReviewSuperviseDto entityVO(ReviewSupervise reviewSupervise) {
|
||||
|
|
|
@ -30,8 +30,7 @@ public class ReviewWorkWrapper extends BaseWrapper<ReviewWork, ReviewWorkDto> {
|
|||
return new ReviewWorkWrapper();
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private ConferenceMapper conferenceMapper;
|
||||
private ConferenceMapper conferenceMapper = SpringUtils.getBean(ConferenceMapper.class);
|
||||
|
||||
@Override
|
||||
public ReviewWorkDto entityVO(ReviewWork reviewWork) {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-157caa60"],{"0e80":function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("van-sticky",{attrs:{"offset-top":0}},[e("nav-bar",{attrs:{"left-arrow":"",title:"上报信息详情"}})],1),e("div",{staticClass:"top commonEle"},[e("h5",[t._v(t._s(t.obj.title))]),e("p",[t._v(t._s(t.obj.content))]),e("p",{staticClass:"statusP"},[t._v(" 当前状态: "),0==t.obj.hireStatus?e("span",{staticStyle:{color:"#5995d1"}},[t._v("待审核")]):t._e(),1==t.obj.hireStatus?e("span",{staticStyle:{color:"#67c23a"}},[t._v("已通过")]):t._e(),2==t.obj.hireStatus?e("span",{staticStyle:{color:"#F56C6C"}},[t._v("已拒绝")]):t._e()])]),e("div",{staticClass:"middle commonEle"},[e("p",{staticClass:"date item"},[t._v("上报时间")]),e("p",{staticClass:"dateContent"},[t._v(t._s(t.obj.createdAt))]),e("p",{staticClass:"town item"},[t._v("上报乡镇")]),e("p",{staticClass:"towncontent"},[t._v(t._s(t.obj.streetStr))])]),e("div",{staticClass:"commonEle"},[e("p",{staticClass:"uploadTime item"},[t._v("上报附件文件")]),e("div",{staticClass:"enclosureBox"},t._l(t.obj.attachmentNameList,(function(a,i){return e("a",{key:i,staticClass:"singleEnclosure",attrs:{href:t.obj.attachmentPathList[i],download:a}},[e("p",{staticClass:"enclosureTitle text-overflow"},[t._v(t._s(a))]),e("div",{staticClass:"imgBox"},["pdf"==t.obj.fileTypeArr[i]?e("img",{staticClass:"w-100 h-100",attrs:{src:s("139f"),alt:""}}):"ppt"==t.obj.fileTypeArr[i]?e("img",{staticClass:"w-100 h-100",attrs:{src:s("07ba"),alt:""}}):"txt"==t.obj.fileTypeArr[i]?e("img",{staticClass:"w-100 h-100",attrs:{src:s("6835"),alt:""}}):"docx"==t.obj.fileTypeArr[i]||"doc"==t.obj.fileTypeArr[i]?e("img",{staticClass:"w-100 h-100",attrs:{src:s("e739"),alt:""}}):"xlsx"==t.obj.fileTypeArr[i]||"xls"==t.obj.fileTypeArr[i]?e("img",{staticClass:"w-100 h-100",attrs:{src:s("e537"),alt:""}}):e("img",{staticClass:"icon",attrs:{src:s("600a"),alt:""}})])])})),0)])],1)},i=[],c=s("0c6d"),l={data(){return{obj:{}}},created(){this.$toast.loading({message:"正在加载...",duration:0,forbidClick:!0}),Object(c["wb"])(this.$route.params.id).then(t=>{200==t.status?(t.data.data.fileTypeArr=[],t.data.data.attachmentNameList?t.data.data.attachmentNameList.length&&t.data.data.attachmentNameList.forEach(a=>{t.data.data.fileTypeArr.push(a.split(".")[a.split(".").length-1])}):t.data.data.attachmentNameList=[],this.obj=t.data.data,this.$toast.clear()):this.$toast.fail(t.data.msg)}).catch(t=>{this.$toast.fail("加载失败")})}},o=l,r=(s("9f46"),s("2877")),n=Object(r["a"])(o,e,i,!1,null,"7b98c5b3",null);a["default"]=n.exports},"1ec2":function(t,a,s){},"9f46":function(t,a,s){"use strict";var e=s("1ec2"),i=s.n(e);i.a}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-54b7debb"],{"0a83":function(t,a,e){},"7db6":function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"conferencePapers-box"},[s("nav-bar",{attrs:{"left-arrow":"",title:"审议意见"}}),s("van-search",{attrs:{shape:"round",placeholder:"请输入文章名称"},on:{search:t.onsearch},model:{value:t.value,callback:function(a){t.value=a},expression:"value"}}),s("div",{staticClass:"list"},[s("van-collapse",{model:{value:t.activeNames,callback:function(a){t.activeNames=a},expression:"activeNames"}},t._l(t.list,(function(a){return s("van-collapse-item",{key:a.id,attrs:{title:a.title,name:a.id}},[s("van-collapse",{model:{value:a.activeNames,callback:function(e){t.$set(a,"activeNames",e)},expression:"item.activeNames"}},t._l(a.issueList,(function(a){return s("van-collapse-item",{key:a.id,attrs:{title:a.title,name:a.id}},[s("ul",{staticClass:"fileUl"},t._l(a.attachmentList,(function(a){return s("li",{key:a.id,on:{click:function(e){return e.stopPropagation(),t.openfile(a)}}},[s("div",{staticClass:"filediv"},["pdf"==a.type?s("img",{staticClass:"icon",attrs:{src:e("139f"),alt:""}}):"ppt"==a.type?s("img",{staticClass:"icon",attrs:{src:e("07ba"),alt:""}}):"txt"==a.type?s("img",{staticClass:"icon",attrs:{src:e("6835"),alt:""}}):"docx"==a.type||"doc"==a.type?s("img",{staticClass:"icon",attrs:{src:e("e739"),alt:""}}):"xlsx"==a.type||"xls"==a.type?s("img",{staticClass:"icon",attrs:{src:e("e537"),alt:""}}):s("img",{staticClass:"icon",attrs:{src:e("600a"),alt:""}}),s("div",{staticClass:"right"},[s("div",{staticClass:"row"},[s("div",{staticClass:"title"},[t._v(t._s(a.title))])])])])])})),0)])})),1)],1)})),1)],1),0!=t.list.length?s("van-pagination",{attrs:{"total-items":t.totalitems,"items-per-page":t.size,mode:"simple"},on:{change:t.getdata},model:{value:t.currentPage,callback:function(a){t.currentPage=a},expression:"currentPage"}}):t._e()],1)},i=[],l=e("0c6d"),c={data(){return{currentPage:1,size:9,totalitems:"",value:"",list:[],activeNames:[]}},created(){this.getdata()},methods:{onsearch(t){this.currentPage=1,this.getdata()},openfile(t){"pdf"==t.type.toLowerCase()?this.$router.push("/pdf?url="+t.attachment):window.open(t.attachment)},getdata(){this.$toast.loading({message:"正在加载...",duration:0,forbidClick:!0}),Object(l["v"])({title:this.value||null,page:this.currentPage,size:this.size}).then(t=>{1==t.data.state?(t.data.data.map(t=>{t.activeNames=[],t.issueList.map(t=>{t.attachmentList.map(t=>{t.type=t.title.split(".")[t.title.split(".").length-1]})})}),this.$toast.clear(),this.totalitems=t.data.count,this.list=t.data.data):this.$toast.fail(t.data.msg)}).catch(()=>{this.$toast.fail("加载失败")})}}},n=c,r=(e("8fe0"),e("2877")),o=Object(r["a"])(n,s,i,!1,null,"e92583b2",null);a["default"]=o.exports},"8fe0":function(t,a,e){"use strict";var s=e("0a83"),i=e.n(s);i.a}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7143efc5"],{"2c04":function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",[s("nav-bar",{attrs:{"left-arrow":"",title:"文件名称"}}),s("div",{staticClass:"icon",on:{click:function(a){return t.openfile(t.detail)}}},["pdf"==t.detail.type?s("img",{attrs:{src:e("139f"),alt:""}}):"ppt"==t.detail.type?s("img",{attrs:{src:e("07ba"),alt:""}}):"txt"==t.detail.type?s("img",{attrs:{src:e("6835"),alt:""}}):"docx"==t.detail.type||"doc"==t.detail.type?s("img",{attrs:{src:e("e739"),alt:""}}):"xlsx"==t.detail.type||"xls"==t.detail.type?s("img",{attrs:{src:e("e537"),alt:""}}):s("img",{attrs:{src:e("600a"),alt:""}}),s("div",{staticClass:"name"},[t._v(t._s(t.detail.fileName))])]),s("div",{staticClass:"personnel"},[s("div",{staticClass:"title green"},[t._v("已读人员:")]),s("div",{staticClass:"list"},t._l(t.read,(function(a){return s("div",{key:a.id,staticClass:"item"},[t._v(t._s(a.userName))])})),0)]),s("div",{staticClass:"personnel"},[s("div",{staticClass:"title red"},[t._v("未读人员:")]),s("div",{staticClass:"list"},t._l(t.unread,(function(a){return s("div",{key:a.id,staticClass:"item"},[t._v(t._s(a.userName))])})),0)])],1)},i=[],d=e("0c6d"),l=e("bc3a"),r=e.n(l),c={data(){return{detail:{},read:[],unread:[]}},created(){this.detail={},this.read=[],this.unread=[],this.$toast.loading({message:"正在加载...",duration:0,forbidClick:!0}),r.a.all([Object(d["u"])({id:this.$route.query.id}),Object(d["t"])({id:this.$route.query.id})]).then(r.a.spread((t,a)=>{1==t.data.state&&(t.data.data.type=t.data.data.file.split(".")[t.data.data.file.split(".").length-1],this.detail=t.data.data),1==a.data.state&&a.data.data.map(t=>{1==t.status?this.read.push(t):0==t.status&&this.unread.push(t)}),1==t.data.state&&1==a.data.state?this.$toast.clear():this.$toast.fail(1!=t.data.state?t.data.msg:1!=a.data.state?a.data.msg:"加载失败")})).catch(t=>{this.$toast.fail("加载失败")})},methods:{openfile(t){"pdf"==t.type.toLowerCase()?this.$router.push("/pdf?url="+t.file):window.open(t.file)}}},n=c,u=(e("c72c"),e("2877")),o=Object(u["a"])(n,s,i,!1,null,"3cef3645",null);a["default"]=o.exports},c72c:function(t,a,e){"use strict";var s=e("f0d0"),i=e.n(s);i.a},f0d0:function(t,a,e){}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ce085ee8"],{"3f8d":function(t,a,s){},"57e9":function(t,a,s){"use strict";var e=s("3f8d"),i=s.n(e);i.a},"6f8e":function(t,a,s){t.exports=s.p+"img/icon_add.dae54178.png"},e641:function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("van-sticky",{attrs:{"offset-top":0}},[e("nav-bar",{attrs:{"left-arrow":"",title:"上报信息"}}),e("van-search",{attrs:{shape:"round",placeholder:"请输入关键字"},on:{search:t.onsearch2},model:{value:t.searchValue,callback:function(a){t.searchValue=a},expression:"searchValue"}})],1),t._l(t.list2,(function(a,i){return e("div",{key:i,staticClass:"single",on:{click:function(s){return t.$router.push({path:"/singleDetail/"+a.id})}}},[e("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[e("h5",{staticClass:"text-overflow"},[t._v(t._s(a.title))]),0==a.hireStatus?e("span",{staticClass:"unreview"},[t._v("待审核")]):t._e(),1==a.hireStatus?e("span",{staticClass:"passed"},[t._v("已通过")]):t._e(),2==a.hireStatus?e("span",{staticClass:"rejected"},[t._v("已拒绝")]):t._e()]),e("p",{staticClass:"msgContent more-overflow"},[t._v(t._s(a.content))]),e("div",{staticClass:"enclosureBox"},t._l(a.attachmentNameList,(function(i,r){return e("a",{key:r,staticClass:"singleEnclosure",attrs:{href:a.attachmentPathList[r],download:i}},[e("p",{staticClass:"enclosureTitle text-overflow"},[t._v(t._s(i))]),e("div",{staticClass:"imgBox"},["pdf"==a.fileTypeArr[r]?e("img",{staticClass:"w-100 h-100",attrs:{src:s("139f"),alt:""}}):"ppt"==a.fileTypeArr[r]?e("img",{staticClass:"w-100 h-100",attrs:{src:s("07ba"),alt:""}}):"txt"==a.fileTypeArr[r]?e("img",{staticClass:"w-100 h-100",attrs:{src:s("6835"),alt:""}}):"docx"==a.fileTypeArr[r]||"doc"==a.fileTypeArr[r]?e("img",{staticClass:"w-100 h-100",attrs:{src:s("e739"),alt:""}}):"xlsx"==a.fileTypeArr[r]||"xls"==a.fileTypeArr[r]?e("img",{staticClass:"w-100 h-100",attrs:{src:s("e537"),alt:""}}):e("img",{staticClass:"icon",attrs:{src:s("600a"),alt:""}})])])})),0),e("p",{staticClass:"commonClass"},[t._v("上报时间:"+t._s(a.createdAt))]),e("p",{staticClass:"commonClass"},[t._v("上报乡镇:"+t._s(a.streetStr))])])})),t.list2.length?t._e():e("van-empty",{attrs:{description:"暂无数据"}}),t.list2.length?e("van-pagination",{attrs:{"total-items":t.totalitems,"items-per-page":t.size,mode:"simple"},on:{change:t.getdata},model:{value:t.currentPage,callback:function(a){t.currentPage=a},expression:"currentPage"}}):t._e(),e("img",{staticClass:"addUpload",attrs:{src:s("6f8e"),alt:""},on:{click:function(a){return t.$router.push("/addEnclosure")}}})],2)},i=[],r=s("0c6d"),l={data(){return{searchValue:"",list2:[],currentPage:1,size:5,totalitems:""}},created(){this.getdata2()},methods:{onsearch2(){this.currentPage=1,this.getdata2()},getdata2(){this.$toast.loading({message:"正在加载...",duration:0,forbidClick:!0}),Object(r["J"])({page:this.currentPage,size:this.size,title:this.searchValue}).then(t=>{200==t.status?(this.totalitems=t.data.count,t.data.data.map(t=>{t.attachmentNameList?(t.fileTypeArr=[],t.attachmentNameList.forEach((a,s)=>{t.fileTypeArr.push(a.split(".")[a.split(".").length-1])})):t.attachmentNameList=[]}),this.list2=t.data.data,this.$toast.clear()):this.$toast.fail(t.data.msg)}).catch(t=>{this.$toast.fail("加载失败")})}}},c=l,n=(s("57e9"),s("2877")),o=Object(n["a"])(c,e,i,!1,null,"5ee1fb2d",null);a["default"]=o.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue