1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-38db7d20"],{"2c53":function(t,e,n){},"424e":function(t,e,n){"use strict";n.d(e,"h",(function(){return a})),n.d(e,"e",(function(){return c})),n.d(e,"l",(function(){return o})),n.d(e,"a",(function(){return u})),n.d(e,"g",(function(){return i})),n.d(e,"c",(function(){return d})),n.d(e,"i",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"m",(function(){return f})),n.d(e,"f",(function(){return p})),n.d(e,"d",(function(){return h})),n.d(e,"j",(function(){return m})),n.d(e,"k",(function(){return b}));var r=n("b775");function a(t){return Object(r["a"])({url:"/document/pageDocument",method:"post",data:t})}function c(t){return Object(r["a"])({url:"/document/export",method:"post",data:t})}function o(t){return Object(r["a"])({url:"/document/update",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/document/create",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/document/info",method:"post",data:t})}function d(t){return Object(r["a"])({url:"/document/delete",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/document/category/search",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/document/category/create",method:"post",data:t})}function f(t){return Object(r["a"])({url:"/document/category/update",method:"post",data:t})}function p(t){return Object(r["a"])({url:"/document/category/info",method:"post",data:t})}function h(t){return Object(r["a"])({url:"/document/category/delete",method:"post",data:t})}function m(t){return Object(r["a"])({url:"/template/searchList",method:"post",data:t})}function b(t){return Object(r["a"])({url:"/document/searchlistDoc",method:"post",data:t})}},a131:function(t,e,n){"use strict";n("2c53")},c4c8:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("b775");function a(t){return Object(r["a"])({url:"/product/search",method:"post",data:t})}},cf00:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"doc-attr"},[n("el-form",[n("el-form-item",{attrs:{label:"标题:"}},[n("el-input",{staticClass:"input-item",staticStyle:{width:"100%"},attrs:{placeholder:"请填写模版名称",disabled:t.articleId},model:{value:t.attrs.title,callback:function(e){t.$set(t.attrs,"title",e)},expression:"attrs.title"}})],1)],1)],1)},a=[],c=n("424e"),o=n("c4c8"),u=n("b775");function i(t){return Object(u["a"])({url:"/project/search",method:"post",data:t})}var d={name:"docAttr",props:{attrs:{type:Object,default:function(){return{category_id:"",title:"",linkProduct:[],linkProject:[]}}}},watch:{attrs:{handler:function(t){},immediate:!0,deep:!0}},data:function(){return{articleCategoryList:[],productList:[],projectList:[],articleId:0}},created:function(){this.initArticleCategoryList(),this.initProjectList(),this.initGoodsList(),this.articleId=this.$route.query.articleId},methods:{onChangeProduct:function(t){},onChangeProject:function(t){},initProjectList:function(){var t=this;i({page:1,pageSize:9999,status:5}).then((function(e){200==e.status&&(t.projectList=e.data.dataList)}))},initGoodsList:function(){var t=this;Object(o["a"])({page:1,pageSize:9999,status:5}).then((function(e){200==e.status&&(t.productList=e.data.dataList)}))},initArticleCategoryList:function(){var t=this;Object(c["i"])({page:1,pageSize:99,status:5}).then((function(e){200==e.status&&(t.articleCategoryList=e.data.dataList)}))}}},s=d,l=(n("a131"),n("2877")),f=Object(l["a"])(s,r,a,!1,null,null,null);e["default"]=f.exports}}]);
|