中心调研审核提示信息修改
parent
18c31112b3
commit
3524e7730c
|
@ -14,7 +14,7 @@
|
||||||
v-if="(state === 0 && userTypeEnumInt === 0)"
|
v-if="(state === 0 && userTypeEnumInt === 0)"
|
||||||
type="primary"
|
type="primary"
|
||||||
size="small"
|
size="small"
|
||||||
@click="handleSubmit"
|
@click="handleSubmit('submit')"
|
||||||
>
|
>
|
||||||
{{ $t('trials:researchForm:button:submit') }}
|
{{ $t('trials:researchForm:button:submit') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
v-if="(state === 1 && hasPermi(['role:spm','role:cpm']))"
|
v-if="(state === 1 && hasPermi(['role:spm','role:cpm']))"
|
||||||
type="primary"
|
type="primary"
|
||||||
size="small"
|
size="small"
|
||||||
@click="handleSubmit"
|
@click="handleSubmit('approve')"
|
||||||
>
|
>
|
||||||
{{ $t('trials:researchForm:button:auditPasses') }}
|
{{ $t('trials:researchForm:button:auditPasses') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -243,17 +243,17 @@ export default {
|
||||||
}).catch(() => { this.loading = false })
|
}).catch(() => { this.loading = false })
|
||||||
},
|
},
|
||||||
// 提交
|
// 提交
|
||||||
handleSubmit() {
|
handleSubmit(type) {
|
||||||
if (this.userTypeEnumInt === 0) {
|
if (this.userTypeEnumInt === 0) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.$refs['baseResearchInfo'].handleSave(true).then(res => {
|
this.$refs['baseResearchInfo'].handleSave(true).then(res => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
if (res) {
|
if (res) {
|
||||||
this.submit()
|
this.submit(type)
|
||||||
}
|
}
|
||||||
}).catch(() => { this.loading = false })
|
}).catch(() => { this.loading = false })
|
||||||
} else {
|
} else {
|
||||||
this.submit()
|
this.submit(type)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
|
@ -275,7 +275,11 @@ export default {
|
||||||
this.$emit('refreshPage')
|
this.$emit('refreshPage')
|
||||||
}
|
}
|
||||||
// this.$message.success(this.$t('common:message:savedSuccessfully'))
|
// this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||||
this.$message.success(this.$t('trials:researchForm:message:savedSuccessfully'))
|
if(type === 'approve'){
|
||||||
|
this.$message.success(this.$t('common:message:approvedSuccessfully'))
|
||||||
|
}else{
|
||||||
|
this.$message.success(this.$t('trials:researchForm:message:savedSuccessfully'))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}).catch(() => { this.loading = false })
|
}).catch(() => { this.loading = false })
|
||||||
}).catch(() => {})
|
}).catch(() => {})
|
||||||
|
@ -308,7 +312,7 @@ export default {
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.initPage()
|
this.initPage()
|
||||||
this.$emit('refreshPage')
|
this.$emit('refreshPage')
|
||||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
this.$message.success(this.$t('common:message:approvedSuccessfully'))
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|
|
@ -45,7 +45,6 @@
|
||||||
v-model="UniversityAffiliated"
|
v-model="UniversityAffiliated"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
autosize
|
autosize
|
||||||
disabled
|
|
||||||
size="small"
|
size="small"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -54,21 +53,21 @@
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="14">
|
<el-col :span="14">
|
||||||
<el-form-item :label="$t('system:reviewer:label:City')">
|
<el-form-item :label="$t('system:reviewer:label:City')">
|
||||||
<el-input :disabled="$route.query.ReviewStatus === '1'" v-model="City" disabled size="small" />
|
<el-input :disabled="$route.query.ReviewStatus === '1'" v-model="City" size="small" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="14">
|
<el-col :span="14">
|
||||||
<el-form-item :label="$t('system:reviewer:label:State/Province')">
|
<el-form-item :label="$t('system:reviewer:label:State/Province')">
|
||||||
<el-input :disabled="$route.query.ReviewStatus === '1'" v-model="Province" disabled size="small" />
|
<el-input :disabled="$route.query.ReviewStatus === '1'" v-model="Province" size="small" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="14">
|
<el-col :span="14">
|
||||||
<el-form-item :label="$t('system:reviewer:label:Country')">
|
<el-form-item :label="$t('system:reviewer:label:Country')">
|
||||||
<el-input :disabled="$route.query.ReviewStatus === '1'" v-model="Country" disabled size="small" />
|
<el-input :disabled="$route.query.ReviewStatus === '1'" v-model="Country" size="small" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
Loading…
Reference in New Issue