提交
This commit is contained in:
@@ -998,7 +998,11 @@
|
||||
:value="item.journal_id"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label=" " label-width="0px">
|
||||
<commonCv ref="commoncv" @cvitaTable="getCVitaData"></commonCv>
|
||||
</el-form-item> -->
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="youthVisible = false">Cancel</el-button>
|
||||
@@ -1027,12 +1031,14 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import commonCv from '../common/cv.vue';
|
||||
import Schart from 'vue-schart';
|
||||
import bus from '../common/bus';
|
||||
export default {
|
||||
name: 'dashboard',
|
||||
data() {
|
||||
return {
|
||||
applyCvitaTable: [],
|
||||
user_id: localStorage.getItem('U_id'),
|
||||
username: localStorage.getItem('U_name'),
|
||||
userrole: localStorage.getItem('U_status'),
|
||||
@@ -1343,11 +1349,15 @@ export default {
|
||||
},
|
||||
|
||||
components: {
|
||||
commonCv,
|
||||
Schart,
|
||||
'el-image-viewer': () => import('element-ui/packages/image/src/image-viewer')
|
||||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
getCVitaData(data){
|
||||
this.applyCvitaTable = data;
|
||||
},
|
||||
handleDeleteMajor(v) {
|
||||
this.$confirm('Are you sure you want to delete this Field ?', 'Tip', {
|
||||
type: 'warning'
|
||||
@@ -2102,6 +2112,12 @@ export default {
|
||||
|
||||
// 青年科学家弹出框
|
||||
youthPoint() {
|
||||
// this.youthForm.journal_id = '';
|
||||
|
||||
// this.youthVisible = true;
|
||||
// this.$nextTick(()=>{
|
||||
// this.$refs.commoncv.init();
|
||||
// })
|
||||
// 判断
|
||||
this.$api
|
||||
.post('api/Ucenter/checkApply', {
|
||||
@@ -2111,7 +2127,12 @@ export default {
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.youthForm.journal_id = '';
|
||||
this.youthVisible = true;
|
||||
|
||||
this.youthVisible = true;
|
||||
// this.$nextTick(()=>{
|
||||
// this.$refs.commoncv.init();
|
||||
// })
|
||||
|
||||
} else {
|
||||
// 提示完善信息
|
||||
this.tipVisible = true;
|
||||
@@ -2150,7 +2171,7 @@ export default {
|
||||
this.$message.error(err);
|
||||
});
|
||||
} else {
|
||||
this.$message.error('error submit!!');
|
||||
this.$message.error('Please select a journal!');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user