1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"remainingRequest":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\acs\\config\\assigned\\index.vue?vue&type=template&id=e1057fd4&scoped=true","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\acs\\config\\assigned\\index.vue","mtime":1732871026556},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1732872827008},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":1732872825835}],"contextDependencies":[],"result":["var render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"app-container\" }, [\n _c(\n \"div\",\n { staticClass: \"head-container\" },\n [\n _c(\"crudOperation\", { attrs: { permission: _vm.permission } }),\n _vm._v(\" \"),\n _c(\n \"el-dialog\",\n {\n attrs: {\n \"close-on-click-modal\": false,\n \"before-close\": _vm.crud.cancelCU,\n visible: _vm.crud.status.cu,\n title: _vm.crud.status.title,\n width: \"800px\",\n },\n on: {\n \"update:visible\": function ($event) {\n return _vm.$set(_vm.crud.status, \"cu\", $event)\n },\n },\n },\n [\n _c(\n \"el-form\",\n {\n ref: \"form\",\n attrs: {\n model: _vm.form,\n rules: _vm.rules,\n size: \"small\",\n \"label-width\": \"120px\",\n },\n },\n [\n _c(\n \"el-form-item\",\n {\n attrs: {\n label: _vm.$t(\"config.table.device_execution\"),\n prop: \"device_code\",\n },\n },\n [\n _c(\n \"el-select\",\n {\n staticStyle: { width: \"300px\" },\n attrs: {\n filterable: \"\",\n placeholder: _vm.$t(\"config.table.please_select\"),\n disabled: _vm.crud.status.edit == 1,\n },\n model: {\n value: _vm.form.device_code,\n callback: function ($$v) {\n _vm.$set(_vm.form, \"device_code\", $$v)\n },\n expression: \"form.device_code\",\n },\n },\n _vm._l(_vm.deviceList, function (item) {\n return _c(\"el-option\", {\n key: item.device_code,\n attrs: {\n label: item.device_code,\n value: item.device_code,\n },\n })\n }),\n 1\n ),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"el-form-item\",\n {\n attrs: {\n label: _vm.$t(\"config.table.end_of_instruction\"),\n prop: \"inst_nextDevice_code\",\n },\n },\n [\n _c(\n \"el-select\",\n {\n staticStyle: { width: \"300px\" },\n attrs: {\n multiple: \"\",\n filterable: \"\",\n placeholder: _vm.$t(\"config.table.please_select\"),\n },\n on: { change: _vm.getValue },\n model: {\n value: _vm.form.inst_nextDevice_code,\n callback: function ($$v) {\n _vm.$set(_vm.form, \"inst_nextDevice_code\", $$v)\n },\n expression: \"form.inst_nextDevice_code\",\n },\n },\n _vm._l(_vm.deviceList, function (item) {\n return _c(\"el-option\", {\n key: item.device_code,\n attrs: {\n label: item.device_code,\n value: item.device_code,\n },\n })\n }),\n 1\n ),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"el-form-item\",\n {\n attrs: {\n label: _vm.$t(\"config.table.end_of_task\"),\n prop: \"task_nextDevice_code\",\n },\n },\n [\n _c(\n \"el-select\",\n {\n staticStyle: { width: \"300px\" },\n attrs: {\n filterable: \"\",\n multiple: \"\",\n placeholder: _vm.$t(\"config.table.please_select\"),\n },\n model: {\n value: _vm.form.task_nextDevice_code,\n callback: function ($$v) {\n _vm.$set(_vm.form, \"task_nextDevice_code\", $$v)\n },\n expression: \"form.task_nextDevice_code\",\n },\n },\n _vm._l(_vm.deviceList, function (item) {\n return _c(\"el-option\", {\n key: item.device_code,\n attrs: {\n label: item.device_code,\n value: item.device_code,\n },\n })\n }),\n 1\n ),\n ],\n 1\n ),\n _vm._v(\" \"),\n _vm.form.tableData.length > 0\n ? _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.form.tableData },\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"device\",\n label: _vm.$t(\"config.table.end_device\"),\n width: \"180\",\n },\n }),\n _vm._v(\" \"),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"limit\",\n label: _vm.$t(\"config.table.max\"),\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function (scope) {\n return [\n _c(\"el-input\", {\n staticClass: \"edit-input\",\n attrs: { size: \"mini\" },\n model: {\n value:\n _vm.form.tableData[scope.$index]\n .limit,\n callback: function ($$v) {\n _vm.$set(\n _vm.form.tableData[scope.$index],\n \"limit\",\n $$v\n )\n },\n expression:\n \"form.tableData[scope.$index].limit\",\n },\n }),\n ]\n },\n },\n ],\n null,\n false,\n 676587351\n ),\n }),\n _vm._v(\" \"),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"scale\",\n label: _vm.$t(\"config.table.allocation_ratio\"),\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function (scope) {\n return [\n _c(\"el-input\", {\n staticClass: \"edit-input\",\n attrs: { size: \"mini\" },\n model: {\n value:\n _vm.form.tableData[scope.$index]\n .scale,\n callback: function ($$v) {\n _vm.$set(\n _vm.form.tableData[scope.$index],\n \"scale\",\n $$v\n )\n },\n expression:\n \"form.tableData[scope.$index].scale\",\n },\n }),\n ]\n },\n },\n ],\n null,\n false,\n 3362874554\n ),\n }),\n _vm._v(\" \"),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"inOut\",\n label: _vm.$t(\"config.table.inOut\"),\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function (scope) {\n return [\n _c(\"el-switch\", {\n attrs: {\n value: false,\n \"active-color\": \"#13ce66\",\n \"inactive-color\": \"#ff4949\",\n },\n model: {\n value:\n _vm.form.tableData[scope.$index]\n .inOut,\n callback: function ($$v) {\n _vm.$set(\n _vm.form.tableData[scope.$index],\n \"inOut\",\n $$v\n )\n },\n expression:\n \"form.tableData[scope.$index].inOut\",\n },\n }),\n ]\n },\n },\n ],\n null,\n false,\n 2485309979\n ),\n }),\n ],\n 1\n )\n : _vm._e(),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"dialog-footer\",\n attrs: { slot: \"footer\" },\n slot: \"footer\",\n },\n [\n _c(\n \"el-button\",\n { attrs: { type: \"text\" }, on: { click: _vm.crud.cancelCU } },\n [_vm._v(_vm._s(_vm.$t(\"config.table.cancel\")))]\n ),\n _vm._v(\" \"),\n _c(\n \"el-button\",\n {\n attrs: { loading: _vm.crud.cu === 2, type: \"primary\" },\n on: { click: _vm.crud.submitCU },\n },\n [\n _vm._v(\n _vm._s(_vm.$t(\"config.table.confirm\")) + \"\\n \"\n ),\n ]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"el-table\",\n {\n directives: [\n {\n name: \"loading\",\n rawName: \"v-loading\",\n value: _vm.crud.loading,\n expression: \"crud.loading\",\n },\n ],\n ref: \"table\",\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.crud.data, size: \"small\" },\n on: { \"selection-change\": _vm.crud.selectionChangeHandler },\n },\n [\n _c(\"el-table-column\", {\n attrs: { type: \"selection\", width: \"55\" },\n }),\n _vm._v(\" \"),\n false\n ? _c(\"el-table-column\", {\n attrs: { prop: \"assigned_id\", label: \"任务标识\" },\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"device_code\",\n label: _vm.$t(\"config.table.device_code\"),\n \"show-overflow-tooltip\": \"\",\n },\n }),\n _vm._v(\" \"),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"task_nextDevice_code\",\n label: _vm.$t(\"config.table.destination_device\"),\n \"show-overflow-tooltip\": \"\",\n },\n }),\n _vm._v(\" \"),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"inst_nextDevice_code\",\n label: _vm.$t(\"config.table.inst_nextdevice_code\"),\n \"show-overflow-tooltip\": \"\",\n },\n }),\n _vm._v(\" \"),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"param\",\n label: _vm.$t(\"config.table.destination_configuration\"),\n formatter: _vm.paramFormate,\n \"min-width\": \"\",\n \"show-overflow-tooltip\": \"\",\n },\n }),\n _vm._v(\" \"),\n _c(\"el-table-column\", {\n directives: [\n {\n name: \"permission\",\n rawName: \"v-permission\",\n value: [\n \"admin\",\n \"AcsDeviceAssigned:edit\",\n \"AcsDeviceAssigned:del\",\n ],\n expression:\n \"['admin','AcsDeviceAssigned:edit','AcsDeviceAssigned:del']\",\n },\n ],\n attrs: {\n label: _vm.$t(\"config.table.operation\"),\n width: \"150px\",\n align: \"center\",\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function (scope) {\n return [\n _c(\"udOperation\", {\n attrs: { data: scope.row, permission: _vm.permission },\n }),\n ]\n },\n },\n ]),\n }),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"pagination\"),\n ],\n 1\n ),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]} |