恢复dev版本

master
李劲龙 8 months ago
parent 0c2939dce2
commit 47f29137cf

@ -46,7 +46,7 @@ export default {
const token = params.get("token"); const token = params.get("token");
const leixing = params.get("leixing") || ""; const leixing = params.get("leixing") || "";
const bah = params.get("bah"); const bah = params.get("bah");
const realName = params.get("realName") || "";
const qita = params.get("qita") || ""; const qita = params.get("qita") || "";
let obj = { let obj = {
@ -56,7 +56,8 @@ export default {
token, token,
leixing, leixing,
bah, bah,
qita realName,
qita,
} }
console.log(888, obj); console.log(888, obj);
if ( if (

@ -3,7 +3,8 @@
<el-descriptions class="margin-top" :column="column" :size="size" :border="border" :colon="!changeStyle" <el-descriptions class="margin-top" :column="column" :size="size" :border="border" :colon="!changeStyle"
:labelClassName="width ? 'descriptions-labelWidth-style' : changeStyle ? 'descriptions-labelChange-style' : 'descriptions-label-style'" :labelClassName="width ? 'descriptions-labelWidth-style' : changeStyle ? 'descriptions-labelChange-style' : 'descriptions-label-style'"
:contentClassName="width ? 'descriptions-contentWidth-style' : changeStyle ? 'descriptions-contentChange-style' : 'descriptions-content-style'"> :contentClassName="width ? 'descriptions-contentWidth-style' : changeStyle ? 'descriptions-contentChange-style' : 'descriptions-content-style'">
<el-descriptions-item v-for="item in tablist" :key="item.id" :span="item.span ? item.span : 1" v-if="item.value && urlA.leixing != 'ggfw'"> <!-- v-if="item.value && urlA.leixing != 'ggfw'" -->
<el-descriptions-item v-for="item in tablist" :key="item.id" :span="item.span ? item.span : 1" >
<template slot="label"> <template slot="label">
{{ item.label }} {{ item.label }}
</template> </template>

@ -105,7 +105,6 @@ export default {
form1: { form1: {
pageSize: 10, pageSize: 10,
pageNum: 1, pageNum: 1,
zczbh: "",
}, },
options1: [ options1: [
{ {
@ -133,7 +132,7 @@ export default {
this.loading = true; this.loading = true;
if (this.urlA.type == 2) { if (this.urlA.type == 2) {
this.form1.drugApprovalNo = this.urlA.data this.form1.drugApprovalNo = this.urlA.data
this.form1.zczbh = ""
// //
this.tableList = [ this.tableList = [
@ -198,6 +197,8 @@ export default {
}) })
} else if (this.urlA.type == 3) { } else if (this.urlA.type == 3) {
this.form1.zczbh = this.urlA.data
// //
this.tableList = [ this.tableList = [
{ {
@ -362,7 +363,6 @@ export default {
] ]
this.form1.registerNo = this.urlA.data this.form1.registerNo = this.urlA.data
this.form1.zczbh = ""
this.$api.frimCenter.portraitHzpReport(this.form1).then(res => { this.$api.frimCenter.portraitHzpReport(this.form1).then(res => {
console.log(888, this.urlA); console.log(888, this.urlA);
console.log(777, res); console.log(777, res);
@ -406,7 +406,6 @@ export default {
this.form1 = { this.form1 = {
pageSize: 10, pageSize: 10,
pageNum: 1, pageNum: 1,
zczbh: "",
} }
}, },
inquire() { } inquire() { }
@ -417,7 +416,6 @@ export default {
}), }),
}, },
mounted() { mounted() {
this.form1.zczbh = this.urlA.data
this.getlist() this.getlist()
// this.$nextTick(() => { // this.$nextTick(() => {
// let dom = document.getElementsByClassName('adverseReaction'); // let dom = document.getElementsByClassName('adverseReaction');

@ -200,8 +200,9 @@
<my-descriptions :descriptions="listTow"></my-descriptions> <my-descriptions :descriptions="listTow"></my-descriptions>
</div> </div>
</block-header> </block-header>
<!-- v-if="obj.type != '1' && item.show" -->
<block-header :title="item.label" style="margin-bottom: 0.5vh;" v-for="item in listthree" :key="item.id" <block-header :title="item.label" style="margin-bottom: 0.5vh;" v-for="item in listthree" :key="item.id"
v-show="obj.type == item.type || item.label == '生产标准信息'" v-if="obj.type != '1' && item.show"> v-show="obj.type == item.type || item.label == '生产标准信息'" >
<div v-loading="loading"> <div v-loading="loading">
<descriptionsbianji :descriptions="item.children"></descriptionsbianji> <descriptionsbianji :descriptions="item.children"></descriptionsbianji>
</div> </div>
@ -347,7 +348,6 @@ export default {
label: "生产标准信息", label: "生产标准信息",
type: "2", type: "2",
show: false, show: false,
children: [ children: [
{ {
id: 1, id: 1,

@ -46,17 +46,18 @@
" alt="" /> " alt="" />
<span>基本信息</span> <span>基本信息</span>
</div> </div>
<!-- v-if="urlA.leixing != 'ggfw'" -->
<div class="tab" @click="actionTab(2, $event)" :class="action == 2 ? 'actionTab' : ''" <div class="tab" @click="actionTab(2, $event)" :class="action == 2 ? 'actionTab' : ''"
v-show="urlA.type != 4 && pruduct.type != '原料药'&& urlA.type != 'yagao'" v-if="urlA.leixing != 'ggfw'"> v-show="urlA.type != 4 && pruduct.type != '原料药' && urlA.type != 'yagao'" >
<img :src="action == 2 <img :src="action == 2
? `${require('@/assets/images/home/icon2-1@2x.png')}` ? `${require('@/assets/images/home/icon2-1@2x.png')}`
: `${require('@/assets/images/home/icon2-2@2x.png')}` : `${require('@/assets/images/home/icon2-2@2x.png')}`
" alt="" /> " alt="" />
<span>抽样信息</span> <span>抽样信息</span>
</div> </div>
<!-- v-if="urlA.leixing != 'ggfw'" -->
<div class="tab" @click="actionTab(3, $event)" :class="action == 3 ? 'actionTab' : ''" <div class="tab" @click="actionTab(3, $event)" :class="action == 3 ? 'actionTab' : ''"
v-show="urlA.type != 4 && pruduct.type != '原料药'&& urlA.type != 'yagao'" v-if="urlA.leixing != 'ggfw'"> v-show="urlA.type != 4 && pruduct.type != '原料药' && urlA.type != 'yagao'" >
<img :src="action == 3 <img :src="action == 3
? `${require('@/assets/images/home/icon5-1@2x.png')}` ? `${require('@/assets/images/home/icon5-1@2x.png')}`
: `${require('@/assets/images/home/icon5-2@2x.png')}` : `${require('@/assets/images/home/icon5-2@2x.png')}`
@ -64,15 +65,16 @@
<span>不良反应</span> <span>不良反应</span>
</div> </div>
<div class="tab" @click="actionTab(4, $event)" :class="action == 4 ? 'actionTab' : ''" <div class="tab" @click="actionTab(4, $event)" :class="action == 4 ? 'actionTab' : ''"
v-show="urlA.flag != 5 && urlA.type != 4 && pruduct.type != '原料药'&& urlA.type != 'yagao'" v-if="urlA.leixing != 'ggfw'"> v-show="urlA.flag != 5 && urlA.type != 4 && pruduct.type != '原料药' && urlA.type != 'yagao'"
v-if="urlA.leixing != 'ggfw'">
<img :src="action == 4 <img :src="action == 4
? `${require('@/assets/images/home/icon1-1@2x.png')}` ? `${require('@/assets/images/home/icon1-1@2x.png')}`
: `${require('@/assets/images/home/icon1-2@2x.png')}` : `${require('@/assets/images/home/icon1-2@2x.png')}`
" alt="" /> " alt="" />
<span>召回信息</span> <span>召回信息</span>
</div> </div>
<div class="tab" @click="actionTab(6, $event)" :class="action == 6 ? 'actionTab' : ''" <div class="tab" @click="actionTab(6, $event)" :class="action == 6 ? 'actionTab' : ''" v-show="urlA.type == 4"
v-show="urlA.type == 4" v-if="urlA.leixing != 'ggfw'"> v-if="urlA.leixing != 'ggfw'">
<img :class="action !== 6 ? 'actionImage' : ''" :src="action == 6 <img :class="action !== 6 ? 'actionImage' : ''" :src="action == 6
? `${require('@/assets/images/home/icon1-1@2x.png')}` ? `${require('@/assets/images/home/icon1-1@2x.png')}`
: `${require('@/assets/images/home/icon1-2@2x.png')}` : `${require('@/assets/images/home/icon1-2@2x.png')}`
@ -80,7 +82,7 @@
<span>基本信息</span> <span>基本信息</span>
</div> </div>
<div class="tab" @click="actionTab(7, $event)" :class="action == 7 ? 'actionTab' : ''" <div class="tab" @click="actionTab(7, $event)" :class="action == 7 ? 'actionTab' : ''"
v-show="urlA.type == 4&& urlA.type != 'yagao'" v-if="urlA.leixing != 'ggfw'"> v-show="urlA.type == 4 && urlA.type != 'yagao'" v-if="urlA.leixing != 'ggfw'">
<img :src="action == 7 <img :src="action == 7
? `${require('@/assets/images/home/icon2-1@2x.png')}` ? `${require('@/assets/images/home/icon2-1@2x.png')}`
: `${require('@/assets/images/home/icon2-2@2x.png')}` : `${require('@/assets/images/home/icon2-2@2x.png')}`
@ -88,7 +90,7 @@
<span>变更记录</span> <span>变更记录</span>
</div> </div>
<div class="tab" @click="actionTab(8, $event)" :class="action == 8 ? 'actionTab' : ''" <div class="tab" @click="actionTab(8, $event)" :class="action == 8 ? 'actionTab' : ''"
v-show="urlA.type == 2&& urlA.type != 'yagao'" v-if="urlA.leixing != 'ggfw'"> v-show="urlA.type == 2 && urlA.type != 'yagao'" v-if="urlA.leixing != 'ggfw'">
<img :src="action == 8 <img :src="action == 8
? `${require('@/assets/images/home/icon2-1@2x.png')}` ? `${require('@/assets/images/home/icon2-1@2x.png')}`
: `${require('@/assets/images/home/icon2-2@2x.png')}` : `${require('@/assets/images/home/icon2-2@2x.png')}`
@ -193,7 +195,7 @@
<span>产品名称命名依据</span> <span>产品名称命名依据</span>
</div> --> </div> -->
<div class="tab" @click="actionTab(19, $event)" :class="action == 19 ? 'actionTab' : ''" <div class="tab" @click="actionTab(19, $event)" :class="action == 19 ? 'actionTab' : ''"
v-show="urlA.type != 4 && urlA.leixing != 'ggfw' && pruduct.type != 7 && pruduct.type != '原料药'&& urlA.type != 'yagao'"> v-show="urlA.type != 4 && urlA.leixing != 'ggfw' && pruduct.type != 7 && pruduct.type != '原料药' && urlA.type != 'yagao'">
<img :src="action == 19 <img :src="action == 19
? `${require('@/assets/images/home/icon1-1@2x.png')}` ? `${require('@/assets/images/home/icon1-1@2x.png')}`
: `${require('@/assets/images/home/icon1-2@2x.png')}` : `${require('@/assets/images/home/icon1-2@2x.png')}`
@ -480,6 +482,9 @@ export default {
console.log(123); console.log(123);
console.log(this.inputValue); console.log(this.inputValue);
let this_ = this; let this_ = this;
console.log("mingcheng", this.pruduct.value);
console.log("realName", this.urlA.realName);
function add(inputValue) { function add(inputValue) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
let obj = {} let obj = {}
@ -492,12 +497,16 @@ export default {
obj = { obj = {
label: inputValue, label: inputValue,
soleInfo: bah, soleInfo: bah,
productName: this_.pruduct.value,
createBy: this_.urlA.realName
} }
} else { } else {
console.log("后两位不是 '#/'"); console.log("后两位不是 '#/'");
obj = { obj = {
label: inputValue, label: inputValue,
soleInfo: this_.urlA.bah, soleInfo: this_.urlA.bah,
productName: this_.pruduct.value,
createBy: this_.urlA.realName
} }
} }
@ -505,6 +514,8 @@ export default {
obj = { obj = {
label: inputValue, label: inputValue,
soleInfo: this_.urlA.data, soleInfo: this_.urlA.data,
productName: this_.pruduct.value,
createBy: this_.urlA.realName
} }
} }
@ -699,7 +710,7 @@ export default {
// //
} else if (id == 355) { } else if (id == 355) {
// //
}else if (id == 366) { } else if (id == 366) {
// //
} }
}, },
@ -793,7 +804,7 @@ export default {
title: this.title, title: this.title,
datalist: this.datalist, datalist: this.datalist,
}; };
case "yaopinbiangeng": case "yaopinbiangeng":
return { return {
b: this.id, b: this.id,
token: this.token, token: this.token,
@ -985,6 +996,6 @@ export default {
font-size: vb(16); font-size: vb(16);
} }
} }
/* 修改滚动条样式 .title_state为div盒子*/
/* 修改滚动条样式 .title_state为div盒子*/
</style> </style>

Loading…
Cancel
Save