Commit 6947f37f authored by 小费同学阿's avatar 小费同学阿 💬

Merge remote-tracking branch 'origin/master'

parents 45329adc 25620231
...@@ -171,10 +171,10 @@ ...@@ -171,10 +171,10 @@
</div> </div>
<div v-if="scope.row.articleStatus==='1'"> <div v-if="scope.row.articleStatus==='1'">
<el-button <el-button
:id="'removeArticle' + scope.$index"
key="1" key="1"
v-hasPermi="['business:article:remove']" v-hasPermi="['business:article:remove']"
icon="el-icon-delete" icon="el-icon-delete"
:id="'removeArticle' + scope.$index"
plain plain
size="mini" size="mini"
class="el-button--error--solid" class="el-button--error--solid"
......
...@@ -358,7 +358,7 @@ ...@@ -358,7 +358,7 @@
<span v-else>-</span> <span v-else>-</span>
</div> </div>
<div v-else> <div v-else>
<span style="color:#5bb647 ">出院</span> <span style="color:#DB4747 ">出院</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -667,7 +667,7 @@ export default { ...@@ -667,7 +667,7 @@ export default {
} }
this.checkDetail.shadowReport = this.videoReport this.checkDetail.shadowReport = this.videoReport
this.checkDetail.reportTime = parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}') this.checkDetail.reportTime = parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
this.checkDetail.payTime = parseTime(this.checkDetail.payTime, '{y}-{m}-{d}') this.checkDetail.payTime = parseTime(this.checkDetail.payTime, '{y}-{m}-{d} {h}:{i}')
this.checkDetail.createTime = parseTime(this.checkDetail.createTime, '{y}/{m}/{d} {h}:{i}:{s}') this.checkDetail.createTime = parseTime(this.checkDetail.createTime, '{y}/{m}/{d} {h}:{i}:{s}')
this.checkDetail.checkSchedule = '3' this.checkDetail.checkSchedule = '3'
console.log('点击上传报告后', this.checkDetail) console.log('点击上传报告后', this.checkDetail)
......
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
</el-row> </el-row>
<!-- 第三行:描述 --> <!-- 第三行:描述 -->
<el-row :gutter="41"> <el-row :gutter="41">
<el-col :span="24"> <el-col :span="24" style="margin-left: inherit !important;">
<el-form-item <el-form-item
:ref="'settingList.'+index+'.content'" :ref="'settingList.'+index+'.content'"
label="描述" label="描述"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<div> <div>
<!--宠物图片--> <!--宠物图片-->
<div class="petPicture"> <div class="petPicture">
<ImagePreview :height="150" :src="baseURL+detailInfo.petPicture" :width="150" /> <ImagePreview :height="150" :src="showLogo" :width="150" />
</div> </div>
</div> </div>
</div> </div>
...@@ -583,6 +583,7 @@ import prescribingModle from '@/views/service-management/registration-queue/comp ...@@ -583,6 +583,7 @@ import prescribingModle from '@/views/service-management/registration-queue/comp
import { insertDiagnosis } from '@/api/business/registration' import { insertDiagnosis } from '@/api/business/registration'
import { moneyFormat } from '@/utils' import { moneyFormat } from '@/utils'
import backBtn from '@/components/BackBtn' import backBtn from '@/components/BackBtn'
import petPic from '@/assets/images/default_pet.jpg'
export default { export default {
name: 'RegistrationDetail', name: 'RegistrationDetail',
...@@ -595,6 +596,7 @@ export default { ...@@ -595,6 +596,7 @@ export default {
}, },
data() { data() {
return { return {
defaultImage: petPic,
submiting: false, // 提交按钮loading flag submiting: false, // 提交按钮loading flag
// 进度 // 进度
scheduleKey: { checkSchedule: '', diagnosisTime: '', registrationTime: '', reportTime: '', recipelTime: '' }, scheduleKey: { checkSchedule: '', diagnosisTime: '', registrationTime: '', reportTime: '', recipelTime: '' },
...@@ -730,6 +732,17 @@ export default { ...@@ -730,6 +732,17 @@ export default {
}] }]
} }
}, },
computed: {
/* 展示默认头像的方法 */
showLogo() {
console.log('dadada', this.detailInfo.petPicture)
if (this.detailInfo.petPicture) {
return this.baseURL + this.detailInfo.petPicture
} else {
return this.defaultImage
}
}
},
created() { created() {
console.log('dddddddd', this.$route) console.log('dddddddd', this.$route)
/** 获取详情信息 */ /** 获取详情信息 */
......
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
</el-row> </el-row>
<!-- 第三行:描述 --> <!-- 第三行:描述 -->
<el-row :gutter="41"> <el-row :gutter="41">
<el-col :span="24"> <el-col :span="24" style="margin-left: inherit !important;">
<el-form-item <el-form-item
:ref="'settingList.'+index+'.content'" :ref="'settingList.'+index+'.content'"
label="描述" label="描述"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment