{"version":3,"sources":["webpack:///./src/views/systemManage/scoreColors/form.vue?f351","webpack:///./src/api/systemManage/scoreColors.ts","webpack:///./src/views/systemManage/scoreColors/form.vue?3687","webpack:///./src/views/systemManage/scoreColors/form.vue?c1d5","webpack:///./src/views/systemManage/scoreColors/form.vue","webpack:///./src/components/pageLayout/form.vue?b6de","webpack:///./src/components/pageLayout/form.vue?6ba5","webpack:///./src/components/pageLayout/form.vue?4f47","webpack:///./src/components/pageLayout/form.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","attrs","form","loading","onSubmit","onCancel","scopedSlots","_u","key","fn","on","_v","proxy","model","value","callback","$$v","collapseNames","expression","slot","staticClass","items","arraySpanMethod","scope","_s","row","UsedName","CategoryName","$set","staticStyle","staticRenderFns","apiUrl","GetList","PostData","Id","Category","MaxScore","MinScore","Color","Status","NewUserId","NewDate","Date","UpdateUserId","UpdateDate","method","url","data","obj","span","item","columnIndex","RowSpan","fetchSource","fetchData","fetchItems","then","response","$router","push","path","IsError","$message","message","type","dangerouslyUseHTMLString","Message","console","log","route","components","PageForm","component","_e","rules","labelWidth","_t","doSubmit","cancel","name","$nextTick","$refs","pageForm","clearValidate","result","validate","valid","field","msg","validateField","m","submit","default"],"mappings":"wIAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,YAAY,CAACE,IAAI,WAAWC,MAAM,CAAC,KAAOP,EAAIQ,KAAK,QAAUR,EAAIS,QAAQ,OAAST,EAAIU,SAAS,OAASV,EAAIW,UAAUC,YAAYZ,EAAIa,GAAG,CAAC,CAACC,IAAI,SAASC,GAAG,WAAW,MAAO,CAACX,EAAG,YAAY,CAACG,MAAM,CAAC,KAAO,WAAWS,GAAG,CAAC,MAAQhB,EAAIU,WAAW,CAACV,EAAIiB,GAAG,UAAUC,OAAM,MAAS,CAACd,EAAG,cAAc,CAACe,MAAM,CAACC,MAA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A,QAAS,Q,2BAGjB,gBADC,eAAK,CAAEA,QAAS,Q,4BAIjB,gBADC,eAAK,CAAEA,QAAS,Q,6BAIjB,gBAFC,eAAK,CAAEA,QAAS,Q,6BAfE,EAAQ,gBAD5B,QACoB,WC/B4X,I,YCO7YpB,EAAY,eACd,EACA/E,EACAqC,GACA,EACA,KACA,KACA,MAIa,aAAA0C,E","file":"js/chunk-04adcaaa.e203c4b2.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('page-form',{ref:\"formCtrl\",attrs:{\"form\":_vm.form,\"loading\":_vm.loading,\"submit\":_vm.onSubmit,\"cancel\":_vm.onCancel},scopedSlots:_vm._u([{key:\"footer\",fn:function(){return [_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.onSubmit}},[_vm._v(\"保存\")])]},proxy:true}])},[_c('el-collapse',{model:{value:(_vm.collapseNames),callback:function ($$v) {_vm.collapseNames=$$v},expression:\"collapseNames\"}},[_c('el-collapse-item',{attrs:{\"title\":\"\",\"name\":\"base\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 分色卡配置\\n \")]),_c('div',[_c('el-row',[_c('el-col',{attrs:{\"span\":20,\"offset\":2}},[_c('el-table',{ref:\"tbItems\",attrs:{\"data\":_vm.items,\"border\":\"\",\"span-method\":_vm.arraySpanMethod}},[_c('el-table-column',{attrs:{\"label\":\"级别\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.UsedName)+\"\\n \")]}}])}),_c('el-table-column',{attrs:{\"label\":\"类型\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.CategoryName)+\"\\n \")]}}])}),_c('el-table-column',{attrs:{\"label\":\"最小分\",\"width\":\"145\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input-number',{attrs:{\"controls-position\":\"right\"},model:{value:(scope.row.MinScore),callback:function ($$v) {_vm.$set(scope.row, \"MinScore\", $$v)},expression:\"scope.row.MinScore\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"最大分\",\"width\":\"145\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input-number',{attrs:{\"controls-position\":\"right\"},model:{value:(scope.row.MaxScore),callback:function ($$v) {_vm.$set(scope.row, \"MaxScore\", $$v)},expression:\"scope.row.MaxScore\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"色值\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-color-picker',{staticStyle:{\"float\":\"left\",\"margin-right\":\"10px\"},model:{value:(scope.row.Color),callback:function ($$v) {_vm.$set(scope.row, \"Color\", $$v)},expression:\"scope.row.Color\"}}),_c('el-input',{staticStyle:{\"float\":\"left\",\"width\":\"100px\"},model:{value:(scope.row.Color),callback:function ($$v) {_vm.$set(scope.row, \"Color\", $$v)},expression:\"scope.row.Color\"}})]}}])})],1)],1)],1)],1)],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { tryAxios } from '@/api/common/auth'\r\nimport { urlPrefix } from '@/configs/api'\r\n\r\nconst apiUrl = `${urlPrefix}/ScoreColors`\r\n//#region AttachSetting相关\r\nconst GetList = `${apiUrl}`\r\nconst PostData = `${apiUrl}`\r\nconst Delete = (id: number) => `${apiUrl}/${id}`\r\n//#endregion\r\n\r\nexport class ScoreColorsData {\r\n [key: string]: any\r\n Id: number\r\n Category: number\r\n MaxScore: number\r\n MinScore: number\r\n Color: string\r\n Status: number\r\n NewUserId: number\r\n NewDate: Date\r\n UpdateUserId: number\r\n UpdateDate: Date\r\n constructor() {\r\n this.Id = 0\r\n this.Category = 0\r\n this.MaxScore = 1\r\n this.MinScore = 1\r\n this.Color = ''\r\n this.Status = 0\r\n this.NewUserId = 0\r\n this.NewDate = new Date()\r\n this.UpdateUserId = 0\r\n this.UpdateDate = new Date()\r\n }\r\n}\r\nexport const emptyData: ScoreColorsData = new ScoreColorsData()\r\n\r\nexport const getList = () => {\r\n return tryAxios({\r\n method: 'get',\r\n url: GetList\r\n })\r\n}\r\n\r\nexport const remove = (id: number) => {\r\n return tryAxios({\r\n method: 'delete',\r\n url: Delete(id)\r\n })\r\n}\r\n\r\nexport const postData = (form: any) => {\r\n return tryAxios({\r\n method: 'post',\r\n url: PostData,\r\n data: form\r\n })\r\n}\r\n\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator'\r\nimport {\r\n getList, ScoreColorsData, emptyData, postData, remove\r\n} from '@/api/systemManage/scoreColors'\r\nimport PageForm from '@/components/pageLayout/form.vue'\r\n\r\n@Component({\r\n components: {\r\n PageForm\r\n }\r\n})\r\nexport default class ScoreColors extends Vue {\r\n public loading = false\r\n public collapseNames: string[] = ['base']\r\n\r\n public items: ScoreColorsData[] = []\r\n\r\n // dynamic component\r\n public $refs!: {\r\n formCtrl: PageForm\r\n }\r\n\r\n public arraySpanMethod(obj: { row: any, column: any, rowIndex: number, columnIndex: number }) {\r\n //字段名\r\n var span: number[] = []\r\n var item = obj.row\r\n /** 合并第一列(级别列)\r\n * 1.判断需要合并的行数RowSpan>0 \r\n * 2.合并[item.RowSpan, 1] item.RowSpan行,1列\r\n * 3.其他行删除 [0, 1] 0行1列\r\n */\r\n if (obj.columnIndex == 0) {\r\n span = item.RowSpan > 1 ? [item.RowSpan, 1] : [0, 1]\r\n return span\r\n }\r\n }\r\n public created() {\r\n this.fetchSource()\r\n }\r\n public fetchSource() {\r\n }\r\n public mounted() {\r\n this.fetchData()\r\n }\r\n public fetchData() {\r\n this.fetchItems()\r\n }\r\n public fetchItems() {\r\n this.loading = true\r\n getList().then((response: { data: any }) => {\r\n this.items = response.data\r\n this.loading = false\r\n })\r\n }\r\n public onCancel() {\r\n this.$router.push({ path: '/ScoreColors' })\r\n }\r\n public onSubmit() {\r\n postData(this.items).then((response: { data: any }) => {\r\n const data = response.data\r\n if (data && !data.IsError) {\r\n this.$message({\r\n message: `保存成功`,\r\n type: 'success'\r\n })\r\n this.fetchData()\r\n // this.$router.push({ path: '/ScoreColors' })\r\n } else {\r\n this.$message({\r\n dangerouslyUseHTMLString: true, message: `${data.Message}`,\r\n type: 'success'\r\n })\r\n console.log('保存失败', data)\r\n }\r\n }, (data: any) => {\r\n console.log(data);\r\n })\r\n }\r\n @Watch('$route')\r\n public onRouteChange(route: any) {\r\n this.fetchData()\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./form.vue?vue&type=template&id=ebe4d09e&scoped=true&\"\nimport script from \"./form.vue?vue&type=script&lang=ts&\"\nexport * from \"./form.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ebe4d09e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-main',{staticClass:\"page-form\"},[(!_vm.loading)?_c('el-form',{ref:\"pageForm\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"label-width\":_vm.labelWidth,\"status-icon\":\"\"}},[_vm._t(\"default\",[_vm._v(\"表单页布局通用插件\")]),_c('el-form-item',{staticClass:\"el-form-footer\"},[_c('div',{staticClass:\"f-right\"},[_vm._t(\"footer\",[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.doSubmit}},[_vm._v(\"提交\")]),_vm._t(\"footer-left\"),_c('el-button',{on:{\"click\":_vm.cancel}},[_vm._v(\"取消\")])])],2)])],2):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch, Prop } from 'vue-property-decorator'\r\nimport Element from 'element-ui'\r\nimport { showVaildMsg } from '@/configs/validate'\r\n\r\n@Component\r\nexport default class PageForm extends Vue {\r\n public name = 'PageForm'\r\n\r\n @Prop({ default: false })\r\n public loading: any = false\r\n // label-width=\"160px\"\r\n @Prop({ default: '200px' })\r\n public labelWidth: string = '200px'\r\n @Prop({ default: null })\r\n public form!: any\r\n @Prop({ default: null })\r\n public rules!: any\r\n //:cancel=\"function\"\r\n @Prop({ default: null })\r\n public cancel!: () => void\r\n @Prop({ default: null })\r\n //:submit=\"function\"\r\n public submit!: () => void\r\n\r\n public $refs!: {\r\n pageForm: Element.Form\r\n }\r\n public clearValidate() {\r\n this.$nextTick(() => {\r\n if (this.$refs.pageForm) {\r\n this.$refs.pageForm.clearValidate()\r\n }\r\n })\r\n }\r\n public validate(): boolean {\r\n let result = true\r\n this.$refs.pageForm.validate((valid: boolean, obj: any) => {\r\n if (valid) {\r\n result = true\r\n } else {\r\n showVaildMsg(this.$message, obj)\r\n result = false\r\n }\r\n })\r\n return result\r\n }\r\n public validateField(field: string | string[]) {\r\n var msg = ''\r\n this.$refs.pageForm.validateField(field, (m) => {\r\n if (m != '') {\r\n msg = m\r\n }\r\n })\r\n return msg\r\n }\r\n public getForm() {\r\n return this.$refs.pageForm\r\n }\r\n public doSubmit() {\r\n if (this.validate()) {\r\n if (this.submit) {\r\n this.submit()\r\n }\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./form.vue?vue&type=template&id=64cd56ac&\"\nimport script from \"./form.vue?vue&type=script&lang=ts&\"\nexport * from \"./form.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}