Files
wysite/hc-etms.sqygj.cn/static/js/chunk-c3e8a938.1a5837c7.js

1 line
8.3 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c3e8a938"],{1897:function(t,e,a){},"65db":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",{staticClass:"workPointsManage"},[t.infoList?a("div",{staticClass:"workPointsRuleList"},[a("el-card",{staticClass:"box-card"},[a("el-row",[a("el-col",{staticClass:"elCol",attrs:{span:4}},[a("el-input",{attrs:{clearable:"",placeholder:"合同编号"},model:{value:t.query.contractNo,callback:function(e){t.$set(t.query,"contractNo",e)},expression:"query.contractNo"}})],1),t._v(" "),a("el-col",{staticClass:"elCol",attrs:{span:4}},[a("el-input",{attrs:{clearable:"",placeholder:"付款人"},model:{value:t.query.payer,callback:function(e){t.$set(t.query,"payer",e)},expression:"query.payer"}})],1),t._v(" "),a("el-col",{staticClass:"elCol",attrs:{span:4}},[a("el-select",{attrs:{clearable:"",placeholder:"支付渠道"},model:{value:t.query.payType,callback:function(e){t.$set(t.query,"payType",e)},expression:"query.payType"}},t._l(t.payTypeList,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-col",{staticClass:"elCol",attrs:{span:7}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:t.GetzhifuTime},model:{value:t.payTime,callback:function(e){t.payTime=e},expression:"payTime"}})],1),t._v(" "),a("el-col",{staticClass:"elCol",attrs:{span:4}},[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(e){return t.resetForm()}}},[t._v("重置")]),t._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:t.onSearch}},[t._v("查询")])],1)],1)],1),t._v(" "),a("el-card",{staticClass:"box-card",staticStyle:{"margin-top":"15px"}},[a("div",{staticClass:"planLst"},[a("span",{staticStyle:{color:"#2f2c2c","font-size":"16px"}},[t._v("合同列表")])]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.tableLoading,expression:"tableLoading"}],staticStyle:{width:"100%","margin-top":"15px"},attrs:{border:"",data:t.tableData,"header-cell-style":t.headClass}},[a("el-table-column",{attrs:{label:"#",align:"center","min-width":"50",fixed:""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.$index+(t.query.pageNumber-1)*t.query.pageSize+1)+" ")])]}}],null,!1,3830243315)}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"payTime",label:"付款时间",fixed:"","min-width":"160","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"contractNo",label:"合同编号","min-width":"130","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"payBank",label:"付款开户行","min-width":"150","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"companyName",label:"银行账户","min-width":"100","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"payBankNo",label:"银行账号","min-width":"100","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"right",prop:"amount",label:"合同金额","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("formatMoney")(e.row.amount)))]}}],null,!1,68156507)}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"payer",label:"付款人","min-width":"160"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"payType",label:"支付渠道","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("getItemType")(e.row.payType,t.payTypeList)))]}}],null,!1,3945233233)}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"status",label:"状态","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(2===e.row.status?"待审核":3===e.row.status?"审批拒绝":"审批通过"))]}}],null,!1,1288451890)}),t._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center","min-width":"100",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text",disabled:4!==e.row.status},on:{click:function(a){return t.viewDetailes(e.row)}}},[t._v("下载合同")])]}}],null,!1,97606533)})],1),t._v(" "),a("div",{staticClass:"paginations"},[a("el-pagination",{attrs:{background:"","current-page":t.query.pageNumber,"page-sizes":[10,20,30,50],"page-size":t.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.pageTotal},on:{"update:currentPage":function(e){return t.$set(t.query,"pageNumber",e)},"update:current-page":function(e){return t.$set(t.query,"pageNumber",e)},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)],1):t._e(),t._v(" "),a("el-dialog",{attrs:{title:"合同文件",visible:t.dialogFileVisible},on:{"update:visible":function(e){t.dialogFileVisible=e}}},[a("iframe",{attrs:{src:t.pdfFileUrl,frameborder:"0",scrolling:"no",height:"550px",width:"100%"}}),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogFileVisible=!1}}},[t._v("关闭")])],1)])],1)},o=[],i=a("9bdd"),r=a("dce5"),l={components:{},data:function(){return{infoList:!0,viewInfo:!1,pageTotal:0,query:{companyId:"",contractNo:"",payer:"",payType:"",pageNumber:1,pageSize:10,startTime:"",endTime:""},tableData:[],payTypeList:r["jb"],tableLoading:!1,payTime:"",pdfFileUrl:"",dialogFileVisible:!1}},mounted:function(){this.query.companyId=JSON.parse(window.localStorage.getItem("companyInfo")).osId,this.getlistData()},beforeRouteLeave:function(t,e,a){a()},methods:{GetzhifuTime:function(){null!=this.payTime&&(this.query.startTime=this.payTime[0]+" 00:00:00",this.query.endTime=this.payTime[1]+" 23:59:59")},onSearch:function(){this.query.pageNumber=1,this.getlistData()},getlistData:function(){var t=this,e=this.query;this.tableLoading=!0,Object(i["i"])(e).then((function(e){t.tableLoading=!1,0===e.code&&e.data?(t.tableData=e.data.records,t.pageTotal=e.data.rowsCount):t.tableData=[]})).catch((function(){t.tableLoading=!1}))},viewDetailes:function(t){var e=document.createElement("a");e.href=t.contractUrl,e.click()},goBack:function(){this.viewInfo=!1,this.infoList=!0,this.getlistData()},handleSizeChange:function(t){this.query.pageSize=t,this.getlistData()},handleCurrentChange:function(t){this.query.pageNumber=t,this.getlistData()},resetForm:function(){this.query.pageNumber=1,this.query.contractNo="",this.query.payer="",this.query.payType="",this.query.startTime="",this.query.endTime="",this.payTime=null,this.getlistData()},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},s=l,c=(a("a5c8"),a("7bbf"),a("829d")),u=Object(c["a"])(s,n,o,!1,null,"62f20e96",null);e["default"]=u.exports},"66b2":function(t,e,a){},"7bbf":function(t,e,a){"use strict";a("66b2")},"9bdd":function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"d",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"g",(function(){return l})),a.d(e,"a",(function(){return s})),a.d(e,"f",(function(){return c})),a.d(e,"h",(function(){return u})),a.d(e,"e",(function(){return p})),a.d(e,"i",(function(){return d}));var n=a("b775");function o(t){return Object(n["a"])({url:"/hakocompany/RightsProject/recordPageList",method:"post",data:t})}function i(t){return Object(n["a"])({url:"/hakocompany/RightsProject/projectSchemeDetail",method:"post",data:t})}function r(t){return Object(n["a"])({url:"/hakocompany/RightsProject/expireSchemeDetail",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/hakocompany/RightsProject/rightsActivationPreview",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/hakocompany/RightsProject/batchRightsActivation",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/hakocompany/RightsProject/rightsActivation",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/hakocompany/RightsProject/findByCdkey",method:"post",data:t})}function p(t){return Object(n["a"])({url:"/hakocompany/RightsProject/projectSchemeUpgrade",method:"post",data:t})}function d(t){return Object(n["a"])({url:"/hakocompany/OrderContract/pageList",method:"post",data:t})}},a5c8:function(t,e,a){"use strict";a("1897")}}]);