|
- import{_,c as x,e as k,f as C,i as o,j as n,k as a,T as l,U as N}from"./index.cc7fd5b4.js";import{g as P,a as D,b as w,c,n as y,o as v,d as I}from"./wpsUtils.da6ca25c.js";const S={style:{display:"flex","flex-direction":"column",width:"200px"}},j={__name:"index",setup(O){console.log(P()),console.log(document.cookie);function i(){D().then(t=>{console.log(t)})}function r(){const t={projectCode:"33110000020260100009",appraisalId:103,reportFile:JSON.stringify({fileId:8871,fileName:"\u8FD9\u662F\u6D4B\u8BD5.doc"})},s="/pm/api/v1/time-axios/rectify-plan";var e=new XMLHttpRequest;e.open("POST",s,!0),e.withCredentials=!0,e.onload=function(){if(e.status>=200&&e.status<300){var g=JSON.parse(e.response);console.log(g)}else console.error("Request failed. Returned status of "+e.status)},e.onerror=function(){console.error("Request failed.")},e.setRequestHeader("Content-Type","application/json;charset=UTF-8"),e.send(JSON.stringify(t))}function p(){w().then(t=>{l.confirm("\u662F\u5426\u5B89\u88C5\u63D2\u4EF6\uFF1A"+t).then(()=>{done()}).catch(()=>{})})}function u(){c(!0).then(t=>{l.confirm("\u63D2\u4EF6\u5B89\u88C5\u6210\u529F\uFF1A").then(()=>{done()}).catch(()=>{})})}function d(){c(!1).then(t=>{l.confirm("\u63D2\u4EF6\u5378\u8F7D\u6210\u529F\uFF1A").then(()=>{done()}).catch(()=>{})})}function f(){y()}function m(){v({uploadPath:"http://lspm.ningdatech.com/pm/file/upload",filePath:"http://lspm.ningdatech.com/pm/file/download?fileId=8535",fileName:"\u6D4B\u8BD5\u6587\u6863.doc",uploadFieldName:"file",copyUrl:"",userName:"\u6D4B\u8BD5"})}function h(){const t=N.service({fullscreen:!0});I({uploadPath:"http://lspm.ningdatech.com/pm/file/upload",filePath:"http://lspm.ningdatech.com/pm/file/download?fileId=8535",fileName:"\u6D4B\u8BD5\u6587\u6863.doc",uploadFieldName:"file",copyUrl:"",userName:"\u6D4B\u8BD5",extra:{uploadPath:"http://lspm.ningdatech.com/pm/api/v1/time-axios/rectify-plan",projectCode:"33110000020260100009",appraisalId:103}},!1).then(s=>{setTimeout(()=>{t.close()},1e3)}).catch(s=>{t.close()})}return(t,s)=>{const e=x("el-button");return k(),C("div",S,[o(e,{onClick:p},{default:n(()=>[a("\u68C0\u6D4B\u662F\u5426\u5B89\u88C5\u4E86\u63D2\u4EF6")]),_:1}),o(e,{onClick:u},{default:n(()=>[a("\u5B89\u88C5\u63D2\u4EF6")]),_:1}),o(e,{onClick:d},{default:n(()=>[a("\u5378\u8F7D\u63D2\u4EF6")]),_:1}),o(e,{onClick:f},{default:n(()=>[a("\u65B0\u5EFADoc")]),_:1}),o(e,{onClick:m},{default:n(()=>[a("\u6253\u5F00\u7F51\u7EDCDoc")]),_:1}),o(e,{onClick:h},{default:n(()=>[a("\u6253\u5F00\u7F51\u7EDCDoc\uFF08\u5C01\u88C5\u51FD\u6570\uFF09")]),_:1}),o(e,{onClick:r},{default:n(()=>[a("\u6D4B\u8BD5\u4E0A\u4F20\u6587\u4EF6")]),_:1}),o(e,{onClick:i},{default:n(()=>[a("\u83B7\u53D6\u7248\u672C")]),_:1})])}}},F=_(j,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/wps/index.vue"]]);export{F as default};
|