|
|
@ -7,7 +7,7 @@ |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item :label="$t('page.business.form.bdmc')" prop="name"> |
|
|
<el-form-item :label="$t('page.business.form.bdmc')" prop="name"> |
|
|
<el-input v-model="searchForm.bdmc" :placeholder="$t('form.placeholderInput')" clearable |
|
|
<el-input v-model="searchForm.bdmc" :placeholder="$t('form.placeholderInput')" clearable |
|
|
style="width: 200px" /> |
|
|
|
|
|
|
|
|
style="width: 200px" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
@ -35,29 +35,26 @@ |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item :label="$t('page.business.form.xtmbmc')" prop="templateName"> |
|
|
<el-form-item :label="$t('page.business.form.xtmbmc')" prop="templateName"> |
|
|
<el-input v-model="searchForm.templateMc" :placeholder="$t('form.placeholderInput')" clearable |
|
|
<el-input v-model="searchForm.templateMc" :placeholder="$t('form.placeholderInput')" clearable |
|
|
style="width: 200px" /> |
|
|
|
|
|
|
|
|
style="width: 200px" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item :label="$t('page.business.form.cjsj')"> |
|
|
<el-form-item :label="$t('page.business.form.cjsj')"> |
|
|
<el-date-picker v-model="daterange" clearable type="daterange" range-separator="-" |
|
|
<el-date-picker v-model="daterange" clearable type="daterange" range-separator="-" |
|
|
:start-placeholder="$t('page.business.form.startDate')" |
|
|
:start-placeholder="$t('page.business.form.startDate')" |
|
|
:end-placeholder="$t('page.business.form.endDate')" value-format="yyyy-MM-dd" |
|
|
|
|
|
style="width: 200px" /> |
|
|
|
|
|
|
|
|
:end-placeholder="$t('page.business.form.endDate')" value-format="yyyy-MM-dd" style="width: 200px" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item :label="$t('page.business.form.tjsj')"> |
|
|
<el-form-item :label="$t('page.business.form.tjsj')"> |
|
|
<el-date-picker v-model="daterangetj" clearable type="daterange" range-separator="-" |
|
|
<el-date-picker v-model="daterangetj" clearable type="daterange" range-separator="-" |
|
|
:start-placeholder="$t('page.business.form.startDate')" |
|
|
:start-placeholder="$t('page.business.form.startDate')" |
|
|
:end-placeholder="$t('page.business.form.endDate')" value-format="yyyy-MM-dd" |
|
|
|
|
|
style="width: 200px" /> |
|
|
|
|
|
|
|
|
:end-placeholder="$t('page.business.form.endDate')" value-format="yyyy-MM-dd" style="width: 200px" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item :label="$t('page.business.study.studyFormFill.sfbl')"> |
|
|
<el-form-item :label="$t('page.business.study.studyFormFill.sfbl')"> |
|
|
<el-select v-model="searchForm.sfbl" :placeholder="$t('form.placeholderSelect')" clearable |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<el-select v-model="searchForm.sfbl" :placeholder="$t('form.placeholderSelect')" clearable> |
|
|
<el-option :label="$t('page.business.study.studyFormFill.yes')" value="是" /> |
|
|
<el-option :label="$t('page.business.study.studyFormFill.yes')" value="是" /> |
|
|
<el-option :label="$t('page.business.study.studyFormFill.no')" value="否" /> |
|
|
<el-option :label="$t('page.business.study.studyFormFill.no')" value="否" /> |
|
|
</el-select> |
|
|
</el-select> |
|
|
@ -83,19 +80,27 @@ |
|
|
<el-table-column :label="$t('page.business.form.gsr')" align="center" prop="userMc" width="100" /> |
|
|
<el-table-column :label="$t('page.business.form.gsr')" align="center" prop="userMc" width="100" /> |
|
|
<el-table-column :label="$t('page.business.form.status')" prop="status" align="center" width="150"> |
|
|
<el-table-column :label="$t('page.business.form.status')" prop="status" align="center" width="150"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.bdzt === 1"><span class="status-circle tbz"></span>{{ $t('page.business.study.studyFormFill.tbz') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 3"><span class="status-circle ytj"></span>{{ $t('page.business.study.studyFormFill.ytj') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 5"><span class="status-circle ywcfh"></span>{{ $t('page.business.study.studyFormFill.ywcfh') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 7"><span class="status-circle ywc"></span>{{ $t('page.business.study.studyFormFill.ywc') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 9"><span class="status-circle dfz"></span>{{ $t('page.business.study.studyFormFill.dfz') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 11"><span class="status-circle yfz"></span>{{ $t('page.business.study.studyFormFill.yfz') }}</span> |
|
|
|
|
|
|
|
|
<span v-if="scope.row.bdzt === 1"><span class="status-circle tbz"></span>{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.tbz') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 3"><span class="status-circle ytj"></span>{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.ytj') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 5"><span class="status-circle ywcfh"></span>{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.ywcfh') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 7"><span class="status-circle ywc"></span>{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.ywc') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 9"><span class="status-circle dfz"></span>{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.dfz') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 11"><span class="status-circle yfz"></span>{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.yfz') }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column :label="$t('page.business.study.studyFormFill.sfbl')" align="center" prop="status" |
|
|
<el-table-column :label="$t('page.business.study.studyFormFill.sfbl')" align="center" prop="status" |
|
|
width="100"> |
|
|
width="100"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.sfbl === '是'"><span class="status-circle yes"></span>{{ $t('page.business.study.studyFormFill.yes') }}</span> |
|
|
|
|
|
<span v-if="scope.row.sfbl === '否'"><span class="status-circle no"></span>{{ $t('page.business.study.studyFormFill.no') }}</span> |
|
|
|
|
|
|
|
|
<span v-if="scope.row.sfbl === '是'"><span class="status-circle yes"></span>{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.yes') }}</span> |
|
|
|
|
|
<span v-if="scope.row.sfbl === '否'"><span class="status-circle no"></span>{{ |
|
|
|
|
|
$t('page.business.study.studyFormFill.no') }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column :label="$t('page.business.form.tjsj')" align="center" prop="tjsj" width="140" /> |
|
|
<el-table-column :label="$t('page.business.form.tjsj')" align="center" prop="tjsj" width="140" /> |
|
|
@ -111,8 +116,8 @@ |
|
|
@click="edit(scope.row)" v-hasPermi="['business:studyFormFill:bj']">{{ |
|
|
@click="edit(scope.row)" v-hasPermi="['business:studyFormFill:bj']">{{ |
|
|
$t('form.edit') }}</el-button> |
|
|
$t('form.edit') }}</el-button> |
|
|
<!-- 复核 --> |
|
|
<!-- 复核 --> |
|
|
<el-button type="text" v-if="scope.row.bdzt === 3 && isMatchSubject&&id!=scope.row.userId" @click="fh(scope.row)" |
|
|
|
|
|
v-hasPermi="['business:studyFormFill:fh']">{{ |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 3 && isMatchSubject && id != scope.row.userId" |
|
|
|
|
|
@click="fh(scope.row)" v-hasPermi="['business:studyFormFill:fh']">{{ |
|
|
$t('page.business.study.studyFormFill.fh') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.fh') }}</el-button> |
|
|
<!-- 加签 --> |
|
|
<!-- 加签 --> |
|
|
<el-button type="text" v-if="scope.row.bdzt === 1 && isMatchSubject" @click="jq(scope.row)" |
|
|
<el-button type="text" v-if="scope.row.bdzt === 1 && isMatchSubject" @click="jq(scope.row)" |
|
|
@ -136,7 +141,7 @@ |
|
|
v-hasPermi="['business:studyFormFill:qrfz']">{{ |
|
|
v-hasPermi="['business:studyFormFill:qrfz']">{{ |
|
|
$t('page.business.study.studyFormFill.qrfz') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.qrfz') }}</el-button> |
|
|
<!-- 观察 todo 观察按钮只在系统模板为细胞复苏记录表才展示) --> |
|
|
<!-- 观察 todo 观察按钮只在系统模板为细胞复苏记录表才展示) --> |
|
|
<el-button type="text" v-if="scope.row.bdzt === 1&&scope.row.showGc==10" @click="gc(scope.row)" |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1 && scope.row.showGc == 10" @click="gc(scope.row)" |
|
|
v-hasPermi="['business:studyFormFill:gc']">{{ |
|
|
v-hasPermi="['business:studyFormFill:gc']">{{ |
|
|
$t('page.business.study.studyFormFill.gc') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.gc') }}</el-button> |
|
|
</template> |
|
|
</template> |
|
|
@ -243,7 +248,7 @@ export default { |
|
|
userMc: '', |
|
|
userMc: '', |
|
|
templateMc: '', |
|
|
templateMc: '', |
|
|
cjsjjs: '', |
|
|
cjsjjs: '', |
|
|
sfbl:null, |
|
|
|
|
|
|
|
|
sfbl: null, |
|
|
cjsjks: '', |
|
|
cjsjks: '', |
|
|
tjsjjs: '', |
|
|
tjsjjs: '', |
|
|
tjsjks: '', |
|
|
tjsjks: '', |
|
|
@ -271,8 +276,12 @@ export default { |
|
|
ghgsr(row) { |
|
|
ghgsr(row) { |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
this.currentRow = row |
|
|
|
|
|
this.$refs.selectDeptUserDialog.show(null, null) |
|
|
|
|
|
|
|
|
if (response.data.toUrl) { |
|
|
|
|
|
this.toRead(response.data) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.currentRow = row |
|
|
|
|
|
this.$refs.selectDeptUserDialog.show(null, null) |
|
|
|
|
|
} |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
@ -283,7 +292,11 @@ export default { |
|
|
jq(row) { |
|
|
jq(row) { |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
this.$refs.Jq.show(row) |
|
|
|
|
|
|
|
|
if (response.data.toUrl) { |
|
|
|
|
|
this.toRead(response.data) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$refs.Jq.show(row) |
|
|
|
|
|
} |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
@ -291,7 +304,11 @@ export default { |
|
|
qrfz(row) { |
|
|
qrfz(row) { |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
this.$refs.Qrfz.show(row) |
|
|
|
|
|
|
|
|
if (response.data.toUrl) { |
|
|
|
|
|
this.toRead(response.data) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$refs.Qrfz.show(row) |
|
|
|
|
|
} |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
@ -299,7 +316,11 @@ export default { |
|
|
gc(row) { |
|
|
gc(row) { |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
this.$refs.Gc.show(row) |
|
|
|
|
|
|
|
|
if (response.data.toUrl) { |
|
|
|
|
|
this.toRead(response.data) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$refs.Gc.show(row) |
|
|
|
|
|
} |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
@ -307,7 +328,11 @@ export default { |
|
|
fz(row) { |
|
|
fz(row) { |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
this.$refs.Fz.show(row) |
|
|
|
|
|
|
|
|
if (response.data.toUrl) { |
|
|
|
|
|
this.toRead(response.data) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$refs.Fz.show(row) |
|
|
|
|
|
} |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
@ -331,8 +356,8 @@ export default { |
|
|
this.searchForm.tjsjjs = '' |
|
|
this.searchForm.tjsjjs = '' |
|
|
this.searchForm.tjsjks = '' |
|
|
this.searchForm.tjsjks = '' |
|
|
this.searchForm.sfbl = null |
|
|
this.searchForm.sfbl = null |
|
|
this.daterange=[] |
|
|
|
|
|
this.daterangetj=[] |
|
|
|
|
|
|
|
|
this.daterange = [] |
|
|
|
|
|
this.daterangetj = [] |
|
|
this.search() |
|
|
this.search() |
|
|
}, |
|
|
}, |
|
|
getList() { |
|
|
getList() { |
|
|
@ -357,18 +382,30 @@ export default { |
|
|
this.loading = false |
|
|
this.loading = false |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
toRead(data) { |
|
|
|
|
|
this.$alert(data.ffmc, '', { |
|
|
|
|
|
confirmButtonText: this.$t('page.business.study.studyMethod.qyd'), |
|
|
|
|
|
callback: action => { |
|
|
|
|
|
this.$tab.openPage("loading", data.toUrl) |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
add() { |
|
|
add() { |
|
|
// this.showEdit = true |
|
|
// this.showEdit = true |
|
|
// this.$emit('showDetail', this.showEdit) |
|
|
// this.$emit('showDetail', this.showEdit) |
|
|
// this.$refs.Bj.edit({ studySn:this.searchForm.studySn, studyMc:this.searchForm.studyMc,studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }) |
|
|
// this.$refs.Bj.edit({ studySn:this.searchForm.studySn, studyMc:this.searchForm.studyMc,studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }) |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => { |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => { |
|
|
let params = caesarCipher(JSON.stringify({ |
|
|
|
|
|
url: this.$route.fullPath, |
|
|
|
|
|
studyId: this.searchForm.studyId, |
|
|
|
|
|
id: null |
|
|
|
|
|
})) |
|
|
|
|
|
this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/study/formFillBj/' + params) |
|
|
|
|
|
|
|
|
if (response.data.toUrl) { |
|
|
|
|
|
this.toRead(response.data) |
|
|
|
|
|
} else { |
|
|
|
|
|
let params = caesarCipher(JSON.stringify({ |
|
|
|
|
|
url: this.$route.fullPath, |
|
|
|
|
|
studyId: this.searchForm.studyId, |
|
|
|
|
|
id: null |
|
|
|
|
|
})) |
|
|
|
|
|
this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/study/formFillBj/' + params) |
|
|
|
|
|
} |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
@ -379,12 +416,16 @@ export default { |
|
|
// this.$refs.Bj.edit(row) |
|
|
// this.$refs.Bj.edit(row) |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => { |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => { |
|
|
let params = caesarCipher(JSON.stringify({ |
|
|
|
|
|
url: this.$route.fullPath, |
|
|
|
|
|
studyId: this.searchForm.studyId, |
|
|
|
|
|
formId: row.id |
|
|
|
|
|
})) |
|
|
|
|
|
this.$tab.openPage(row.bdmc, '/study/formFillBj/' + params) |
|
|
|
|
|
|
|
|
if (response.data.toUrl) { |
|
|
|
|
|
this.toRead(response.data) |
|
|
|
|
|
} else { |
|
|
|
|
|
let params = caesarCipher(JSON.stringify({ |
|
|
|
|
|
url: this.$route.fullPath, |
|
|
|
|
|
studyId: this.searchForm.studyId, |
|
|
|
|
|
formId: row.id |
|
|
|
|
|
})) |
|
|
|
|
|
this.$tab.openPage(row.bdmc, '/study/formFillBj/' + params) |
|
|
|
|
|
} |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
@ -422,9 +463,13 @@ export default { |
|
|
fh(row) { |
|
|
fh(row) { |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => { |
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => { |
|
|
this.showFh = true |
|
|
|
|
|
this.$emit('showDetail', this.showFh) |
|
|
|
|
|
this.$refs.Fh.show(row) |
|
|
|
|
|
|
|
|
if (response.data.toUrl) { |
|
|
|
|
|
this.toRead(response.data) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.showFh = true |
|
|
|
|
|
this.$emit('showDetail', this.showFh) |
|
|
|
|
|
this.$refs.Fh.show(row) |
|
|
|
|
|
} |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
|