forked from zhurui/management
1 line
19 KiB
JSON
1 line
19 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\\personData\\staff\\staff-add-or-update.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\personData\\staff\\staff-add-or-update.vue","mtime":1614735254000},{"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\\babel-loader\\lib\\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//\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 { getDictDataList} from '@/utils'\nimport { isMobile,idCardValidate } from '@/utils/validate'\nimport debounce from 'lodash/debounce'\nimport Cookies from 'js-cookie'\nimport imgClip from '@/components/public/img-clip'\nexport default {\n components:{ imgClip },\n watch:{\n 'dataForm.scIdno':{\n immediate:true,\n handler(val){\n let gender='0';\n if(val&&val.length==18){\n gender=val[16]%2==0?'0':'1';\n }\n this.dataForm.scWasex=gender\n }\n }\n },\n data(){\n return {\n dialogVisible:false,\n loading:false,\n imgLoading:false,\n type:'post',\n dataForm:{\n scPhotoimg:'',\n scWaname:'',\n scIdno:'',\n scWasex:'0',\n scPhonenum:'',\n scEmpno:'',\n scStatus:'',\n scEmptype:'',\n scHiredate:'',\n scGraduationdate:''\n },\n genderList:getDictDataList('gender').filter(item=>item.dictValue<2),\n staffStatusList:getDictDataList('staffStatus'),\n employTypeList:getDictDataList('employType').filter(item=>item.dictLabel!='学生'&&item.dictLabel!='访客'),\n rules:{\n scPhotoimg:[\n {required: true, message:'请上传图片', trigger: ['blur','change']},\n ],\n scWaname:[\n {required: true, message:'请输入', trigger: ['blur','change']},\n {max: 50, message:'最多50个字符', trigger: ['blur','change']}\n ],\n scIdno:[\n {required: true, message:'请输入', trigger: ['blur','change']},\n { validator: idCardValidate, trigger: ['blur','change'] }\n ],\n scWasex:[\n {required: true, message:'请输入', trigger: ['blur','change']}\n ],\n scPhonenum:[\n {required: true, message:'请输入', trigger: ['blur','change']},\n { validator: isMobile, trigger: ['blur','change'] }\n ],\n scEmpno:[\n {required: true, message:'请输入', trigger: ['blur','change']},\n {max: 15, message:'最多15个字符', trigger: ['blur','change']}\n ], scEmptype:[\n {required: true, message:'请选择', trigger: ['blur','change']}\n
|