ERP/static/js/chunk-7ed0.a8a877b9.js
beyond e4cd916a0c beyond 8.1 version2
beyond 8.1 version2
2019-08-01 19:52:12 +08:00

1 line
11 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-7ed0"],{"0kyi":function(e,t,n){"use strict";var a=n("A31h");n.n(a).a},"7JnL":function(e,t,n){"use strict";n.r(t);var a=n("moiu"),i={name:"Parameter",components:{MyEmp:n("1ZjH").a},data:function(){return{parameters:[]}},created:function(){this.getnationlist()},methods:{getnationlist:function(){var e=this;Object(a.l)().then(function(t){200===t.data.ret?e.parameters=t.data.data.content:e.$notify.error({title:"错误",message:"出错了",offset:100})})},handlechange:function(e){var t=this;console.log(this.parameters),Object(a.j)(e).then(function(e){200===e.data.ret?(t.$notify({title:"成功",message:"修改成功",type:"success",offset:100}),t.getnationlist()):t.$notify.error({title:"错误",message:e.data.msg,offset:100})})}}},r=(n("0kyi"),n("KHd+")),p=Object(r.a)(i,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ERP-container"},[n("div",{staticClass:"app-container"},[n("h2",{ref:"geren",staticClass:"form-name"},[e._v("设置参数")]),e._v(" "),n("div",{staticClass:"container"},e._l(e.parameters,function(t,a){return n("el-form",{key:a,ref:"personalForm",refInFor:!0,staticClass:"demo-ruleForm",staticStyle:{"margin-left":"30px"},attrs:{inline:!0,"status-icon":"","label-position":"left","label-width":"300px"}},[n("el-form-item",{staticStyle:{width:"40%","margin-top":"3%"},attrs:{label:t.parameterName}},[n("el-radio-group",{on:{change:function(n){e.handlechange(t)}},model:{value:t.isEffective,callback:function(n){e.$set(t,"isEffective",n)},expression:"item.isEffective"}},[n("el-radio",{attrs:{label:1}},[e._v("启用")]),e._v(" "),n("el-radio",{attrs:{label:2}},[e._v("禁用")])],1)],1),e._v(" "),n("el-form-item",{staticStyle:{"margin-top":"1%","text-align":"center"}},[n("code",{staticStyle:{width:"600px",color:"red"}},[e._v(e._s(t.text))])])],1)}))])])},[],!1,null,"0e24726f",null);p.options.__file="Parameter.vue";t.default=p.exports},A31h:function(e,t,n){},moiu:function(e,t,n){"use strict";n.d(t,"q",function(){return i}),n.d(t,"m",function(){return r}),n.d(t,"g",function(){return p}),n.d(t,"b",function(){return o}),n.d(t,"r",function(){return d}),n.d(t,"k",function(){return s}),n.d(t,"a",function(){return c}),n.d(t,"u",function(){return l}),n.d(t,"i",function(){return f}),n.d(t,"o",function(){return u}),n.d(t,"e",function(){return m}),n.d(t,"t",function(){return v}),n.d(t,"h",function(){return y}),n.d(t,"l",function(){return h}),n.d(t,"j",function(){return g}),n.d(t,"d",function(){return _}),n.d(t,"c",function(){return b}),n.d(t,"n",function(){return N}),n.d(t,"p",function(){return w}),n.d(t,"f",function(){return j}),n.d(t,"s",function(){return E});var a=n("t3Un");function i(){return Object(a.a)({url:"http://192.168.1.45:8080/NumberingRules/searchcategory",method:"post"})}function r(e){var t=new URLSearchParams;return""!==e.ruleName&&null!==e.ruleName&&void 0!==e.ruleName&&t.append("ruleName",e.ruleName),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(a.a)({url:"http://192.168.1.45:8080/NumberingRules/search",method:"post",data:t})}function p(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("ids",e),Object(a.a)({url:"http://192.168.1.45:8080/NumberingRules/delete",method:"post",data:t})}function o(e){var t=new URLSearchParams;return""!==e.ruleName&&null!==e.ruleName&&void 0!==e.ruleName&&t.append("ruleName",e.ruleName),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.prefix&&null!==e.prefix&&void 0!==e.prefix&&t.append("prefix",e.prefix),""!==e.dateType&&null!==e.dateType&&void 0!==e.dateType&&t.append("dateType",e.dateType),""!==e.length&&null!==e.length&&void 0!==e.length&&t.append("length",e.length),Object(a.a)({url:"http://192.168.1.45:8080/NumberingRules/create",method:"post",data:t})}function d(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("id",e.id),""!==e.ruleName&&null!==e.ruleName&&void 0!==e.ruleName&&t.append("ruleName",e.ruleName),""!==e.isEffective&&null!==e.isEffective&&void 0!==e.isEffective&&t.append("iseffective",e.isEffective),""!==e.prefix&&null!==e.prefix&&void 0!==e.prefix&&t.append("prefix",e.prefix),""!==e.dateType&&null!==e.dateType&&void 0!==e.dateType&&t.append("dateType",e.dateType),""!==e.length&&null!==e.length&&void 0!==e.length&&t.append("length",e.length),Object(a.a)({url:"http://192.168.1.45:8080/NumberingRules/update",method:"post",data:t})}function s(e){var t=new URLSearchParams;return""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.modelname&&null!==e.modelname&&void 0!==e.modelname&&t.append("modelname",e.modelname),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(a.a)({url:"http://192.168.1.45:8080/messageModel/modellist",method:"post",data:t})}function c(e){var t=new URLSearchParams;return""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.modelname&&null!==e.modelname&&void 0!==e.modelname&&t.append("modelname",e.modelname),""!==e.content&&null!==e.content&&void 0!==e.content&&t.append("content",e.content),Object(a.a)({url:"http://192.168.1.45:8080/messageModel/addmodel",method:"post",data:t})}function l(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("modelid",e.id),""!==e.isEffective&&null!==e.isEffective&&void 0!==e.isEffective&&t.append("iseffective",e.isEffective),""!==e.modelName&&null!==e.modelName&&void 0!==e.modelName&&t.append("modelname",e.modelName),""!==e.content&&null!==e.content&&void 0!==e.content&&t.append("content",e.content),Object(a.a)({url:"http://192.168.1.45:8080/messageModel/updatemodel",method:"post",data:t})}function f(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("modelids",e),Object(a.a)({url:"http://192.168.1.45:8080/messageModel/deletemodel",method:"post",data:t})}function u(e){var t=new URLSearchParams;return""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.categoryname&&null!==e.categoryname&&void 0!==e.categoryname&&t.append("categoryname",e.categoryname),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(a.a)({url:"http://192.168.1.45:8080/measurement/search",method:"post",data:t})}function m(e){var t=new URLSearchParams;return""!==e.category&&null!==e.category&&void 0!==e.category&&t.append("category",e.category),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.categoryname&&null!==e.categoryname&&void 0!==e.categoryname&&t.append("categoryname",e.categoryname),Object(a.a)({url:"http://192.168.1.45:8080/measurement/create",method:"post",data:t})}function v(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("id",e.id),""!==e.isEffective&&null!==e.isEffective&&void 0!==e.isEffective&&t.append("iseffective",e.isEffective),""!==e.categoryName&&null!==e.categoryName&&void 0!==e.categoryName&&t.append("categoryname",e.categoryName),Object(a.a)({url:"http://192.168.1.45:8080/measurement/update",method:"post",data:t})}function y(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("modelids",e),Object(a.a)({url:"http://192.168.1.45:8080/measurement/delete",method:"post",data:t})}function h(){return Object(a.a)({url:"http://192.168.1.45:8080/parameter/search",method:"post"})}function g(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("id",e.id),""!==e.isEffective&&null!==e.isEffective&&void 0!==e.isEffective&&t.append("isEffective",e.isEffective),Object(a.a)({url:"http://192.168.1.45:8080/parameter/effective",method:"post",data:t})}function _(e,t){var n=new URLSearchParams;return""!==e.process_name&&null!==e.process_name&&void 0!==e.process_name&&n.append("process_name",e.process_name),""!==e.type&&null!==e.type&&void 0!==e.type&&n.append("type",e.type),""!==e.is_message&&null!==e.is_message&&void 0!==e.is_message&&n.append("is_message",e.is_message),""!==e.is_effective&&null!==e.is_effective&&void 0!==e.is_effective&&n.append("is_effective",e.is_effective),""!==e.effect_region&&null!==e.effect_region&&void 0!==e.effect_region&&n.append("effect_region",e.effect_region),""!==e.effect_repository&&null!==e.effect_repository&&void 0!==e.effect_repository&&n.append("effect_repository",e.effect_repository),""!==e.country_id&&null!==e.country_id&&void 0!==e.country_id&&n.append("country_id",e.country_id),""!==t&&null!==t&&void 0!==t&&n.append("detailJson",t),Object(a.a)({url:"http://192.168.1.45:8080/approvalProcess/create",method:"post",data:n})}function b(e){var t=new URLSearchParams;return""!==e.ruleName&&null!==e.ruleName&&void 0!==e.ruleName&&t.append("ruleName",e.ruleName),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.prefix&&null!==e.prefix&&void 0!==e.prefix&&t.append("prefix",e.prefix),""!==e.dateType&&null!==e.dateType&&void 0!==e.dateType&&t.append("dateType",e.dateType),""!==e.length&&null!==e.length&&void 0!==e.length&&t.append("length",e.length),Object(a.a)({url:"http://192.168.1.45:8080/NumberingRules/create",method:"post",data:t})}function N(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("id",e),Object(a.a)({url:"http://192.168.1.45:8080/approvalProcess/searchDetail",method:"post",data:t})}function w(e){var t=new URLSearchParams;return""!==e.process_name&&null!==e.process_name&&void 0!==e.process_name&&t.append("process_name",e.process_name),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.is_effective&&null!==e.is_effective&&void 0!==e.is_effective&&t.append("is_effective",e.is_effective),t.append("pagesize",e.pagesize),t.append("pagenum",e.pagenum),Object(a.a)({url:"http://192.168.1.45:8080/approvalProcess/search",method:"post",data:t})}function j(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("modelids",e),Object(a.a)({url:"http://192.168.1.45:8080/approvalProcess/delete",method:"post",data:t})}function E(e,t){var n=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&n.append("id",e.id),""!==e.processName&&null!==e.processName&&void 0!==e.processName&&n.append("process_name",e.processName),""!==e.type&&null!==e.type&&void 0!==e.type&&n.append("type",e.type),""!==e.isMessage&&null!==e.isMessage&&void 0!==e.isMessage&&n.append("is_message",e.isMessage),""!==e.isEffective&&null!==e.isEffective&&void 0!==e.isEffective&&n.append("is_effective",e.isEffective),""!==e.effect_region&&null!==e.effect_region&&void 0!==e.effect_region&&n.append("effect_region",e.effect_region),""!==e.effect_repository&&null!==e.effect_repository&&void 0!==e.effect_repository&&n.append("effect_repository",e.effect_repository),""!==e.countryId&&null!==e.countryId&&void 0!==e.countryId&&n.append("country_id",e.countryId),""!==t&&null!==t&&void 0!==t&&n.append("detailJson",t),Object(a.a)({url:"http://192.168.1.45:8080/approvalProcess/update",method:"post",data:n})}}}]);