1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50049c1a"],{"166f":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:"annotation"},t._l(t.list,function(e){return a("div",{staticClass:"annotation-card white-box"},[a("div",{staticClass:"cell-item"},[a("p",{staticClass:"label"},[t._v("批注人")]),a("p",{staticClass:"tit"},[t._v(t._s(e.annotationName))])]),a("div",{staticClass:"cell-item"},[a("p",{staticClass:"label"},[t._v("批注时间")]),a("p",{staticClass:"tit"},[t._v(t._s(e.annotationTime))])]),a("div",{staticClass:"block-cell-item"},[a("p",{staticClass:"label"},[t._v("批注内容")]),a("div",{staticClass:"tit"},[a("div",{staticClass:"textarea"},[t._v("\n "+t._s(e.annotationContent)+"\n ")])])])])}),0)},s=[],c=(a("ac6a"),a("aae2")),o=a("5cab"),r={data:function(){return{list:[],detail:""}},mounted:function(){this.issuingId=this.$route.query.issuingId,this.getAnnotation()},methods:{getAnnotation:function(){var t=this;Object(c["a"])({issuingId:this.issuingId,userId:o["a"].currUser().id}).then(function(e){t.list=e,t.list.forEach(function(e){e.annotationTime=t.$common.transServDate(e.annotationTime)})}).catch(function(){})}}},i=r,u=(a("1c1e"),a("2877")),d=Object(u["a"])(i,n,s,!1,null,"30c47992",null);e["default"]=d.exports},"1c1e":function(t,e,a){"use strict";var n=a("d7cc"),s=a.n(n);s.a},8982:function(t,e,a){"use strict";a.d(e,"a",function(){return f}),a.d(e,"b",function(){return g});var n=a("795b"),s=a.n(n),c=a("bc3a"),o=a.n(c),r=a("4328"),i=a.n(r),u=a("4360"),d=a("5cab"),l=a("a18c"),h=a("3089");function f(t,e){t.headers||(t.headers={}),t.headers&&d["a"].getToken()&&(t.headers["RC-Token"]=d["a"].getToken());var a={method:t.method,url:t.url,data:i.a.stringify(t.data)};return e&&(a.data=t.data),t.headers&&(a.headers=t.headers),new s.a(function(e,n){o()(a).then(function(t){if(t&&t.data&&200===t.status){var a=t.data;switch(a.errno){case 501:Object(h["Toast"])(a.errmsg),setTimeout(function(){u["a"].dispatch("user/logout").then(function(){l["a"].push("/login")})},1500),n(a.errmsg);break;case 401:case 402:case 502:case 503:case 504:case 505:case 506:case 507:case 508:case 801:Object(h["Toast"])(a.errmsg),n(a.errmsg);break}e(a)}else console.log(t),n(t)}).catch(function(e,a){console.log(t.url+" fail",e,a),Object(h["Toast"])(e),n(e,a)})})}function g(t){t.headers||(t.headers={}),t.headers&&d["a"].getToken()&&(t.headers["RC-Token"]=d["a"].getToken());var e={method:t.method,url:t.url};return e.data=t.data,t.headers&&(e.headers=t.headers,e.headers["MVVM-Key"]=String((new Date).getTime()),e.headers["xx"]="anything",e.headers["Content-Type"]="application/json;charset=UTF-8"),console.log("request: ",t),new s.a(function(a,n){o.a.defaults.withCredentials=!0,o()(e).then(function(t){if(console.log("response:",t),t&&t.data&&200===t.status){var e=t.data;switch(e.errno){case 501:Object(h["Toast"])(e.errmsg),setTimeout(function(){u["a"].dispatch("user/logout").then(function(){l["a"].push("/login")})},1500),n(e.errmsg);break;case 401:case 402:case 502:case 503:case 504:case 505:case 506:case 507:case 508:case 801:Object(h["Toast"])(e.errmsg),n(e.errmsg);break}a(e)}else console.log(t),n(t)}).catch(function(e,a){console.log(t.url+" fail",e,a),Object(h["Toast"])(e),n(e,a)})})}},aae2:function(t,e,a){"use strict";a.d(e,"d",function(){return o}),a.d(e,"c",function(){return r}),a.d(e,"a",function(){return i}),a.d(e,"b",function(){return u}),a.d(e,"e",function(){return d});var n=a("8982"),s="/industryParkApi",c="/wx/documentConsult";function o(t){return Object(n["a"])({url:s+c+"/list",method:"post",data:t})}function r(t){return Object(n["a"])({url:s+c+"/getPath",method:"post",data:t})}function i(t){return Object(n["a"])({url:s+c+"/getAnnotation",method:"post",data:t})}function u(t){return Object(n["a"])({url:s+c+"/getForward",method:"post",data:t})}function d(t){return Object(n["a"])({url:s+c+"/updateUserIds",method:"post",data:t})}},d7cc:function(t,e,a){}}]);
|