import{_,f as x,g as C,h as k,l as o,m as n,p as a,V as l,W as N}from"./index.9fabe127.js";import{g as P,a as D,b as w,c,n as y,o as v,d as I}from"./wpsUtils.d67ebf50.js";const S={style:{display:"flex","flex-direction":"column",width:"200px"}},W={__name:"index",setup(O){console.log(P()),console.log(document.cookie);function i(){D().then(t=>{console.log(t)})}function p(){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 r(){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 C(),k("div",S,[o(e,{onClick:r},{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:p},{default:n(()=>[a("\u6D4B\u8BD5\u4E0A\u4F20\u6587\u4EF6")]),_:1}),o(e,{onClick:i},{default:n(()=>[a("\u83B7\u53D6\u7248\u672C")]),_:1})])}}},R=_(W,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/wps/index.vue"]]);export{R as default};
