2025-02-25 14:04:51 +08:00
|
|
|
{"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\\supplier\\evaluate\\addEvaluate\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\supplier\\evaluate\\addEvaluate\\index.vue","mtime":1737610069449},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":1740463332584},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":1740463340941}],"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.regexp.replace\");\nrequire(\"core-js/modules/es6.regexp.split\");\nrequire(\"core-js/modules/es6.number.constructor\");\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//\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//\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 _this2 = this;\n var checkPHOTO = function checkPHOTO(rule, value, callback) {\n if (_this2.ruleForm.PHOTO.length > 0) {\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 imgData: {},\n dialogImageUrl: \"\",\n dialogVisible: false,\n view: false,\n timeUpdate: \"\",\n ruleForm: {\n SUPPLIER: \"\",\n SUPPLIER_ID: \"\",\n SCORE: 1,\n CONTENT: \"\",\n NOTES: \"\",\n PHOTO: []\n },\n til: \"添加\",\n id: \"\",\n rules: {\n SUPPLIER: [{\n required: true,\n message: \"请输入供应商名称\",\n trigger: \"change\"\n }],\n SCORE: [{\n required: true,\n message: \"请选择评分\",\n trigger: \"change\"\n }],\n CONTENT: [{\n required: true,\n message: \"请输入内容\",\n trigger: ['blur', 'change']\n }]\n // NOTES: [{ required: true, message: \"请输入备注\", trigger: \"blur\" }],\n // PHOTO:[{ required: true, message: \"请选择附件\", trigger: ['blur', 'change']}]\n },\n supplierList: []\n };\n },\n created: function created() {\n this.getSupplier('');\n },\n mounted: function mounted() {\n var data = this.$route.query.rowdata;\n console.log(data);\n if (data) {\n this.ruleForm.SUPPLIER = data.SUPPLIER;\n this.ruleForm.SUPPLIER_ID = data.SUPPLIER_ID;\n this.ruleForm.SCORE = Number(data.SCORE);\n this.ruleForm.CONTENT = data.CONTENT;\n this.ruleForm.NOTES = data.NOTES;\n this.ruleForm.PHOTO = data.PHOTO ? data.PHOTO : [];\n //仅适用查看\n this.view = data ? data.view : false;\n this.id = data.UUID;\n this.til = data.til;\n }\n },\n methods: {\n visibleChange: function
|