{"remainingRequest":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/o_textarea.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/o_textarea.vue","mtime":1739760944321},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/babel.config.js","mtime":1739760943855},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport Constant from \"@/Constant.js\";\nimport form_operation from \"@/components/form_operation_log\";\nimport controlHidden from \"@/assets/js/controlHidden.js\";\nexport default {\n name: \"o-textarea\",\n props: [\"id\", \"isSearchForm\"],\n components: {\n form_operation: form_operation\n },\n computed: {\n field: function field() {\n var formData = this.$parent.findField(this.id);\n if (formData.displayType == 5 || formData.displayType == 3) {\n formData.printHiddenValue = formData.printHiddenValue ? formData.printHiddenValue.replace(/ /g, \"\") : '';\n }\n if (formData.dataMapping) {\n //视图选择框设置了数据映射,多行文本框得隐藏,多行文本框只是用于数据的存储\n formData.displayType = Constant.PermissionType_HIDDEN;\n }\n return this.$parent.findField(this.id);\n }\n },\n mounted: function mounted() {\n var _this = this;\n this.$nextTick(function () {\n var field = _this.field;\n if (field.textType == \"hidden\" || field.displayType == Constant.PermissionType_HIDDEN) {\n if (field.isHideType) {\n var id = _this.id,\n formShowType = field.formShowType;\n controlHidden({\n id: id,\n field: field,\n formShowType: formShowType\n });\n }\n }\n if (field.customStyle) {\n var customStyle = field.customStyle.content;\n customStyle = customStyle.split(\"{\")[1].split(\"}\")[0];\n // this.$refs.textArea.$refs.textarea.style = customStyle;\n if (field.displayType == Constant.PermissionType_MODIFY) {\n if (_this.$refs.textArea) {\n _this.$refs.textArea.$refs.textarea.style = customStyle;\n }\n }\n }\n });\n },\n data: function data() {\n return {\n Constant: Constant,\n isActive: false,\n errorMessage: '',\n showLogsIcon: true,\n tableData: [],\n showLogsDialog: false,\n operationData: ''\n };\n },\n methods: {\n hiddenLogsDialog: function hiddenLogsDialog() {\n this.showLogsIcon = false;\n this.showLogsDialog = false;\n },\n getOperationLogs: function getOperationLogs() {\n var obj = {};\n obj.fieldName = this.field.name;\n this.operationData = obj;\n this.showLogsDialog = true;\n },\n enter: function enter() {\n if (this.field.isModified) {\n this.showLogsIcon = true;\n }\n },\n handleBlurChange: function handleBlurChange() {\n var _this2 = this;\n var field = this.field;\n if (field.instantValidate) {\n var value = true;\n var formData = this.$parent.checkData(value, field.docId);\n //item[this.field.name] = this.field.value;\n this.$api.formValidation(this.$root.appid, formData, {\n onSucess: function onSucess(response) {\n if (response.data.errcode == 4001) {\n if (response.data.errors && response.data.errors.length > 0) {\n var arr = response.data.errors;\n for (var i = 0; i < arr.length; i++) {\n if (_this2.field.name == arr[i].field) {\n _this2.isActive = true;\n _this2.errorMessage = arr[i].errmsg;\n return;\n } else {\n _this2.isActive = false;\n _this2.errorMessage = '';\n }\n }\n }\n } else if (response.data.errcode == 0) {\n _this2.isActive = false;\n }\n }\n });\n }\n },\n onChange: function onChange() {\n if (this.field.refreshOnChanged) {\n // this.$parent.refresh(this.id);\n var havePar = false;\n var par = '';\n while (!havePar) {\n par = par + '.$parent';\n var url = 'this' + par + '.refresh';\n if (eval(url)) {\n var path = url + '(' + \"'\" + this.id + \"'\" + ')';\n eval(path);\n break;\n }\n }\n }\n }\n }\n};",null]}