提交 f39cc730 编写于 作者: tao.wu's avatar tao.wu

no message

上级 cf7e8fb2
...@@ -14,8 +14,8 @@ service.interceptors.request.use(config => { ...@@ -14,8 +14,8 @@ service.interceptors.request.use(config => {
if( config.headers['sysCode']==undefined) { if( config.headers['sysCode']==undefined) {
config.headers['sysCode'] = 12 config.headers['sysCode'] = 12
} }
config.headers['token'] = '807108DB003F4304A1037E8CD15BAA93' // config.headers['token'] = '8143DC2A026B4602BF7B746FB5AEE9A1'
//config.headers['token'] = localStorage.getItem('storageToken') config.headers['token'] = localStorage.getItem('storageToken')
config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' }) config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' })
// if (config.data && config.data.setEntry) { // if (config.data && config.data.setEntry) {
// config.headers['sysCode'] = config.data.sysCode || 10 // config.headers['sysCode'] = config.data.sysCode || 10
......
...@@ -250,9 +250,8 @@ export const getBasicData = (params) => { ...@@ -250,9 +250,8 @@ export const getBasicData = (params) => {
// 获取所有漫画列表 // 获取所有漫画列表
export const getAllEducationComtent = (data) => { export const getAllEducationComtent = (data) => {
return fetch({ return fetch({
headers:{}, headers,
// url: getFollowUpSC(`/patientEdus/postEducationComtentList/`), url: getFollowUpSC(`/healths/comtent/workstation/list`),
url: 'https://www.yunqueyi.com/web/patientEdus/postEducationComtentList',
method: 'post', method: 'post',
data: data, data: data,
description: '获取所有漫画列表' description: '获取所有漫画列表'
......
...@@ -62,8 +62,13 @@ ...@@ -62,8 +62,13 @@
diseaseId: '',//所选疾病id diseaseId: '',//所选疾病id
typeId: '',//所选分类id typeId: '',//所选分类id
typeList : [], // 分类列表 typeList : [ // 分类列表
diseaseOptions: [ {
no: '',
value: '全部'
}
],
diseaseOptions: [ //疾病列表
{ {
no: '', no: '',
value: '全部' value: '全部'
...@@ -81,10 +86,11 @@ ...@@ -81,10 +86,11 @@
numList: 'P036,P004' numList: 'P036,P004'
}).then(res=>{ }).then(res=>{
this.diseaseOptions = this.diseaseOptions.concat(res.data.P004) this.diseaseOptions = this.diseaseOptions.concat(res.data.P004)
this.typeList = res.data.P036 this.typeList = this.typeList.concat(res.data.P036)
}) })
getAllEducationComtent().then(res=>{ getAllEducationComtent({}).then(res=>{
// res.data.picapEducationComtentsForHypertension
// res.data.picapEducationComtentsForNotHypertension
}) })
} }
} }
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
v-for="(item,index) in ageOptions" v-for="(item,index) in ageOptions"
:key="index" :key="index"
:label="item.value" :label="item.value"
:value="item.no"> :value="item.value">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -143,9 +143,6 @@ ...@@ -143,9 +143,6 @@
labelId: '分组', labelId: '分组',
searchCondition: '' searchCondition: ''
}, },
// searchPara.ageBegin = $scope.ageDate($scope.search.age).ageBegin
// searchPara.ageEnd = $scope.ageDate($scope.search.age).ageEnd
paginationSet: { paginationSet: {
pageNum: 1, pageNum: 1,
pageSize: 5, pageSize: 5,
...@@ -206,8 +203,8 @@ ...@@ -206,8 +203,8 @@
diseaseId: opts.diseaseId, diseaseId: opts.diseaseId,
age: opts.age, age: opts.age,
sex: opts.sex, sex: opts.sex,
// ageBegin:'', ageBegin: opts.ageBegin,
// ageEnd:'', ageEnd: opts.ageEnd,
srvPackageId:opts.srvPackageId, srvPackageId:opts.srvPackageId,
searchCondition:opts.searchCondition, searchCondition:opts.searchCondition,
}).then(res=>{ }).then(res=>{
...@@ -257,28 +254,29 @@ ...@@ -257,28 +254,29 @@
}) })
}, },
changeSex(val){ changeSex(val){
console.log(val)
this.getPatientsList({ this.getPatientsList({
sex: val, sex: val,
pageNum: this.paginationSet.pageNum pageNum: this.paginationSet.pageNum
}) })
}, },
changeAge(val){ changeAge(val){
console.log(val) if(val=='年龄范围'){
val = null
}
this.getPatientsList({ this.getPatientsList({
age: val, age: val,
ageBegin: this.ageDate(val).ageBegin,
ageEnd: this.ageDate(val).ageEnd,
pageNum: this.paginationSet.pageNum pageNum: this.paginationSet.pageNum
}) })
}, },
changeDisease(val){ changeDisease(val){
console.log(val)
this.getPatientsList({ this.getPatientsList({
diseaseId: val, diseaseId: val,
pageNum: this.paginationSet.pageNum pageNum: this.paginationSet.pageNum
}) })
}, },
changeLabel(val){ changeLabel(val){
console.log(val)
this.getPatientsList({ this.getPatientsList({
labelId: val, labelId: val,
pageNum: this.paginationSet.pageNum pageNum: this.paginationSet.pageNum
......
...@@ -202,7 +202,8 @@ ...@@ -202,7 +202,8 @@
nextClick(formName) { nextClick(formName) {
this.getTimeNodeList([]); this.getTimeNodeList([]);
//为方便调试,不做校验 //为方便调试,不做校验
// this.activeTab = 'second'; this.activeTab = 'second';
//用作校验 //用作校验
if(!this.baseInfo.hasSelectedNum) { if(!this.baseInfo.hasSelectedNum) {
this.noChoice = true this.noChoice = true
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册