1 line
3.1 KiB
JSON
1 line
3.1 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\kaoqin\\daka.vue?vue&type=style&index=0&lang=css&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\kaoqin\\daka.vue","mtime":1618971948000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\css-loader\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["\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.el-form-item{\n text-align: center;\n}\n",{"version":3,"sources":["daka.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEA;AACA;AACA","file":"daka.vue","sourceRoot":"src/views/modules/kaoqin","sourcesContent":["<template>\n\t<el-form ref=\"ruleForm\" label-width=\"100px\">\n\t<el-form-item label-width=\"0\" >\n\t <el-button type=\"primary\" icon=\"el-icon-check\" circle size=\"medium\" @click = \"daka\"></el-button>\n\t </el-form-item>\n\t \n\t </el-form>\n</template>\n\n<script>\n\t\n\texport default {\n\tdata () {\n\t return {\n\t visible: false,\n\t dataForm: {\n\t dkid: '',\n\t kqpzbid: '',\n\t ryid: '',\n\t // dksj: '',\n\t dklx: '',\n\t createDate: ''\n\t }\n\t }\n\t},\n\t methods: {\n\t open() {\n\t\t\t\n\t this.$alert('打卡成功', '标题名称', {\n\t confirmButtonText: '确定',\n\t callback: action => {\n\t this.$message({\n\t type: 'info',\n\t message: `action: ${ action }`\n\t });\n\t }\n\t });\n\t },\n\t\t daka(){\n\t\t\tthis.dataForm.kqpzbid = '1'\n\t\t\tthis.dataForm.ryid = '1384000006297550849'\n\t\t\tvar date = new Date()\n\t\t\tvar day = date.getDate()\n\t\t\tvar hour = date.getHours()\n\t\t\tvar minute = date.getMinutes()\n\t\t\tconsole.log(\"test\")\n\t\t\tconsole.log(' '+day + hour + minute)\n\t\t\t\n\t\t\tthis.$http[!this.dataForm.dkid ? 'post' : 'put']('system/kqjl/', this.dataForm).then(({ data: res }) => {\n\t\t\t if (res.code !== 0) {\n\t\t\t return this.$message.error(\"打卡失败\"+res.msg)\n\t\t\t }\n\t\t\t this.$message({\n\t\t\t message: \"打卡成功\",\n\t\t\t type: 'success',\n\t\t\t duration: 500,\n\t\t\t\n\t\t\t })\n\t\t\t \n\t\t\t})\n\t\t\t }\n\t\t }\n\t\t }\n\t\t \n\t \n\t \n\n</script>\n\n<style>\n\t.el-form-item{\n\t text-align: center;\n\t}\n</style>\n"]}]} |