|
@@ -111,8 +111,9 @@
|
|
|
<el-option value="小学">小学</el-option>
|
|
|
<el-option value="初中">初中</el-option>
|
|
|
<el-option value="高中">高中</el-option>
|
|
|
- <el-option value="大学(本科/专科)">大学(本科/专科)</el-option>
|
|
|
- <el-option value="硕士研究生">硕士研究生</el-option>
|
|
|
+ <el-option value="专科">专科</el-option>
|
|
|
+ <el-option value="本科">本科</el-option>
|
|
|
+ <el-option value="硕士研究生">硕士</el-option>
|
|
|
<el-option value="博士">博士</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -303,7 +304,7 @@ export default {
|
|
|
},
|
|
|
roleTypeFlag() {
|
|
|
let roleType = this.$store.state.user.userType
|
|
|
- return ['ENT_ADMIN_TECH', 'ENT_ADMIN_FIN', 'ENT_TECH', 'ENT_FIN'].includes(roleType) //判断是否为技术负责人,财务负责人
|
|
|
+ return ['ENT_ADMIN_TECH', 'ENT_ADMIN_FIN', 'ENT_FIN'].includes(roleType) //判断是否为技术负责人,财务负责人
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -432,20 +433,7 @@ export default {
|
|
|
captchaOnOff: true
|
|
|
};
|
|
|
},
|
|
|
- mounted() {
|
|
|
- let laydate = window.laydate;
|
|
|
- laydate.render({
|
|
|
- elem: '#inputUI', // 输入框的id属性,用来绑定到dom
|
|
|
- type: 'date',
|
|
|
- range: true,
|
|
|
- done: (value) => {
|
|
|
- this.form.projectTime = value; // 将选中的值赋给组件中的变量
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- },
|
|
|
+
|
|
|
created() {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.form.clearValidate()
|
|
@@ -505,35 +493,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- synSubmit() {
|
|
|
- this.loading = true
|
|
|
- synTechApi(this.adminId).then(res => {
|
|
|
- this.loading = false
|
|
|
- if(res.code == 200) {
|
|
|
- this.$message.success('已同步完成');
|
|
|
- // this.getData()
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
- async getEntData() {
|
|
|
- listEntUserApi().then(res => {
|
|
|
- if(!this.form.entName) {
|
|
|
- this.form.entName = res.data.entName
|
|
|
- }
|
|
|
- if(!this.form.linkName) {
|
|
|
- this.form.linkName = res.data.linkName
|
|
|
- }
|
|
|
- if(!this.form.linkPhone) {
|
|
|
- this.form.linkPhone = res.data.linkPhone
|
|
|
- }
|
|
|
- if(!this.form.linkMobile) {
|
|
|
- this.form.linkMobile = res.data.linkMobile
|
|
|
- }
|
|
|
- if(!this.form.techFlag) {
|
|
|
- this.form.techFlag = res.data.techFlag
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
handleSuccess(file) {
|
|
|
this.$refs.techLicenseUpload.clearValidate()
|
|
|
this.form.techLicense = file.url;
|