Files
cog_streamer_web/dist/js/chunk-785c492a.e8c1dbb5.js
T
我是个攻城狮 77da721290 alls
2026-07-31 16:33:31 +08:00

2 lines
6.9 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-785c492a"],{2382:function(t,e,a){"use strict";a("910d")},"271a":function(t,e,a){"use strict";var s=a("cb2d"),r=a("e330"),i=a("577e"),o=a("d6d6"),n=URLSearchParams,l=n.prototype,c=r(l.getAll),d=r(l.has),u=new n("a=1");!u.has("a",2)&&u.has("a",void 0)||s(l,"has",(function(t){var e=arguments.length,a=e<2?void 0:arguments[1];if(e&&void 0===a)return d(this,t);var s=c(this,t);o(e,1);var r=i(a),n=0;while(n<s.length)if(s[n++]===r)return!0;return!1}),{enumerable:!0,unsafe:!0})},5494:function(t,e,a){"use strict";var s=a("83ab"),r=a("e330"),i=a("edd0"),o=URLSearchParams.prototype,n=r(o.forEach);s&&!("size"in o)&&i(o,"size",{get:function(){var t=0;return n(this,(function(){t++})),t},configurable:!0,enumerable:!0})},"5ea6":function(t,e,a){"use strict";a("e923")},"87db":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAWZJREFUOE+lkzEsREEURc9NFAoJJQnRbKGwCVEg2YRG6NWiQDQUGwWFxOqUOgqFQkehQ4Vo6HQkFDYhUSgVCskzbzN/8+1++wtT/fyZd96d++6Ify411ptZNzAPDAFdwEv4PpV0kdXrF8DMlkPRLvAF3AIfETQInANLkl7ToDrAzBaAA2AfKEtySG2Z2QRwCHwDw5I+k70aIMp+AI4krWZJNbN+4NEbSCo3AtYCfRPoS9Mz/FkP19sAehKFiYJjN0zSVKuhmNlo9Mavce9nE8CZGyZpLgdQAJ6CoWOS7tKAPaAkqZgDmAVO4hXe04DpOKZJSdd/QcI0LoH2kInxXybGSdyEMfYCDqlmGLgV/lWCBzPpUKVz4MXewZO4E0BXIThvwEjwZ8XBEVqRtN2kIKroCLHwTosxxsk5T6WPuRRV1CFNbyGC2oABoBOopuNrZt7As1CU9JwJyHugZlbw4voU8gpa7f8Ai3x7EUt44c4AAAAASUVORK5CYII="},"88a7":function(t,e,a){"use strict";var s=a("cb2d"),r=a("e330"),i=a("577e"),o=a("d6d6"),n=URLSearchParams,l=n.prototype,c=r(l.append),d=r(l["delete"]),u=r(l.forEach),p=r([].push),h=new n("a=1&a=2&b=3");h["delete"]("a",1),h["delete"]("b",void 0),h+""!=="a=2"&&s(l,"delete",(function(t){var e=arguments.length,a=e<2?void 0:arguments[1];if(e&&void 0===a)return d(this,t);var s=[];u(this,(function(t,e){p(s,{key:e,value:t})})),o(e,1);var r,n=i(t),l=i(a),h=0,y=0,f=!1,v=s.length;while(h<v)r=s[h++],f||r.key===n?(f=!0,d(this,r.key)):y++;while(y<v)r=s[y++],r.key===n&&r.value===l||c(this,r.key,r.value)}),{enumerable:!0,unsafe:!0})},"910d":function(t,e,a){"use strict";var s=a("23e7"),r=a("c65b"),i=a("59ed"),o=a("825a"),n=a("46c4"),l=a("c5cc"),c=a("9bdd"),d=a("c430"),u=l((function(){var t,e,a,s=this.iterator,i=this.predicate,n=this.next;while(1){if(t=o(r(n,s)),e=this.done=!!t.done,e)return;if(a=t.value,c(s,i,[a,this.counter++],!0))return a}}));s({target:"Iterator",proto:!0,real:!0,forced:d},{filter:function(t){return o(this),i(t),new u(n(this),{predicate:t})}})},b7eb:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("UserShell",{attrs:{title:"我的申请",subtitle:"查看个人全部申请记录与处理状态",profile:t.profile,"menu-items":t.menuItems,"active-key":"apply","center-path":"/user/personal"}},[e("div",{staticClass:"page-actions"},[e("button",{staticClass:"apply-entry-btn",attrs:{type:"button"},on:{click:t.goApply}},[t._v("资产评估申请")])]),e("div",{staticClass:"notice-box"},[e("div",{staticClass:"notice-text"},[e("div",[t._v("· 当前资产类别暂定为主播资产/机构资产")]),e("div",[t._v("· 审核时间为2个工作日;审核通过后,专员将在3个工作日内电话联系你。")])])]),e("div",{staticClass:"search-row"},[e("el-input",{staticClass:"search-input",attrs:{placeholder:"请输入编号/类型/状态"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleSearch.apply(null,arguments)}},model:{value:t.keyword,callback:function(e){t.keyword="string"===typeof e?e.trim():e},expression:"keyword"}}),e("button",{staticClass:"search-btn",attrs:{type:"button"},on:{click:t.handleSearch}},[e("img",{attrs:{src:a("87db")}}),t._v(" 搜索 ")])],1),e("div",{staticClass:"table-wrap"},[e("table",{staticClass:"apply-table"},[e("colgroup",[e("col",{staticStyle:{width:"177px"}}),e("col"),e("col"),e("col"),e("col")]),e("thead",[e("tr",{staticStyle:{height:"45px"}},[e("th",{staticStyle:{width:"177px"}},[t._v("申请编号")]),e("th",[t._v("资产类别")]),e("th",[t._v("提交时间")]),e("th",[t._v("当前状态")]),e("th",[t._v("操作")])])]),e("tbody",[t._l(t.filteredRecords,(function(a){return e("tr",{key:a.id,staticStyle:{height:"55px"}},[e("td",{staticStyle:{width:"177px"}},[t._v(t._s(a.applicationNo))]),e("td",[t._v(t._s(a.assetCategory))]),e("td",[t._v(t._s(a.submittedAt))]),e("td",[e("span",{class:["status-pill",t.statusClassMap[a.status]||"status-draft"]},[t._v(t._s(a.status))])]),e("td",[e("div",{staticClass:"action-group"},t._l(t.getActions(a),(function(s){return e("button",{key:s.label,class:["table-btn",s.type],attrs:{type:"button"},on:{click:function(e){return t.handleAction(s.key,a)}}},[t._v(" "+t._s(s.label)+" ")])})),0)])])})),t.filteredRecords.length?t._e():e("tr",{staticStyle:{height:"55px"}},[e("td",{staticClass:"empty-cell",attrs:{colspan:"5"}},[t._v("暂无申请记录")])])],2)])])])},r=[],i=(a("14d9"),a("0643"),a("2382"),a("9a9a"),a("88a7"),a("271a"),a("5494"),a("1fa1")),o=a("79c5"),n=a.n(o),l=a("42ee"),c=a("2c7f"),d={name:"PersonalApplicationList",components:{UserShell:i["a"]},data(){return{tipIcon:n.a,profile:{...l["l"]},menuItems:Object(l["h"])(),keyword:"",searchKeyword:"",records:[],statusClassMap:{"未通过":"status-rejected","审核中":"status-reviewing","已通过":"status-approved","草稿":"status-draft"}}},computed:{filteredRecords(){if(!this.searchKeyword)return this.records;const t=this.searchKeyword.toLowerCase();return this.records.filter(e=>[e.applicationNo,e.assetCategory,e.status].some(e=>String(e||"").toLowerCase().includes(t)))}},created(){this.loadRecords()},methods:{loadRecords(){this.records=Object(c["f"])()},handleSearch(){this.searchKeyword=this.keyword},goApply(){this.$router.push("/user/personal/asset-apply")},getActions(t){return"未通过"===t.status?[{key:"edit",label:"修改",type:"primary"}]:"审核中"===t.status?[{key:"view",label:"查看",type:"ghost"}]:"已通过"===t.status?[{key:"view",label:"查看",type:"ghost"},{key:"download",label:"下载报告",type:"ghost wide"}]:[{key:"edit",label:"修改",type:"primary"}]},handleAction(t,e){"edit"!==t?"view"!==t?"download"===t&&this.downloadReport(e):this.$router.push({path:"/user/personal/asset-apply",query:{mode:"view",id:e.id}}):this.$router.push({path:"/user/personal/asset-apply",query:{mode:"edit",id:e.id}})},downloadReport(t){const e=`${t.applicationNo} 评估报告\n状态:${t.status}\n资产类别:${t.assetCategory}\n提交时间:${t.submittedAt}`,a=new Blob([e],{type:"text/plain;charset=utf-8"}),s=URL.createObjectURL(a),r=document.createElement("a");r.href=s,r.download=t.applicationNo+"-评估报告.txt",r.click(),URL.revokeObjectURL(s)}},watch:{"$route.fullPath"(){this.loadRecords()}}},u=d,p=(a("5ea6"),a("2877")),h=Object(p["a"])(u,s,r,!1,null,"0f5eb5b5",null);e["default"]=h.exports},d6d6:function(t,e,a){"use strict";var s=TypeError;t.exports=function(t,e){if(t<e)throw new s("Not enough arguments");return t}},e923:function(t,e,a){}}]);
//# sourceMappingURL=chunk-785c492a.e8c1dbb5.js.map