{"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\\EipDate.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\cssc-fvue\\src\\components\\eipControl\\EipDate.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//\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 sub_pio_mixin from \"@/sub-permission-mixin.js\";\nimport req from \"@/request.js\";\nexport default {\n name: \"eip-date\",\n props: [\"width\", \"validate\", \"name\", \"value\", \"permission\", \"selectType\", \"showDate\", \"day\", \"inputFormat\", \"modelExpression\", \"format\", \"bindPreAndSufFixjson\", \"isServerDate\"],\n mixins: [sub_pio_mixin],\n //混入方式引入表单组件中公共属性,处理子表、孙表行内联动(切面修改permission_sub)\n data: function data() {\n return {\n currentDate: null,\n //当前时间\n type: \"datetime\",\n compareType: \"daterangestart,daterangeend,datemorethan,datelessthan,\",\n newValidate: null,\n bindPreAndSufFix: null\n };\n },\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 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 inputValidate: function inputValidate() {\n if (this.newValidate) {\n return this.newValidate;\n }\n\n return this.validate;\n }\n },\n created: function created() {\n //判断是否获取服务器的当前时间\n if (this.isServerDate) {\n var this_ = this;\n req.get(window.context.uc + \"/base/tools/v1/getCurrentDate?valFormat=\" + this.inputFormat).then(function (res) {\n if (res.data.state) {\n this_.currentDate = res.data.value;\n }\n });\n }\n },\n mounted: function mounted() {\n if (this.bindPreAndSufFixjson) {\n this.bindPreAndSufFix = JSON.parse(this.bindPreAndSufFixjson);\n }\n }\n};",null]}