1 line
8.0 KiB
JSON
1 line
8.0 KiB
JSON
|
|
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\seekmedical\\addSeekMedicalDetail\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\seekmedical\\addSeekMedicalDetail\\index.vue","mtime":1737610069447},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import _toConsumableArray from \"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\";\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport Paging from \"@/views/Public/paging.vue\";\nimport { getparentdata as _getparentdata, createSeekMedicalInfo, modifySeekMedicalInfo } from \"@/api/getdata\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nexport default {\n components: {\n Paging: Paging,\n Popup: Popup\n },\n data: function data() {\n var titleVa = function titleVa(rule, value, callback) {\n var reg = /[`~!@#$%^&*_\\-+=<>?:\"{}|,./;'\\\\[\\]·~!@#¥%……&*——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"不支持输入@#¥%……...等特殊字符 !\"));\n }\n };\n return {\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n row: {},\n fileList: [],\n validation: false,\n completeTitle: \"删除\",\n nav: \"是否删除?\",\n til: \"添加\",\n days: [],\n ruleForm: {\n project_name: \"\",\n parent_id: \"\",\n project_day: \"\",\n project_tips: ''\n },\n parentdata: [],\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n downloadLoading: false,\n rules: {\n project_name: [{\n required: true,\n message: \"请输入分项名称\",\n trigger: \"blur\"\n }, {\n validator: titleVa,\n trigger: \"blur\"\n }],\n parent_id: [{\n required: true,\n message: \"请选择项目\",\n trigger: \"blur\"\n }]\n }\n };\n },\n mounted: function mounted() {\n var data = typeof this.$route.query.rowdata == \"string\" ? JSON.parse(window.localStorage.getItem(\"seekmedicalInfoRowdata\")) : this.$route.query.rowdata;\n this.ruleForm.project_name = data ? data.project_name : \"\";\n this.ruleForm.parent_id = data ? data.parent_id : '';\n this.ruleForm.project_day = data ? data.project_day : '';\n this.days = data ? _toConsumableArray(data.project_day || []).filter(function (x) {\n return x != ',';\n }) : [];\n this.ruleForm.project_tips = data ? data.project_tips : '';\n this.til = data ? data.til : \"添加\";\n this.id = data ? data.id : \"\";\n this.getparentdata();\n },\n methods: {\n getparentdata: function getparentdata() {\n var _this = this;\n _getparentdata().then(function (res) {\n if (res.returnCode == \"1\") {\n _this.parentdata = res.returnData.data.filter(function (x) {\n return x.id.length != 0;\n });\n }\n }).catch(function (err)
|