|
@@ -2,7 +2,7 @@
|
|
<div id="patent">
|
|
<div id="patent">
|
|
<admin-frame @search="search" :limit="limit" :total="total" topType="2" @back="back" :rightArrow="false" :useNav="false">
|
|
<admin-frame @search="search" :limit="limit" :total="total" topType="2" @back="back" :rightArrow="false" :useNav="false">
|
|
<template v-slot:info>
|
|
<template v-slot:info>
|
|
- <list-1 :list="list" @view="view" @relation="relation" @examine="toExamine"></list-1>
|
|
|
|
|
|
+ <list-1 :list="list" @view="view" @examine="toExamine"></list-1>
|
|
</template>
|
|
</template>
|
|
</admin-frame>
|
|
</admin-frame>
|
|
<van-dialog class="dialog" v-model="show" title="详细信息" :show-confirm-button="false" show-cancel-button>
|
|
<van-dialog class="dialog" v-model="show" title="详细信息" :show-confirm-button="false" show-cancel-button>
|
|
@@ -11,13 +11,6 @@
|
|
<van-dialog class="twoDialog" v-model="twoShow" title="审核信息" :show-confirm-button="false" :show-cancel-button="false" :closeOnClickOverlay="true">
|
|
<van-dialog class="twoDialog" v-model="twoShow" title="审核信息" :show-confirm-button="false" :show-cancel-button="false" :closeOnClickOverlay="true">
|
|
<check-form :form="form" @onSubmit="onSubmit"></check-form>
|
|
<check-form :form="form" @onSubmit="onSubmit"></check-form>
|
|
</van-dialog>
|
|
</van-dialog>
|
|
- <van-dialog class="thrDialog" v-model="thrShow" title="关联申请号" :show-confirm-button="false" :show-cancel-button="false">
|
|
|
|
- <van-field v-model="relationForm.create_number" label="专利申请号" placeholder="请输入申请号" />
|
|
|
|
- <van-col span="24" class="btn">
|
|
|
|
- <van-button type="danger" size="small" @click="thrShow = false">取消关联</van-button>
|
|
|
|
- <van-button type="info" size="small" @click="relationSubmit">确认关联</van-button>
|
|
|
|
- </van-col>
|
|
|
|
- </van-dialog>
|
|
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -48,9 +41,6 @@ export default {
|
|
// 专利申请审核信息
|
|
// 专利申请审核信息
|
|
twoShow: false,
|
|
twoShow: false,
|
|
form: {},
|
|
form: {},
|
|
- // 关联申请号
|
|
|
|
- thrShow: false,
|
|
|
|
- relationForm: {},
|
|
|
|
};
|
|
};
|
|
},
|
|
},
|
|
async created() {
|
|
async created() {
|
|
@@ -72,22 +62,6 @@ export default {
|
|
this.$set(this, `info`, data);
|
|
this.$set(this, `info`, data);
|
|
this.show = true;
|
|
this.show = true;
|
|
},
|
|
},
|
|
- // 关联申请号
|
|
|
|
- relation(data) {
|
|
|
|
- this.$set(this, `relationForm`, data);
|
|
|
|
- this.thrShow = true;
|
|
|
|
- },
|
|
|
|
- // 确认关联
|
|
|
|
- async relationSubmit() {
|
|
|
|
- let data = this.relationForm;
|
|
|
|
- let res = await this.update(data);
|
|
|
|
- if (this.$checkRes(res)) {
|
|
|
|
- this.$toast({ type: `success`, message: `关联申请号成功` });
|
|
|
|
- this.thrShow = false;
|
|
|
|
- } else {
|
|
|
|
- this.$toast({ type: `success`, message: `${res.errmsg}` });
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
// 审核
|
|
// 审核
|
|
toExamine(data) {
|
|
toExamine(data) {
|
|
this.$set(this, `form`, data);
|
|
this.$set(this, `form`, data);
|