部分1问题修复
parent
4b8d330703
commit
ebacc5bb1d
|
@ -15,7 +15,7 @@ service.interceptors.request.use(
|
||||||
config.headers['Content-Type'] = 'application/json;charset=UTF-8'
|
config.headers['Content-Type'] = 'application/json;charset=UTF-8'
|
||||||
var language = zzSessionStorage.getItem('lang')
|
var language = zzSessionStorage.getItem('lang')
|
||||||
config.headers['Accept-Language'] = language === 'en' ? 'en-US,en;q=0.5' : 'zh-CN,zh;q=0.9'
|
config.headers['Accept-Language'] = language === 'en' ? 'en-US,en;q=0.5' : 'zh-CN,zh;q=0.9'
|
||||||
console.log(config.headers)
|
// console.log(config.headers)
|
||||||
if (store.getters.token) {
|
if (store.getters.token) {
|
||||||
config.headers.Authorization = `Bearer ${store.getters.token}`
|
config.headers.Authorization = `Bearer ${store.getters.token}`
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,10 +62,10 @@
|
||||||
size="small"
|
size="small"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item of $d.UserType"
|
v-for="item of roleList"
|
||||||
:key="item.id"
|
:key="item.Id"
|
||||||
:label="item.label"
|
:label="item.UserTypeShortName"
|
||||||
:value="item.id"
|
:value="item.Id"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
|
@ -60,10 +60,10 @@
|
||||||
size="small"
|
size="small"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item of $d.UserType"
|
v-for="item of roleList"
|
||||||
:key="item.id"
|
:key="item.Id"
|
||||||
:label="item.label"
|
:label="item.UserTypeShortName"
|
||||||
:value="item.id"
|
:value="item.Id"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -438,7 +438,11 @@ export default {
|
||||||
getUserTypeRoleList() {
|
getUserTypeRoleList() {
|
||||||
getUserTypeRoleList({})
|
getUserTypeRoleList({})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.roleList = res.Result;
|
this.roleList = res.Result.map((item) => {
|
||||||
|
if ([4, 5, 8, 9, 12, 14].includes(item.UserTypeEnum)) {
|
||||||
|
return item;
|
||||||
|
}
|
||||||
|
}).filter((item) => item);
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
},
|
},
|
||||||
|
|
|
@ -150,6 +150,14 @@
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
/>
|
/>
|
||||||
|
<!-- 阅片标准 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="TrialReadingCriterionName"
|
||||||
|
:label="$t('trials:adReview:table:TrialReadingCriterionName')"
|
||||||
|
min-width="100"
|
||||||
|
sortable="custom"
|
||||||
|
show-overflow-tooltip
|
||||||
|
/>
|
||||||
<!-- 任务状态 -->
|
<!-- 任务状态 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="TaskState"
|
prop="TaskState"
|
||||||
|
|
|
@ -317,7 +317,7 @@ export default {
|
||||||
loading: false,
|
loading: false,
|
||||||
total: 0,
|
total: 0,
|
||||||
// 修改检查
|
// 修改检查
|
||||||
reportBtnLoading: false,
|
reportFlag: {},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -331,16 +331,21 @@ export default {
|
||||||
},
|
},
|
||||||
// 评估报告
|
// 评估报告
|
||||||
async showReport(item) {
|
async showReport(item) {
|
||||||
if (this.reportBtnLoading) return;
|
if (this.reportFlag[item.Id]) return;
|
||||||
let data = {
|
let data = {
|
||||||
VisitTaskId: item.Id,
|
VisitTaskId: item.Id,
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
this.reportBtnLoading = true;
|
if (!this.reportFlag.hasOwnProperty(item.Id)) {
|
||||||
|
this.$set(this.reportFlag, item.Id, true);
|
||||||
|
}
|
||||||
|
if (!this.reportFlag[item.Id]) {
|
||||||
|
this.reportFlag[item.Id] = true;
|
||||||
|
}
|
||||||
let res = await downLoadReadReport(data);
|
let res = await downLoadReadReport(data);
|
||||||
this.reportBtnLoading = false;
|
this.reportFlag[item.Id] = false;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.reportBtnLoading = false;
|
this.reportFlag[item.Id] = false;
|
||||||
console.log(err);
|
console.log(err);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
<el-input v-model="searchData.Code" style="width: 130px" clearable />
|
<el-input v-model="searchData.Code" style="width: 130px" clearable />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 患者编号 -->
|
<!-- 患者编号 -->
|
||||||
<!-- <el-form-item :label="$t('trials:uploadDicomList:table:pId')">
|
<el-form-item :label="$t('trials:uploadDicomList:table:pId')">
|
||||||
<el-input v-model="searchData.Code" style="width: 130px" />
|
<el-input v-model="searchData.PatientIdStr" style="width: 130px" />
|
||||||
</el-form-item> -->
|
</el-form-item>
|
||||||
<!-- 姓名 -->
|
<!-- 姓名 -->
|
||||||
<el-form-item :label="$t('trials:researchStaff:table:Name')">
|
<el-form-item :label="$t('trials:researchStaff:table:Name')">
|
||||||
<el-input
|
<el-input
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 状态 -->
|
<!-- 状态 -->
|
||||||
<el-form-item :label="$t('trials:subject:table:status')">
|
<!-- <el-form-item :label="$t('trials:subject:table:status')">
|
||||||
<el-select v-model="searchData.Status" clearable style="width: 130px">
|
<el-select v-model="searchData.Status" clearable style="width: 130px">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item of $d.Subject_Visit_Status"
|
v-for="item of $d.Subject_Visit_Status"
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item> -->
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<!-- 查询 -->
|
<!-- 查询 -->
|
||||||
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
||||||
|
@ -318,6 +318,7 @@ import patientStudyList from "./components/patient-study-list.vue";
|
||||||
// import confirmVisitList from "../../../trials-inspection/components/confirm-visit-list.vue";
|
// import confirmVisitList from "../../../trials-inspection/components/confirm-visit-list.vue";
|
||||||
const searchDataDefault = () => {
|
const searchDataDefault = () => {
|
||||||
return {
|
return {
|
||||||
|
PatientIdStr: null,
|
||||||
Code: "",
|
Code: "",
|
||||||
Status: "",
|
Status: "",
|
||||||
Sex: "",
|
Sex: "",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -116,13 +116,13 @@
|
||||||
<el-descriptions-item
|
<el-descriptions-item
|
||||||
:label="$t('trials:trial-information:title:activationDate')"
|
:label="$t('trials:trial-information:title:activationDate')"
|
||||||
>
|
>
|
||||||
{{ trialInfo.AuthorizationDate }}
|
{{ otherInfo.ActiveTime }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<!--授权日期-->
|
<!--授权日期-->
|
||||||
<el-descriptions-item
|
<el-descriptions-item
|
||||||
:label="$t('trials:trials-list:table:dateAuthorized')"
|
:label="$t('trials:trials-list:table:dateAuthorized')"
|
||||||
>
|
>
|
||||||
{{ trialInfo.AuthorizationDate }}
|
{{ otherInfo.AuthorizationDeadLineDate }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-button
|
<el-button
|
||||||
|
|
Loading…
Reference in New Issue