|
|
@ -38,7 +38,7 @@ |
|
|
|
dictCode="choose_topic_persion_status" |
|
|
|
dictCode="choose_topic_persion_status" |
|
|
|
disabled="true"/> |
|
|
|
disabled="true"/> |
|
|
|
<a-button v-if="formData.status==0" @click="click1(1)">提交选题</a-button> |
|
|
|
<a-button v-if="formData.status==0" @click="click1(1)">提交选题</a-button> |
|
|
|
<a-button v-if="formData.status==2" @click="click1(4)">申请驳回</a-button> |
|
|
|
<a-button v-if="formData.status==3" @click="click2(1)">提交选题</a-button> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item v-if="formData.status==3" label="驳回信息" |
|
|
|
<a-form-item v-if="formData.status==3" label="驳回信息" |
|
|
|
v-bind="validateInfos.status_dictText"> |
|
|
|
v-bind="validateInfos.status_dictText"> |
|
|
@ -72,6 +72,7 @@ import {getValueType} from '/@/utils'; |
|
|
|
import {update,saveOrUpdate, list4, watch} from '../ChaoseTopicPersion.api'; |
|
|
|
import {update,saveOrUpdate, list4, watch} from '../ChaoseTopicPersion.api'; |
|
|
|
import {Form} from 'ant-design-vue'; |
|
|
|
import {Form} from 'ant-design-vue'; |
|
|
|
import JDictSelectTag from "/@/components/Form/src/jeecg/components/JDictSelectTag.vue"; |
|
|
|
import JDictSelectTag from "/@/components/Form/src/jeecg/components/JDictSelectTag.vue"; |
|
|
|
|
|
|
|
import {update2} from "/@/views/chooseTopicPersion/ChaoseTopicPersion.api"; |
|
|
|
|
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
|
const props = defineProps({ |
|
|
|
formDisabled: {type: Boolean, default: false}, |
|
|
|
formDisabled: {type: Boolean, default: false}, |
|
|
@ -128,6 +129,13 @@ function click1(status1) { |
|
|
|
update({enrollCode: formData.bmcode,status:status1,topicid : formData.timul}) |
|
|
|
update({enrollCode: formData.bmcode,status:status1,topicid : formData.timul}) |
|
|
|
emit('up'); |
|
|
|
emit('up'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function click2(status1) { |
|
|
|
|
|
|
|
console.log(formData) |
|
|
|
|
|
|
|
update2({enrollCode: formData.bmcode,status:status1,topicid : formData.timul}) |
|
|
|
|
|
|
|
emit('up'); |
|
|
|
|
|
|
|
} |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 编辑 |
|
|
|
* 编辑 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|