text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-853d2552"],{"1a01":function(t,n,e){"use strict";e.r(n);var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("el-row",{staticClass:"dynamic-manage"},[e("el-col",{attrs:{span:24}},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:""}},[e("el-table-column",{attrs:{prop:"time",formatter:t.formatTime,label:"操作时间","min-width":"13%"}}),e("el-table-column",{attrs:{prop:"type",label:"类型","min-width":"10%"}}),e("el-table-column",{attrs:{prop:"operationObject",label:"操作对象","min-width":"15%"}}),e("el-table-column",{attrs:{prop:"user_name",label:"操作人","min-width":"15%"}}),e("el-table-column",{attrs:{prop:"description",label:"描述","min-width":"47%"}})],1),e("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"prev, pager, next","page-size":20,"page-count":t.total},on:{"current-change":t.handleCurrentChange}})],1)],1)},r=[],o=(e("c5f6"),e("4ec3")),i=e("c1df"),c=e.n(i),u={data:function(){return{moment:c.a,tableData:[],total:0,page:1,listLoading:!1}},methods:{formatTime2:function(t,n){var e=new Date(t[n.property]);return e.getFullYear()+"年"+e.getMonth()+"月"+e.getDate()+"日 "+e.getHours()+":"+e.getMinutes()},formatTime:function(t,n){var e=t[n.property];return void 0==e?"":c()(e).format("YYYY-MM-DD HH:mm:ss")},handleCurrentChange:function(t){this.page=t,this.getProjectDynamic()},getProjectDynamic:function(){var t=this;this.listLoading=!0;var n=this,e={project_id:Number(this.$route.params.project_id),page:n.page},a={"Content-Type":"application/json",Authorization:"Token "+JSON.parse(sessionStorage.getItem("token"))};Object(o["j"])(a,e).then((function(t){var e=t.msg,a=t.code,r=t.data;n.listLoading=!1,setTimeout((function(){n.listLoading=!1}),20),console.log(r),"999999"===a?(n.total=r.total,n.tableData=r.data):n.$message.error({message:e,center:!0})})).catch((function(n){return t.listLoading=!1}))}},mounted:function(){this.getProjectDynamic()}},s=u,d=(e("2a77"),e("2877")),p=Object(d["a"])(s,a,r,!1,null,"7afc246c",null);n["default"]=p.exports},2563:function(t,n,e){},"2a77":function(t,n,e){"use strict";e("2563")},"4ec3":function(t,n,e){"use strict";e.d(n,"p",(function(){return i})),e.d(n,"o",(function(){return c})),e.d(n,"h",(function(){return u})),e.d(n,"j",(function(){return s})),e.d(n,"i",(function(){return d})),e.d(n,"c",(function(){return p})),e.d(n,"d",(function(){return l})),e.d(n,"r",(function(){return f})),e.d(n,"e",(function(){return h})),e.d(n,"f",(function(){return m})),e.d(n,"k",(function(){return g})),e.d(n,"g",(function(){return b})),e.d(n,"b",(function(){return j})),e.d(n,"q",(function(){return _})),e.d(n,"n",(function(){return w})),e.d(n,"a",(function(){return v})),e.d(n,"l",(function(){return y}));var a=e("bc3a"),r=e.n(a);r.a.defaults.withCredentials=!1;var o="/xplanapi",i="xplanapi",c=function(t){return r.a.post("".concat(o,"/login/userLogin"),t).then((function(t){return t.data}))},u=function(t,n){return r.a.get("".concat(o,"/api/project/project_list"),{params:n,headers:t}).then((function(t){return t.data}))},s=function(t,n){return r.a.get("".concat(o,"/api/dynamic/dynamic"),{params:n,headers:t}).then((function(t){return t.data}))},d=function(t,n){return r.a.get("".concat(o,"/api/title/project_info"),{params:n,headers:t}).then((function(t){return t.data}))},p=function(t,n){return r.a.post("".concat(o,"/api/project/add_project"),n,{headers:t}).then((function(t){return t.data}))},l=function(t,n){return r.a.post("".concat(o,"/api/project/del_project"),n,{headers:t}).then((function(t){return t.data}))},f=function(t,n){return r.a.post("".concat(o,"/api/project/update_project"),n,{headers:t}).then((function(t){return t.data}))},h=function(t,n){return r.a.post("".concat(o,"/api/project/disable_project"),n,{headers:t}).then((function(t){return t.data}))},m=function(t,n){return r.a.post("".concat(o,"/api/project/enable_project"),n,{headers:t}).then((function(t){return t.data}))},g=function(t,n){return r.a.get("".concat(o,"/api/member/project_member"),{params:n,headers:t}).then((function(t){return t.data}))},b=function(t,n){return r.a.get("".concat(o,"/api/member/alluserlist"),{params:n,headers:t}).then((function(t){return t.data}))},j=function(t,n){return r.a.post("".concat(o,"/api/automation/add_case"),n,{headers:t}).then((function(t){return t.data}))},_=function(t,n){return r.a.post("".concat(o,"/api/automation/update_case"),n,{headers:t}).then((function(t){return t.data}))},w=function(t,n){return r.a.post("".concat(o,"/api/automation/update_case22"),n,{headers:t}).then((function(t){return t.data}))},v=function(t,n){return r.a.post("".concat(o,"/api/automation/absetWinner"),n,{headers:t}).then((function(t){return t.data}))},y=function(t,n){return r.a.get("".concat(o,"/api/report/auto_test_report"),{params:n,headers:t}).then((function(t){return t.data}))}}}]);
  //# sourceMappingURL=chunk-853d2552.e97765c8.js.map