diff --git a/src/components/ContractForm/index.vue b/src/components/ContractForm/index.vue index 6ec6313..c484fd7 100644 --- a/src/components/ContractForm/index.vue +++ b/src/components/ContractForm/index.vue @@ -8,14 +8,19 @@ :model="contractInfoForm" :rules="contractInfoFormRules" > - + - + @@ -112,7 +117,7 @@ > - + 提醒事项: 1: 未完成合同上传未【黄灯人员】 2: 生成工资册之前必须上传合同信息,工资册根据合同核定标准生成 @@ -167,30 +172,30 @@ const contractImageList = ref([ name: 'contract', title: '人员手持合同照', }, - { - type: 2, - fileList: [], - name: 'contract', - title: '工作内容页', - }, - { - type: 3, - fileList: [], - name: 'contract', - title: '薪酬约定页', - }, - { - type: 4, - fileList: [], - name: 'contract', - title: '本人签名页', - }, - { - type: 5, - fileList: [], - name: 'contract', - title: '其他照片', - }, + // { + // type: 2, + // fileList: [], + // name: 'contract', + // title: '工作内容页', + // }, + // { + // type: 3, + // fileList: [], + // name: 'contract', + // title: '薪酬约定页', + // }, + // { + // type: 4, + // fileList: [], + // name: 'contract', + // title: '本人签名页', + // }, + // { + // type: 5, + // fileList: [], + // name: 'contract', + // title: '其他照片', + // }, ]) // 合同见证照片 const contractInfoFormRules = ref({ @@ -319,7 +324,7 @@ const checkFormStatus = () => { let emptyFieldCount = 0 let filledFieldCount = 0 const fieldsList = [ - 'contractCode', // 合同编号 + // 'contractCode', // 合同编号 'wageCriterion', // 工资核定标准 'contractStopDate', // 合同终止日期 'contractStartDate', // 合同 @@ -367,7 +372,7 @@ const validateContractForm = async () => { // console.log(status) if (status === 'partial') { uni.$u.toast('请完善合同见证中的所有信息') - return reject(new Error('合同信息未完善')) + return reject({ isValid: false, msg: '提交失败,请完善合同见证中的信息' }) } else { let data = {} if (contractImageIdList.value.length > 0) { @@ -421,6 +426,12 @@ const props = defineProps({ type: Boolean, default: false, }, + + // 是否显示底部和顶部 + isShowBottomAndTop: { + type: Boolean, + default: true, + }, }) // 增加监听 diff --git a/src/components/NavBarModal/index.vue b/src/components/NavBarModal/index.vue index 55ac62f..0210f9b 100644 --- a/src/components/NavBarModal/index.vue +++ b/src/components/NavBarModal/index.vue @@ -1,15 +1,16 @@