{"remainingRequest":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\cssc-fvue\\src\\components\\eipControl\\EipRealtimeTextarea.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\cssc-fvue\\src\\components\\eipControl\\EipRealtimeTextarea.vue","mtime":1667804639071},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport utils from \"@/utils.js\";\nimport { Message, Loading } from 'element-ui';\nimport { Base64 } from \"js-base64\";\nimport i18n from '@/lang/index.js';\nimport req from \"@/request.js\";\nimport sub_pio_mixin from \"@/sub-permission-mixin.js\";\nexport default {\n name: \"ht-realtime-textarea\",\n props: [\"value\", \"name\", \"placeholder\", \"option\", \"styles\", \"permission\"],\n mixins: [sub_pio_mixin],\n //混入方式引入表单组件中公共属性,处理子表、孙表行内联动(切面修改permission_sub)\n data: function data() {\n return {\n inputValue: \"\"\n };\n },\n components: {},\n computed: {\n inputVal: {\n get: function get() {\n return this.value;\n },\n set: function set(val) {\n this.$emit(\"input\", val);\n }\n },\n inputWriteable: function inputWriteable() {\n return utils.getWriteable(this.permission_sub);\n },\n inputValidate: function inputValidate() {\n var validateObj = this.$store.state.index.validate;\n return utils.addRequiredOrNot(this.permission_sub, this.validate, validateObj, this);\n },\n inputName: function inputName() {\n var labeldesc = \"\";\n\n if (this.$slots && this.$slots.labeldesc && this.$slots.labeldesc[0].children && this.$slots.labeldesc[0].children[0].text) {\n labeldesc = this.$slots.labeldesc[0].children[0].text;\n return this.name ? this.name : utils.getName() + \"-\" + labeldesc;\n } else {\n return this.name ? this.name : utils.getName();\n }\n }\n },\n mounted: function mounted() {\n if (this.value) {\n this.inputValue = this.value;\n }\n\n var _me = this;\n\n if (this.option.script) {\n var evil = function evil() {\n var Fn = Function('req', 'data', 'i18n', 'Message', 'Loading', 'formVm', '_this', htCustomScript); //一个变量指向Function,防止有些前端编译工具报错\n\n var result = Fn(req, formVm.data, i18n, Message, Loading, formVm, _me);\n return result;\n };\n\n var htCustomScript = Base64.decode(this.option.script);\n var formVm = utils.getOnlineFormInstance(_me);\n var resultValue = evil();\n\n if (resultValue) {\n this.inputValue = resultValue;\n }\n }\n },\n destroyed: function destroyed() {},\n created: function created() {\n this.$validator = this.$root.$validator;\n },\n methods: {\n clear: function clear() {\n this.inputValue = \"\";\n }\n }\n};",null]}