1 line
11 KiB
JSON
1 line
11 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\\banner\\addBanner\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\banner\\addBanner\\index.vue","mtime":1737610069405},{"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 \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es6.regexp.split\";\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\nimport { UpdataBanner, AddBanner, AllAppRoles as _AllAppRoles } from \"@/api/getdata\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nexport default {\n components: {\n Popup: Popup\n },\n data: function data() {\n var priceVa = function priceVa(rule, value, callback) {\n var reg = /^\\d{1,}(\\.\\d{1,2})?$/;\n var reg2 = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,;'\\\\[\\]·~!@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (reg.test(value) && !reg2.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入数字、且小数点后最多两位!\"));\n }\n };\n var foodNameVa = function foodNameVa(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 indexCall: this.$route.query.index ? this.$route.query.index : window.localStorage.getItem(\"marketIndex\"),\n validation: false,\n completeTitle: \"\",\n nav: \"\",\n imgData: {},\n dialogImageUrl: \"\",\n dialogVisible: false,\n timeUpdate: \"\",\n ruleForm: {\n picture: '',\n limitTime: '',\n dateRange: '',\n category: '1',\n urlPath: '',\n roles: [],\n sort: ''\n },\n aa: \"\",\n til: \"添加\",\n id: \"\",\n rules: {},\n allAppRoles: []\n };\n },\n created: function created() {},\n mounted: function mounted() {\n // this.AllAppRoles();\n var data = typeof this.$route.query.rowdata == \"string\" ? JSON.parse(window.localStorage.getItem(\"marketRowdata\")) : this.$route.query.rowdata;\n this.til = data ? data.til : \"添加\";\n this.id = data ? data.id : \"\";\n this.ruleForm.picture = data ? data.pic1 : '';\n this.ruleForm.limitTime = data ? data.limit_time + \"\" : '0';\n this.ruleForm.dateRange = data ? [data.start_date, data.end_date] : '';\n this.ruleForm.category = data ? data.category + '' : '1';\n this.ruleForm.urlPath = data ? data.url_path : '';\n this.ruleForm.roles = data ? data.roles.split(',') : [];\n this.ruleForm.sort = data ? data.sort : '';\n },\n methods: {\n /**返回上一级 */comeBack: function comeBack() {\n this.$router.push({\n name: \"bannerManage
|