{"version":3,"sources":["webpack:///./src/views/input/chilledWaterPump/chilledWaterPump.vue","webpack:///./src/views/input/chilledWaterPump/chilledWaterPump.js","webpack:///./src/views/input/chilledWaterPump/chilledWaterPump.js?d51b","webpack:///./src/views/input/chilledWaterPump/chilledWaterPump.vue?7f57","webpack:///./src/mixin/render-input.js"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","attrs","_v","_l","paramsList","t","key","id","class","disabled","_s","title","list","t1","i1","fullWidth","type","radioList","t2","model","value","vModel","callback","$$v","$set","expression","label","_e","selectList","staticStyle","on","saveParams","staticRenderFns","data","prop","Brand","Model","System_Configuration","mixins","InputRender","component","computed","_objectSpread","mapState","state_specification","state","specification","inputParams","mounted","renderInputParams","methods","mapMutations","num","map","i","c","Components","s","INPUT_PARAMS_COMPONENTS","$message","message"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,oBAAoBC,MAAM,CAAC,GAAK,YAAY,CAACJ,EAAG,KAAK,CAACG,YAAY,cAAc,CAACL,EAAIO,GAAG,cAAcL,EAAG,MAAM,CAACG,YAAY,kBAAkB,CAACH,EAAG,MAAM,CAACG,YAAY,mBAAmB,CAACL,EAAIQ,GAAIR,EAAIS,YAAY,SAASC,GAAG,OAAOR,EAAG,MAAM,CAACS,IAAID,EAAEE,GAAGP,YAAY,gBAAgBQ,MAAM,CAAC,SAAYH,EAAEI,WAAW,CAACZ,EAAG,MAAM,CAACG,YAAY,SAAS,CAACL,EAAIO,GAAGP,EAAIe,GAAGL,EAAEM,UAAUhB,EAAIQ,GAAIE,EAAEO,MAAM,SAASC,EAAGC,GAAI,OAAOjB,EAAG,MAAM,CAACS,IAAIQ,EAAGd,YAAY,aAAaQ,MAAM,CAAE,aAAcK,EAAGE,YAAa,CAAClB,EAAG,MAAM,CAACG,YAAY,eAAe,CAACL,EAAIO,GA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ACA,EACA,KACA,KACA,MAIa,aAAAQ,E,qFCjBA,QACXC,SAAQC,eAAA,GACDC,eAAS,CACRC,oBAAqB,SAAAC,GAAK,OAAIA,EAAMC,eACpCC,YAAa,SAAAF,GAAK,OAAIA,EAAME,gBAGpCC,QAAO,WACHpD,KAAKqD,qBAGTC,QAAOR,8BAAA,GACAS,eAAa,CAAC,0BAA2B,sCAAoC,IAEhFF,kBAAiB,WAEb,IAAIG,EAAMxD,KAAKgD,oBAAoBhD,KAAKoB,MAExCpB,KAAKQ,WAAWiD,KAAI,SAAChD,EAAGiD,GAChBA,GAAKF,GAAY,GAALE,IAAQjD,EAAEI,UAAW,OAK7CsB,WAAU,WAEN,IAAIwB,EAAI3D,KAAKmD,YAAYS,WACrBC,EAAI7D,KAAKmD,YAAY,wBAEzBnD,KAAKQ,WAAWiD,KAAI,SAAAhD,GAEZA,EAAE6B,MACFqB,EAAElD,EAAE6B,MAAQ,CACRC,MAAO9B,EAAE8B,MACTC,MAAO/B,EAAE+B,OAGb/B,EAAEO,KAAKyC,KAAI,SAAAxC,GAEHA,EAAGqB,OAECrB,EAAGwB,qBACHoB,EAAE5C,EAAGqB,MAAQrB,EAAGQ,QAEhBkC,EAAElD,EAAE6B,MAAMrB,EAAGqB,MAAQrB,EAAGQ,OAGpBhB,EAAEI,WAAU8C,EAAElD,EAAE6B,MAAMrB,EAAGqB,MAAQ,WAMjD7B,EAAEO,KAAKyC,KAAI,SAAAxC,GACP4C,EAAE5C,EAAGqB,MAAQrB,EAAGQ,aAK5BzB,KAAK8D,wBAAwBH,GAE7B3D,KAAK+D,SAAS,CAAEC,QAAS,OAAQ5C,KAAM","file":"js/chunk-9a2a91e2.1721352590535.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"page params-input\",attrs:{\"id\":\"project\"}},[_c('h2',{staticClass:\"page-title\"},[_vm._v(\"冷冻水泵参数输入\")]),_c('div',{staticClass:\"page-main flex\"},[_c('div',{staticClass:\"params-box-list\"},[_vm._l((_vm.paramsList),function(t){return _c('div',{key:t.id,staticClass:\"box-list-item\",class:{'disabled': t.disabled}},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(t.title))]),_vm._l((t.list),function(t1,i1){return _c('div',{key:i1,staticClass:\"child-item\",class:{ 'full-width': t1.fullWidth }},[_c('div',{staticClass:\"child-title\"},[_vm._v(_vm._s(t1.title))]),(t1.type === 'radio')?_c('div',{staticClass:\"radio-box\"},_vm._l((t1.radioList),function(t2){return _c('el-radio',{key:t2.id,attrs:{\"disabled\":t1.disabled || t.disabled,\"label\":t2.id},model:{value:(t1.vModel),callback:function ($$v) {_vm.$set(t1, \"vModel\", $$v)},expression:\"t1.vModel\"}},[_vm._v(_vm._s(t2.label))])}),1):_vm._e(),(t1.type === 'select')?_c('el-select',{attrs:{\"disabled\":t1.disabled || t.disabled},model:{value:(t1.vModel),callback:function ($$v) {_vm.$set(t1, \"vModel\", $$v)},expression:\"t1.vModel\"}},_vm._l((t1.selectList),function(t2){return _c('el-option',{key:t2.id,attrs:{\"label\":t2.label,\"value\":t2.id}})}),1):_vm._e(),(t1.type === 'input')?_c('el-input',{attrs:{\"disabled\":t1.disabled || t.disabled},model:{value:(t1.vModel),callback:function ($$v) {_vm.$set(t1, \"vModel\", $$v)},expression:\"t1.vModel\"}}):_vm._e()],1)})],2)}),_c('img',{staticClass:\"back-img\",staticStyle:{\"bottom\":\"-220px\",\"left\":\"0\",\"right\":\"0\",\"margin\":\"0 auto\"},attrs:{\"src\":\"/img/medium/RightHorizontalPump-Left.png\",\"alt\":\"\"}})],2)]),_c('div',{staticClass:\"confirm-box\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveParams}},[_vm._v(\"确 定\")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapMutations, mapState } from 'vuex'\r\nimport InputRender from '@/mixin/render-input.js'\r\nexport default {\r\n data () {\r\n return {\r\n type: 'CP_Qunty_Type',\r\n paramsList: [ \r\n { \r\n title: '冷冻水泵规格1',\r\n prop: 'CP_Type_1',\r\n Brand: 'Siemens',\r\n Model: 'XX55-123',\r\n disabled: false,\r\n list: [\r\n {\r\n title: '类型', // 缺少\r\n type: 'radio',\r\n fullWidth: '1',\r\n vModel: '1',\r\n radioList: [\r\n { label: '卧式', id: '1' },\r\n { label: '立式', id: '2' },\r\n ],\r\n },\r\n {\r\n title: '变频', // 缺少\r\n type: 'radio',\r\n vModel: '1',\r\n radioList: [\r\n { label: '变频', id: '1' },\r\n { label: '定频', id: '2' },\r\n ],\r\n },\r\n {\r\n title: '数量',\r\n prop: 'CP_Qunty_Type_1',\r\n System_Configuration: true,\r\n disabled: true,\r\n type: 'input',\r\n vModel: '1',\r\n },\r\n {\r\n title: '冷冻水流量(m³/h)',\r\n prop: 'L',\r\n type: 'input',\r\n vModel: '490.0',\r\n },\r\n {\r\n title: '冷冻水扬程(m)',\r\n prop: 'H',\r\n type: 'input',\r\n vModel: '60.0',\r\n },\r\n {\r\n title: '功率(kw)',\r\n prop: 'Pe',\r\n type: 'input',\r\n vModel: '98.97',\r\n },\r\n {\r\n title: '频率(Hz)',\r\n prop: 'Hz',\r\n type: 'input',\r\n vModel: '50.0',\r\n },\r\n {\r\n title: '最低频率(Hz)',\r\n prop: 'Hz_min',\r\n type: 'input',\r\n vModel: '38.0',\r\n },\r\n ],\r\n },\r\n { \r\n title: '冷冻水泵规格2',\r\n prop: 'CP_Type_2',\r\n Brand: 'Siemens',\r\n Model: 'XX55-123',\r\n disabled: false,\r\n list: [\r\n {\r\n title: '类型', // 缺少\r\n type: 'radio',\r\n fullWidth: '1',\r\n vModel: '1',\r\n radioList: [\r\n { label: '卧式', id: '1' },\r\n { label: '立式', id: '2' },\r\n ],\r\n },\r\n {\r\n title: '变频', // 缺少\r\n type: 'radio',\r\n vModel: '1',\r\n radioList: [\r\n { label: '变频', id: '1' },\r\n { label: '定频', id: '2' },\r\n ],\r\n },\r\n {\r\n title: '数量',\r\n prop: 'CP_Qunty_Type_2',\r\n System_Configuration: true,\r\n disabled: true,\r\n type: 'input',\r\n vModel: '2',\r\n },\r\n {\r\n title: '冷冻水流量(m³/h)',\r\n prop: 'L',\r\n type: 'input',\r\n vModel: '490.0',\r\n },\r\n {\r\n title: '冷冻水扬程(m)',\r\n prop: 'H',\r\n type: 'input',\r\n vModel: '60.0',\r\n },\r\n {\r\n title: '功率(kw)',\r\n prop: 'Pe',\r\n type: 'input',\r\n vModel: '98.97',\r\n },\r\n {\r\n title: '频率(Hz)',\r\n prop: 'Hz',\r\n type: 'input',\r\n vModel: '50.0',\r\n },\r\n {\r\n title: '最低频率(Hz)',\r\n prop: 'Hz_min',\r\n type: 'input',\r\n vModel: '38.0',\r\n },\r\n ],\r\n },\r\n { \r\n title: '冷冻水泵规格3',\r\n prop: 'CP_Type_3',\r\n Brand: 'None',\r\n Model: '0000-000',\r\n disabled: false,\r\n list: [\r\n {\r\n title: '类型', // 缺少\r\n type: 'radio',\r\n fullWidth: '1',\r\n vModel: '1',\r\n radioList: [\r\n { label: '卧式', id: '1' },\r\n { label: '立式', id: '2' },\r\n ],\r\n },\r\n {\r\n title: '变频', // 缺少\r\n type: 'radio',\r\n vModel: '1',\r\n radioList: [\r\n { label: '变频', id: '1' },\r\n { label: '定频', id: '2' },\r\n ],\r\n },\r\n {\r\n title: '数量',\r\n prop: 'CP_Qunty_Type_3',\r\n System_Configuration: true,\r\n disabled: true,\r\n type: 'input',\r\n vModel: '0',\r\n },\r\n {\r\n title: '冷冻水流量(m³/h)',\r\n prop: 'L',\r\n type: 'input',\r\n vModel: '0.0',\r\n },\r\n {\r\n title: '冷冻水扬程(m)',\r\n prop: 'H',\r\n type: 'input',\r\n vModel: '0.0',\r\n },\r\n {\r\n title: '功率(kw)',\r\n prop: 'Pe',\r\n type: 'input',\r\n vModel: '0.0',\r\n },\r\n {\r\n title: '频率(Hz)',\r\n prop: 'Hz',\r\n type: 'input',\r\n vModel: '0.0',\r\n },\r\n {\r\n title: '最低频率(Hz)',\r\n prop: 'Hz_min',\r\n type: 'input',\r\n vModel: '0.0',\r\n },\r\n ],\r\n },\r\n {\r\n list: [\r\n {\r\n title: '冷冻水管路定压差(kPa)',\r\n prop: 'Const_DP',\r\n type: 'input',\r\n vModel: '15.0',\r\n System_Configuration: true,\r\n },\r\n ],\r\n },\r\n ],\r\n }\r\n },\r\n\r\n mixins: [InputRender],\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/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../node_modules/eslint-loader/index.js??ref--14-0!./chilledWaterPump.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../node_modules/eslint-loader/index.js??ref--14-0!./chilledWaterPump.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./chilledWaterPump.vue?vue&type=template&id=5bcb7fa1\"\nimport script from \"./chilledWaterPump.js?vue&type=script&lang=js&external\"\nexport * from \"./chilledWaterPump.js?vue&type=script&lang=js&external\"\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","import { mapState, mapMutations } from 'vuex'\r\nexport default {\r\n computed: {\r\n ...mapState({\r\n state_specification: state => state.specification,\r\n inputParams: state => state.inputParams,\r\n })\r\n },\r\n mounted() {\r\n this.renderInputParams()\r\n },\r\n\r\n methods: {\r\n ...mapMutations(['INPUT_PARAMS_COMPONENTS', 'INPUT_PARAMS_SYSTEM_CONFIGRATION']),\r\n\r\n renderInputParams () { // 渲染\r\n\r\n let num = this.state_specification[this.type]\r\n\r\n this.paramsList.map((t, i) => {\r\n if (i >= num && i != 3) t.disabled = true\r\n })\r\n\r\n },\r\n\r\n saveParams () { // 保存\r\n \r\n let c = this.inputParams.Components\r\n let s = this.inputParams[\"System_Configuration\"]\r\n\r\n this.paramsList.map(t => {\r\n\r\n if (t.prop) { // Components\r\n c[t.prop] = {\r\n Brand: t.Brand,\r\n Model: t.Model,\r\n }\r\n \r\n t.list.map(t1 => {\r\n \r\n if (t1.prop) {\r\n\r\n if (t1.System_Configuration) {\r\n s[t1.prop] = t1.vModel\r\n } else {\r\n c[t.prop][t1.prop] = t1.vModel\r\n \r\n // 如果禁用\r\n if (t.disabled) c[t.prop][t1.prop] = '0'\r\n }\r\n }\r\n \r\n })\r\n } else { // system_configration\r\n t.list.map(t1 => {\r\n s[t1.prop] = t1.vModel\r\n })\r\n }\r\n })\r\n\r\n this.INPUT_PARAMS_COMPONENTS(c)\r\n\r\n this.$message({ message: '保存成功', type: 'success' })\r\n },\r\n },\r\n}"],"sourceRoot":""}