Browse Source

feat: [试验管理] 稽查轨迹修改

master
memorylkf 18 hours ago
parent
commit
ca0503c837
15 changed files with 46 additions and 57 deletions
  1. +1
    -1
      src/utils/request.js
  2. +16
    -9
      src/views/business/comps/common/JcgjList.vue
  3. +1
    -1
      src/views/business/form/drug/comp/edit.vue
  4. +2
    -8
      src/views/business/form/drug/comp/sign.vue
  5. +1
    -1
      src/views/business/form/drug/comp/ytbdList.vue
  6. +5
    -5
      src/views/business/form/drug/list.vue
  7. +1
    -1
      src/views/business/form/nonTrial/comp/edit.vue
  8. +2
    -8
      src/views/business/form/nonTrial/comp/sign.vue
  9. +1
    -1
      src/views/business/form/nonTrial/comp/ytbdList.vue
  10. +5
    -5
      src/views/business/form/nonTrial/list.vue
  11. +1
    -1
      src/views/business/study/comp/edit.vue
  12. +2
    -8
      src/views/business/study/comp/sign.vue
  13. +2
    -2
      src/views/business/study/comp/suject.vue
  14. +1
    -1
      src/views/business/study/comp/syxx.vue
  15. +5
    -5
      src/views/business/study/list.vue

+ 1
- 1
src/utils/request.js View File

@ -18,7 +18,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分 // axios中请求配置有baseURL选项,表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API, baseURL: process.env.VUE_APP_BASE_API,
// 超时 // 超时
timeout: 10000
timeout: 90000
}) })
// request拦截器 // request拦截器

+ 16
- 9
src/views/business/comps/common/JcgjList.vue View File

@ -18,24 +18,28 @@
<el-timeline style="margin-left: -30px;"> <el-timeline style="margin-left: -30px;">
<el-timeline-item placement="top" v-for="(item, index) in list" :key="index" :color="item.color"> <el-timeline-item placement="top" v-for="(item, index) in list" :key="index" :color="item.color">
<div class="jcgjList-title"> <div class="jcgjList-title">
<div class="jcgjList-jcmc" :style="'color:' + item.color">{{ item.jcmc }}</div>
<div class="jcgjList-jcmc" :style="'color:' + item.color">{{ $i18n.locale === 'zh_CN'?item.jcmc:item.jcmcEn }}</div>
<div>{{ item.createTime }}</div> <div>{{ item.createTime }}</div>
</div> </div>
<div class="jcglList-jcnr"> <div class="jcglList-jcnr">
<div v-for="(pitem, pindex) in item.jcnrList" :key="pindex">
{{ pitem.name }}{{ pitem.value }}
</div>
<template v-if="$i18n.locale === 'zh_CN'">
<div v-for="(pitem, pindex) in item.jcnrList" :key="pindex">
{{ pitem.name }}{{ pitem.value }}
</div>
</template>
<template v-else>
<div v-for="(pitem, pindex) in item.jcnrListEn" :key="pindex">
{{ pitem.name }}{{ pitem.value }}
</div>
</template>
<div v-if="item.remark&&item.remark!==''"> <div v-if="item.remark&&item.remark!==''">
{{$t('form.remark')}}{{ item.remark }} {{$t('form.remark')}}{{ item.remark }}
</div> </div>
<div v-if="item.qmrId&&item.qmrId>0"> <div v-if="item.qmrId&&item.qmrId>0">
{{$t('form.qmyy')}}{{ item.jcmc }}
</div>
<div v-if="item.qmrId&&item.qmrId>0">
{{$t('form.signer')}}{{ item.qmrMc }}
{{$t('form.qmyy')}}{{ $i18n.locale === 'zh_CN'?item.jcmc:item.jcmcEn }}
</div> </div>
<div v-if="item.qmrId&&item.qmrId>0"> <div v-if="item.qmrId&&item.qmrId>0">
{{$t('form.signerUser')}}{{ item.qmrUserName }}
{{$t('form.signer')}}{{ $i18n.locale === 'zh_CN'?item.qmrMc:item.qmrMcEn }}
</div> </div>
</div> </div>
</el-timeline-item> </el-timeline-item>
@ -92,8 +96,11 @@ export default {
let item = a let item = a
try { try {
item.jcnrList = JSON.parse(a.jcnr) item.jcnrList = JSON.parse(a.jcnr)
item.jcnrListEn = JSON.parse(a.jcnrEn)
debugger
} catch (e) { } catch (e) {
item.jcnrList = [] item.jcnrList = []
item.jcnrListEn = []
} }
// 135绿7 // 135绿7
if (item.jcmcys == 1) { if (item.jcmcys == 1) {

+ 1
- 1
src/views/business/form/drug/comp/edit.vue View File

@ -116,7 +116,7 @@ export default {
if (valid) { if (valid) {
this.infoDialog.formData.status = status this.infoDialog.formData.status = status
if(status === 3){ if(status === 3){
this.$refs.editSignRef.show(this.oldStatus==1?this.$t('page.business.study.drug.submit'):this.$t('page.business.study.drug.xgsy'),this.oldStatus==1?'创建麻精药文件夹':'修改麻精药文件夹')
this.$refs.editSignRef.show(this.oldStatus==1?this.$t('page.business.study.drug.submit'):this.$t('page.business.study.drug.xgsy'),this.oldStatus==1?this.$t('page.business.study.drug.create'):this.$t('page.business.study.drug.xgsy'))
}else{ }else{
this.doSave({}) this.doSave({})
} }

+ 2
- 8
src/views/business/form/drug/comp/sign.vue View File

@ -31,12 +31,6 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item :label="$t('form.signerUser')">
<el-input type="text" v-model="form.qmrUserName" maxlength="50" disabled
:placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item :label="$t('form.password')" prop="qmrmm"> <el-form-item :label="$t('form.password')" prop="qmrmm">
<el-input type="password" v-model="form.qmrmm" maxlength="20" :placeholder="$t('form.placeholderInput')" autocomplete="off" auto-complete="new-password" /> <el-input type="password" v-model="form.qmrmm" maxlength="20" :placeholder="$t('form.placeholderInput')" autocomplete="off" auto-complete="new-password" />
</el-form-item> </el-form-item>
@ -64,7 +58,7 @@ export default {
remark:'', remark:'',
qmrId:'', qmrId:'',
qmrMc:'', qmrMc:'',
qmrUserName:'',
qmrMcEn:'',
qmrmm:'', qmrmm:'',
startDate:'', startDate:'',
@ -100,7 +94,7 @@ export default {
remark:'', remark:'',
qmrId:this.$store.getters.id, qmrId:this.$store.getters.id,
qmrMc:this.$store.getters.nickName, qmrMc:this.$store.getters.nickName,
qmrUserName:this.$store.getters.name,
qmrMcEn:this.$store.getters.name,
qmrmm:'', qmrmm:'',
startDate:'', startDate:'',
endDate:'' endDate:''

+ 1
- 1
src/views/business/form/drug/comp/ytbdList.vue View File

@ -393,7 +393,7 @@ export default {
drug_checkSd({ drug_checkSd({
study:{id:this.study.id}, study:{id:this.study.id},
}).then(() => { }).then(() => {
this.$refs.fsySignRef.show(this.$t('page.business.study.drug.sdsy'),'锁定麻精药文件夹')
this.$refs.fsySignRef.show(this.$t('page.business.study.drug.sdsy'),this.$t('page.business.study.drug.sdsy'))
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
}) })

+ 5
- 5
src/views/business/form/drug/list.vue View File

@ -249,7 +249,7 @@ export default {
del(row) { del(row) {
this.operate = 'del' this.operate = 'del'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.drug.scsy'),'删除麻精药文件夹')
this.$refs.signRef.show(this.$t('page.business.study.drug.scsy'),this.$t('page.business.study.drug.scsy'))
}, },
doDel(signInfo) { doDel(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -269,7 +269,7 @@ export default {
gd(row) { gd(row) {
this.operate = 'gd' this.operate = 'gd'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.drug.sqgd'),'申请归档')
this.$refs.signRef.show(this.$t('page.business.study.drug.sqgd'),this.$t('page.business.study.drug.sqgd'))
}, },
doGd(signInfo) { doGd(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -289,7 +289,7 @@ export default {
js(row) { js(row) {
this.operate = 'js' this.operate = 'js'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.drug.jssy'),'解锁麻精药文件夹')
this.$refs.signRef.show(this.$t('page.business.study.drug.jssy'),this.$t('page.business.study.drug.jssy'))
}, },
doJs(signInfo) { doJs(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -309,7 +309,7 @@ export default {
jd(row) { jd(row) {
this.operate = 'jd' this.operate = 'jd'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.drug.sqjd'),'申请解档')
this.$refs.signRef.show(this.$t('page.business.study.drug.sqjd'),this.$t('page.business.study.drug.sqjd'))
}, },
doJd(signInfo) { doJd(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -329,7 +329,7 @@ export default {
jy(row) { jy(row) {
this.operate = 'jy' this.operate = 'jy'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.drug.sqjy'),'申请借阅',true)
this.$refs.signRef.show(this.$t('page.business.study.drug.sqjy'),this.$t('page.business.study.drug.sqjy'),true)
}, },
doJy(signInfo) { doJy(signInfo) {
this.$modal.loading() this.$modal.loading()

+ 1
- 1
src/views/business/form/nonTrial/comp/edit.vue View File

@ -116,7 +116,7 @@ export default {
if (valid) { if (valid) {
this.infoDialog.formData.status = status this.infoDialog.formData.status = status
if(status === 3){ if(status === 3){
this.$refs.editSignRef.show(this.oldStatus==1?this.$t('page.business.study.nonTrial.submit'):this.$t('page.business.study.nonTrial.xgsy'),this.oldStatus==1?'创建非试验':'修改非试验')
this.$refs.editSignRef.show(this.oldStatus==1?this.$t('page.business.study.nonTrial.submit'):this.$t('page.business.study.nonTrial.xgsy'),this.oldStatus==1?this.$t('page.business.study.nonTrial.create'):this.$t('page.business.study.nonTrial.xgsy'))
}else{ }else{
this.doSave({}) this.doSave({})
} }

+ 2
- 8
src/views/business/form/nonTrial/comp/sign.vue View File

@ -31,12 +31,6 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item :label="$t('form.signerUser')">
<el-input type="text" v-model="form.qmrUserName" maxlength="50" disabled
:placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item :label="$t('form.password')" prop="qmrmm"> <el-form-item :label="$t('form.password')" prop="qmrmm">
<el-input type="password" v-model="form.qmrmm" maxlength="20" :placeholder="$t('form.placeholderInput')" autocomplete="off" auto-complete="new-password" /> <el-input type="password" v-model="form.qmrmm" maxlength="20" :placeholder="$t('form.placeholderInput')" autocomplete="off" auto-complete="new-password" />
</el-form-item> </el-form-item>
@ -64,7 +58,7 @@ export default {
remark:'', remark:'',
qmrId:'', qmrId:'',
qmrMc:'', qmrMc:'',
qmrUserName:'',
qmrMcEn:'',
qmrmm:'', qmrmm:'',
startDate:'', startDate:'',
@ -100,7 +94,7 @@ export default {
remark:'', remark:'',
qmrId:this.$store.getters.id, qmrId:this.$store.getters.id,
qmrMc:this.$store.getters.nickName, qmrMc:this.$store.getters.nickName,
qmrUserName:this.$store.getters.name,
qmrMcEn:this.$store.getters.name,
qmrmm:'', qmrmm:'',
startDate:'', startDate:'',
endDate:'' endDate:''

+ 1
- 1
src/views/business/form/nonTrial/comp/ytbdList.vue View File

@ -392,7 +392,7 @@ export default {
nonTrial_checkSd({ nonTrial_checkSd({
study:{id:this.study.id}, study:{id:this.study.id},
}).then(() => { }).then(() => {
this.$refs.fsySignRef.show(this.$t('page.business.study.nonTrial.sdsy'),'锁定非试验')
this.$refs.fsySignRef.show(this.$t('page.business.study.nonTrial.sdsy'),this.$t('page.business.study.nonTrial.sdsy'))
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
}) })

+ 5
- 5
src/views/business/form/nonTrial/list.vue View File

@ -249,7 +249,7 @@ export default {
del(row) { del(row) {
this.operate = 'del' this.operate = 'del'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.nonTrial.scsy'),'删除非试验')
this.$refs.signRef.show(this.$t('page.business.study.nonTrial.scsy'),this.$t('page.business.study.nonTrial.scsy'))
}, },
doDel(signInfo) { doDel(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -269,7 +269,7 @@ export default {
gd(row) { gd(row) {
this.operate = 'gd' this.operate = 'gd'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.nonTrial.sqgd'),'申请归档')
this.$refs.signRef.show(this.$t('page.business.study.nonTrial.sqgd'),this.$t('page.business.study.nonTrial.sqgd'))
}, },
doGd(signInfo) { doGd(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -289,7 +289,7 @@ export default {
js(row) { js(row) {
this.operate = 'js' this.operate = 'js'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.nonTrial.jssy'),'解锁非试验')
this.$refs.signRef.show(this.$t('page.business.study.nonTrial.jssy'),this.$t('page.business.study.nonTrial.jssy'))
}, },
doJs(signInfo) { doJs(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -309,7 +309,7 @@ export default {
jd(row) { jd(row) {
this.operate = 'jd' this.operate = 'jd'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.nonTrial.sqjd'),'申请解档')
this.$refs.signRef.show(this.$t('page.business.study.nonTrial.sqjd'),this.$t('page.business.study.nonTrial.sqjd'))
}, },
doJd(signInfo) { doJd(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -329,7 +329,7 @@ export default {
jy(row) { jy(row) {
this.operate = 'jy' this.operate = 'jy'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.nonTrial.sqjy'),'申请借阅',true)
this.$refs.signRef.show(this.$t('page.business.study.nonTrial.sqjy'),this.$t('page.business.study.nonTrial.sqjy'),true)
}, },
doJy(signInfo) { doJy(signInfo) {
this.$modal.loading() this.$modal.loading()

+ 1
- 1
src/views/business/study/comp/edit.vue View File

@ -116,7 +116,7 @@ export default {
if (valid) { if (valid) {
this.infoDialog.formData.status = status this.infoDialog.formData.status = status
if(status === 3){ if(status === 3){
this.$refs.editSignRef.show(this.oldStatus==1?this.$t('page.business.study.study.submit'):this.$t('page.business.study.study.xgsy'),this.oldStatus==1?'创建试验':'修改试验')
this.$refs.editSignRef.show(this.oldStatus==1?this.$t('page.business.study.study.submit'):this.$t('page.business.study.study.xgsy'),this.oldStatus==1?this.$t('page.business.study.study.create'):this.$t('page.business.study.study.xgsy'))
}else{ }else{
this.doSave({}) this.doSave({})
} }

+ 2
- 8
src/views/business/study/comp/sign.vue View File

@ -31,12 +31,6 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item :label="$t('form.signerUser')">
<el-input type="text" v-model="form.qmrUserName" maxlength="50" disabled
:placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item :label="$t('form.password')" prop="qmrmm"> <el-form-item :label="$t('form.password')" prop="qmrmm">
<el-input type="password" v-model="form.qmrmm" maxlength="20" :placeholder="$t('form.placeholderInput')" autocomplete="off" auto-complete="new-password" /> <el-input type="password" v-model="form.qmrmm" maxlength="20" :placeholder="$t('form.placeholderInput')" autocomplete="off" auto-complete="new-password" />
</el-form-item> </el-form-item>
@ -64,7 +58,7 @@ export default {
remark:'', remark:'',
qmrId:'', qmrId:'',
qmrMc:'', qmrMc:'',
qmrUserName:'',
qmrMcEn:'',
qmrmm:'', qmrmm:'',
startDate:'', startDate:'',
@ -100,7 +94,7 @@ export default {
remark:'', remark:'',
qmrId:this.$store.getters.id, qmrId:this.$store.getters.id,
qmrMc:this.$store.getters.nickName, qmrMc:this.$store.getters.nickName,
qmrUserName:this.$store.getters.name,
qmrMcEn:this.$store.getters.name,
qmrmm:'', qmrmm:'',
startDate:'', startDate:'',
endDate:'' endDate:''

+ 2
- 2
src/views/business/study/comp/suject.vue View File

@ -171,7 +171,7 @@ export default {
} }
this.infoDialog.saveList = postList this.infoDialog.saveList = postList
this.signType = 'save' this.signType = 'save'
this.$refs.subjectSignRef.show(this.$t('page.business.study.study.rybg'),'人员变更')
this.$refs.subjectSignRef.show(this.$t('page.business.study.study.rybg'),this.$t('page.business.study.study.rybg'))
}, },
doSign(val){ doSign(val){
if(this.signType==='save'){ if(this.signType==='save'){
@ -238,7 +238,7 @@ export default {
} }
this.memberList = postList this.memberList = postList
this.signType = 'member' this.signType = 'member'
this.$refs.subjectSignRef.show(this.$t('page.business.study.study.rybg'),'人员变更')
this.$refs.subjectSignRef.show(this.$t('page.business.study.study.rybg'),this.$t('page.business.study.study.rybg'))
}, },
doChangeMember(sign){ doChangeMember(sign){

+ 1
- 1
src/views/business/study/comp/syxx.vue View File

@ -124,7 +124,7 @@ export default {
study_checkSd({ study_checkSd({
study:{id:this.studyId}, study:{id:this.studyId},
}).then(() => { }).then(() => {
this.$refs.syxxSignRef.show(this.$t('page.business.study.study.sdsy'),'锁定试验')
this.$refs.syxxSignRef.show(this.$t('page.business.study.study.sdsy'),this.$t('page.business.study.study.sdsy'))
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
}) })

+ 5
- 5
src/views/business/study/list.vue View File

@ -249,7 +249,7 @@ export default {
del(row) { del(row) {
this.operate = 'del' this.operate = 'del'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.study.scsy'),'删除试验')
this.$refs.signRef.show(this.$t('page.business.study.study.scsy'),this.$t('page.business.study.study.scsy'))
}, },
doDel(signInfo) { doDel(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -269,7 +269,7 @@ export default {
gd(row) { gd(row) {
this.operate = 'gd' this.operate = 'gd'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.study.sqgd'),'申请归档')
this.$refs.signRef.show(this.$t('page.business.study.study.sqgd'),this.$t('page.business.study.study.sqgd'))
}, },
doGd(signInfo) { doGd(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -289,7 +289,7 @@ export default {
js(row) { js(row) {
this.operate = 'js' this.operate = 'js'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.study.jssy'),'解锁试验')
this.$refs.signRef.show(this.$t('page.business.study.study.jssy'),this.$t('page.business.study.study.jssy'))
}, },
doJs(signInfo) { doJs(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -309,7 +309,7 @@ export default {
jd(row) { jd(row) {
this.operate = 'jd' this.operate = 'jd'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.study.sqjd'),'申请解档')
this.$refs.signRef.show(this.$t('page.business.study.study.sqjd'),this.$t('page.business.study.study.sqjd'))
}, },
doJd(signInfo) { doJd(signInfo) {
this.$modal.loading() this.$modal.loading()
@ -329,7 +329,7 @@ export default {
jy(row) { jy(row) {
this.operate = 'jy' this.operate = 'jy'
this.operateRow = row this.operateRow = row
this.$refs.signRef.show(this.$t('page.business.study.study.sqjy'),'申请借阅',true)
this.$refs.signRef.show(this.$t('page.business.study.study.sqjy'),this.$t('page.business.study.study.sqjy'),true)
}, },
doJy(signInfo) { doJy(signInfo) {
this.$modal.loading() this.$modal.loading()

Loading…
Cancel
Save