1 line
7.0 KiB
JSON
1 line
7.0 KiB
JSON
|
|
{"remainingRequest":"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\\house\\contractTemplate\\uploadTemp.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\house\\contractTemplate\\uploadTemp.vue","mtime":1740388532401},{"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\\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":["\"use strict\";\n\nvar _interopRequireDefault = require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nrequire(\"core-js/modules/es6.function.name\");\nvar _getdata = require(\"@/api/getdata\");\nvar _popup = _interopRequireDefault(require(\"@/views/estate/examine/dialog/popup.vue\"));\nvar _crypto = require(\"crypto\");\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//\nvar _default = exports.default = {\n components: {\n Popup: _popup.default\n },\n data: function data() {\n var userPositionAll = function userPositionAll(rule, value, callback) {\n if (value) {\n callback();\n } else {\n callback(new Error(\"请选择上传附件\"));\n }\n };\n return {\n indexCall: this.$route.query.index ? this.$route.query.index : window.localStorage.getItem(\"pageIndex\"),\n validation: false,\n completeTitle: \"\",\n nav: \"\",\n til: \"添加\",\n id: \"\",\n ruleForm: {\n //房屋信息\n tempName: \"\",\n userPosition: \"\",\n file: this.file\n },\n file: \"\",\n fileList: [],\n form: {},\n files: {},\n flag: false,\n rules: {\n tempName: [{\n required: true,\n message: \"请输入房屋名称\",\n trigger: \"blur\"\n }],\n userPosition: [{\n required: true,\n message: \"请上传采购清单附件\",\n trigger: \"blur\"\n }, {\n validator: userPositionAll,\n trigger: \"blur\"\n }]\n }\n };\n },\n created: function created() {},\n mounted: function mounted() {\n console.log(this.$route.query);\n // var data = this.$route.query.rowdata;\n // console.log(data)\n // if(data){\n // this.id = data.UUID;\n // this.til =data.til ;\n // }\n },\n methods: {\n /**返回上一级 */comeBack: function comeBack() {\n this.$router.push({\n name: \"contractTemplate\",\n params: {\n index: this.indexCall\n }\n });\n },\n //底部提交\n submitForm: function submitForm(formName) {\n var _this2 = this;\n this.$refs[formName].validate(function (valid) {\n if (valid) {\n if (_this2.til == \"编辑\") {\n _this2.validation = true;\n _this2.completeTitle = \"编辑\";\n _this2.nav = \"是否编辑?\";\n } else {\n _this2.validation = true;\n _this2.completeTitle = \"添加\";\n _this2.nav = \"是否添加?\";\n }\n }\n });\n },\n closeDialogDel: function closeDialogDel(val) {\n var _this3 = this;\n if (val == \"2\") {//编辑\n } else if (val == \"3\") {\n //新增\n this.form = {\n tempName: this.ruleForm.tempName,\n fileName: this.files.name\n };\n this.bs64(this.files).then(function (bs64) {\n
|