You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
6.6 KiB
JavaScript
1 line
6.6 KiB
JavaScript
4 weeks ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/workOrder/workOrderWrite"],{"08f9":function(e,o,i){"use strict";i.r(o);var t=i("7612"),s=i.n(t);for(var n in t)["default"].indexOf(n)<0&&function(e){i.d(o,e,(function(){return t[e]}))}(n);o["default"]=s.a},"509d":function(e,o,i){"use strict";(function(e,o){var t=i("4ea4");i("260f");t(i("66fd"));var s=t(i("c685"));e.__webpack_require_UNI_MP_PLUGIN__=i,o(s.default)}).call(this,i("bc2e")["default"],i("543d")["createPage"])},5942:function(e,o,i){"use strict";i.d(o,"b",(function(){return s})),i.d(o,"c",(function(){return n})),i.d(o,"a",(function(){return t}));var t={uNavbar:function(){return Promise.all([i.e("common/vendor"),i.e("node-modules/uview-ui/components/u-navbar/u-navbar")]).then(i.bind(null,"84d1"))},uForm:function(){return Promise.all([i.e("common/vendor"),i.e("node-modules/uview-ui/components/u-form/u-form")]).then(i.bind(null,"f0ab"))},uFormItem:function(){return Promise.all([i.e("common/vendor"),i.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(i.bind(null,"baa1"))},uIcon:function(){return Promise.all([i.e("common/vendor"),i.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(i.bind(null,"da7f"))},uPicker:function(){return Promise.all([i.e("common/vendor"),i.e("node-modules/uview-ui/components/u-picker/u-picker")]).then(i.bind(null,"efe5"))},uTextarea:function(){return Promise.all([i.e("common/vendor"),i.e("node-modules/uview-ui/components/u-textarea/u-textarea")]).then(i.bind(null,"fcf5"))},uToast:function(){return i.e("node-modules/uview-ui/components/u-toast/u-toast").then(i.bind(null,"b7df"))}},s=function(){var e=this,o=e.$createElement;e._self._c;e._isMounted||(e.e0=function(o){e.custIdShow=!0},e.e1=function(o){e.custIdShow=!1},e.e2=function(o){e.issueTypeShow=!0},e.e3=function(o){e.issueTypeShow=!1},e.e4=function(o){e.priorityShow=!0},e.e5=function(o){e.priorityShow=!1},e.e6=function(o){e.isIssueShow=!0},e.e7=function(o){e.isIssueShow=!1})},n=[]},7612:function(e,o,i){"use strict";(function(e){var t=i("4ea4");Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;t(i("79eb"));var s=t(i("3f96")),n={components:{imgUpload:function(){i.e("components/image-upload").then(function(){return resolve(i("7a08"))}.bind(null,i)).catch(i.oe)}},onLoad:function(o){var i=this;o.orderNo&&(this.sizeForm.busId=o.orderNo,e.$on("newPages",(function(e){"1"==e.type?(i.sizeForm.followDTOList=e.checkboxList.filter((function(o){return e.followDTOList.includes(o.optionValue)})),i.sizeForm.followDTOList.map((function(e){e.followerId=e.optionValue}))):i.sizeForm.handleIdList=e.checkboxList.filter((function(o){return e.followDTOList==o.optionValue}))})))},onUnload:function(){e.$off("newPages")},onShow:function(){var e=this;s.default.storge.queryByDictCode({dictCode:"work_issue_type",pageNum:1,pageSize:500}).then((function(o){var i;null!==o&&void 0!==o&&null!==(i=o.data)&&void 0!==i&&i.records&&(e.issueTypecolumns=[o.data.records])})),s.default.storge.queryByDictCode({dictCode:"work_issue_priority",pageNum:1,pageSize:500}).then((function(o){var i;null!==o&&void 0!==o&&null!==(i=o.data)&&void 0!==i&&i.records&&(e.prioritycolumns=[o.data.records])})),s.default.storge.queryByDictCode({dictCode:"yes_or_no",pageNum:1,pageSize:500}).then((function(o){var i;null!==o&&void 0!==o&&null!==(i=o.data)&&void 0!==i&&i.records&&(e.isIssuecolumns=[o.data.records],e.sizeForm.isIssue="1")})),s.default.storge.queryByDictCode({dictCode:"aaf_cust",pageNum:1,pageSize:500}).then((function(o){var i;null!==o&&void 0!==o&&null!==(i=o.data)&&void 0!==i&&i.records&&(e.custIdcolumns=[o.data.records])}))},data:function(){return{sizeForm:{ossFileDTOList:[],busId:"",issueType:"",content:"",title:"",isIssue:"",priority:"",followDTOList:[],handleIdList:[]},rules:{content:{type:"string",required:!0,message:"请输入工单内容",trigger:["blur","change"]},title:{type:"string",required:!0,message:"请输入工单标题",trigger:["blur","change"]},followDTOList:{type:"array",required:!0,message:"请添加关注人",trigger:["blur","change"]},handleIdList:{type:"array",r
|