{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/o_coding.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/o_coding.vue","mtime":1725957645725},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["\nimport Constant from \"@/Constant.js\"\nimport controlHidden from \"@/assets/js/controlHidden.js\"\nexport default {\n name: \"o-coding\",\n props: [\"id\",\"callback\"],\n components: {\n },\n computed: {\n field: function() {\n let 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.value) {\n this.setValue(formData.value);\n }\n if(formData.isFrequentlySearch) { //判断是否常用查询\n formData.placeholder = formData.discript || formData.name;\n }\n return formData;//this.$parent.findField(this.id);\n }\n },\n watch: {\n 'field.value': {\n deep: true,\n handler:function(){\n if (this.field.refreshOnChanged) {//判断是否需要刷新\n this.$parent.refresh(this.id);\n }\n if(!this.field.value) {\n this.value = '';\n }\n }\n }\n },\n mounted(){\n this.$nextTick(()=>{\n let field = this.field;\n if(field.isHideType) {\n let id = this.id,\n formShowType = field.formShowType;\n controlHidden({id, field, formShowType})\n }\n })\n },\n data: function() {\n return { \n Constant,\n isActive:false,\n errorMessage:'',\n showLogsDialog: false,\n tableData:[],\n showLogsIcon:true,\n value:'',\n };\n },\n methods: {\n setValue(value){\n this.value = value;\n },\n onChange() {\n this.field.value = this.value;\n },\n },\n \n};\n",null]}