|
|
|
@ -19,7 +19,7 @@ |
|
|
|
<span v-text='row.createDeptName'></span> |
|
|
|
<span v-text='row.createDeptName'></span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template slot-scope="{row}" slot="menu"> |
|
|
|
<template slot-scope="{row}" slot="menu"> |
|
|
|
<el-button type="text" @click="handleRegister(row)">修改</el-button> |
|
|
|
<el-button type="text" @click="handleRegister(row)" :disabled="Date.parse(new Date(row.apmDay)) <= selectDay ? true : false">修改</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template slot-scope="scope" slot="menuLeft"> |
|
|
|
<template slot-scope="scope" slot="menuLeft"> |
|
|
|
<el-button type="primary" |
|
|
|
<el-button type="primary" |
|
|
|
@ -237,8 +237,10 @@ export default { |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
if(this.userInfo.role_name !== 'hospital'){ |
|
|
|
if(this.userInfo.role_name !== 'hospital'){ |
|
|
|
// this.isShowHos = true |
|
|
|
// this.isShowHos = true |
|
|
|
|
|
|
|
this.selectDay = new Date().getTime(); |
|
|
|
this.option.column.find(item => item.prop == "hosId").search = true |
|
|
|
this.option.column.find(item => item.prop == "hosId").search = true |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
|
|
|
|
this.selectDay = new Date().getTime() + 3600 * 1000 * 24 * 6 |
|
|
|
// this.isShowHos = false |
|
|
|
// this.isShowHos = false |
|
|
|
this.option.column.find(item => item.prop == "hosId").search = false |
|
|
|
this.option.column.find(item => item.prop == "hosId").search = false |
|
|
|
} |
|
|
|
} |
|
|
|
@ -396,7 +398,9 @@ export default { |
|
|
|
this.activeName = this.tabArr[0].dictValue; |
|
|
|
this.activeName = this.tabArr[0].dictValue; |
|
|
|
this.isNumber = true; |
|
|
|
this.isNumber = true; |
|
|
|
this.isShow = true; |
|
|
|
this.isShow = true; |
|
|
|
this.deptName = '' |
|
|
|
this.isEdit = false |
|
|
|
|
|
|
|
this.deptName = ''; |
|
|
|
|
|
|
|
|
|
|
|
this.tabArr = this.tabArr1 |
|
|
|
this.tabArr = this.tabArr1 |
|
|
|
this.tabArr.map(item =>{ |
|
|
|
this.tabArr.map(item =>{ |
|
|
|
item.addForm={ |
|
|
|
item.addForm={ |
|
|
|
@ -446,7 +450,8 @@ export default { |
|
|
|
// }) |
|
|
|
// }) |
|
|
|
|
|
|
|
|
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.selectDay = new Date().getTime() + 3600 * 1000 * 24 * 7; |
|
|
|
this.selectDay = new Date().getTime() + 3600 * 1000 * 24 * 6; |
|
|
|
|
|
|
|
// console.log(new Date(this.selectDay)) |
|
|
|
this.isShowHos = false |
|
|
|
this.isShowHos = false |
|
|
|
// this.tabArr.map(item =>{ |
|
|
|
// this.tabArr.map(item =>{ |
|
|
|
// // item.addOption.column.find(item1 => item1.prop == "select").display = false |
|
|
|
// // item.addOption.column.find(item1 => item1.prop == "select").display = false |
|
|
|
@ -465,6 +470,7 @@ export default { |
|
|
|
project:row.project, |
|
|
|
project:row.project, |
|
|
|
apmDay:row.apmDay.substr(0,10) |
|
|
|
apmDay:row.apmDay.substr(0,10) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.dayArr = [] |
|
|
|
this.dayArr.push(row.apmDay.substr(0,10)) |
|
|
|
this.dayArr.push(row.apmDay.substr(0,10)) |
|
|
|
examProjectDetail(values).then(res =>{ |
|
|
|
examProjectDetail(values).then(res =>{ |
|
|
|
let data = res.data.data; |
|
|
|
let data = res.data.data; |
|
|
|
@ -480,7 +486,7 @@ export default { |
|
|
|
this.selectDay = new Date().getTime(); |
|
|
|
this.selectDay = new Date().getTime(); |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.isShowHos = false |
|
|
|
this.isShowHos = false |
|
|
|
this.selectDay = new Date().getTime() + 3600 * 1000 * 24 * 7; |
|
|
|
this.selectDay = new Date().getTime() + 3600 * 1000 * 24 * 6; |
|
|
|
// item.addOption.column.find(item => item.prop == "select").display = false |
|
|
|
// item.addOption.column.find(item => item.prop == "select").display = false |
|
|
|
} |
|
|
|
} |
|
|
|
if(item.dictValue == this.activeName){ |
|
|
|
if(item.dictValue == this.activeName){ |
|
|
|
@ -629,13 +635,14 @@ export default { |
|
|
|
type: 'warning', |
|
|
|
type: 'warning', |
|
|
|
customClass:'dialog_box' |
|
|
|
customClass:'dialog_box' |
|
|
|
}).then(() => { |
|
|
|
}).then(() => { |
|
|
|
this.isShow = false; |
|
|
|
this.isShow = true; |
|
|
|
this.title = '放号日期'; |
|
|
|
this.title = '放号日期'; |
|
|
|
this.subtitle = '请选择配置号源投放的具体日期。' |
|
|
|
this.subtitle = '请选择配置号源投放的具体日期。' |
|
|
|
|
|
|
|
this.clickSubmit() |
|
|
|
done() |
|
|
|
// done() |
|
|
|
}).catch(() => { |
|
|
|
}).catch((err) => { |
|
|
|
done() |
|
|
|
console.log(err) |
|
|
|
|
|
|
|
// done() |
|
|
|
}); |
|
|
|
}); |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.dayArr = [] |
|
|
|
this.dayArr = [] |
|
|
|
@ -727,7 +734,7 @@ export default { |
|
|
|
configListVOS = configListVOS.filter(item => item.detailList.length !== 0); |
|
|
|
configListVOS = configListVOS.filter(item => item.detailList.length !== 0); |
|
|
|
values.configListVOS = configListVOS |
|
|
|
values.configListVOS = configListVOS |
|
|
|
} |
|
|
|
} |
|
|
|
// console.log(values) |
|
|
|
console.log(values) |
|
|
|
addExamProject(values).then(res =>{ |
|
|
|
addExamProject(values).then(res =>{ |
|
|
|
console.log(res) |
|
|
|
console.log(res) |
|
|
|
if(res.data.code == 200){ |
|
|
|
if(res.data.code == 200){ |
|
|
|
|