提交 7b869072 编写于 作者: 张磊's avatar 张磊

del herui time

上级 bc3d7682
#!/bin/bash
hasGit=`which git` # 判断是否存在git
msg=${1:-'auto commit'} # 获取终端输入的第一个参数,若为空则为auto commit
if [ ! $hasGit ];then
echo 'Please download git first!';
exit 1;
else
git remote update
git fetch --all
result=`git symbolic-ref --short -q HEAD` # 获取分支名
current_id=`git log -n 1 origin/release --pretty=format:"%H"`
git reset --soft $current_id
git add .
git commit -m "$msg"
echo "curBranch $result"
git push origin -f $result # 提交代码到github(修改了远程项目名)
fi
\ No newline at end of file
此差异已折叠。
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
"img-md5": "pica-cli-service img-md5", "img-md5": "pica-cli-service img-md5",
"page": "vue-cli-service page", "page": "vue-cli-service page",
"skeleton": "pica-cli-service skeleton", "skeleton": "pica-cli-service skeleton",
"tinypng": "pica-cli-service tinypng" "tinypng": "pica-cli-service tinypng",
"push": "bash gitPush.sh"
}, },
"dependencies": { "dependencies": {
"@fullcalendar/core": "^5.10.0", "@fullcalendar/core": "^5.10.0",
...@@ -50,8 +51,8 @@ ...@@ -50,8 +51,8 @@
"@babel/plugin-proposal-object-rest-spread": "^7.11.0", "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@pica-cli/pica-cli-framework": "^1.0.10", "@pica-cli/pica-cli-framework": "^1.0.10",
"@pica-cli/vue-cli-plugin-pica-cli-plugin": "1.1.5", "@pica-cli/vue-cli-plugin-pica-cli-plugin": "1.1.5",
"@pica-core/multiple-versions-plugin": "^1.0.4", "@pica-core/multiple-versions-plugin": "^1.0.16",
"@pica-core/reset-pathfile-plugin": "^1.0.4", "@pica-core/reset-pathfile-plugin": "^1.0.16",
"@pica-core/web-buried-point": "^1.0.15", "@pica-core/web-buried-point": "^1.0.15",
"@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-plugin-eslint": "~4.5.0",
...@@ -111,10 +112,6 @@ ...@@ -111,10 +112,6 @@
"eslint --fix", "eslint --fix",
"git add" "git add"
], ],
"src/**/*.{vue,html,css,scss,sass}": [
"stylelint --fix",
"git add"
],
"src/**/*.{js,vue,html,css,scss,sass}": [ "src/**/*.{js,vue,html,css,scss,sass}": [
"prettier-eslint --write", "prettier-eslint --write",
"git add" "git add"
......
...@@ -555,7 +555,7 @@ ...@@ -555,7 +555,7 @@
{{ {{
formData.receptionServiceFeeStr formData.receptionServiceFeeStr
? `¥ ${formData.receptionServiceFeeStr}` ? `¥ ${formData.receptionServiceFeeStr}`
: "" : ''
}} }}
</el-form-item> </el-form-item>
<el-form-item <el-form-item
...@@ -577,7 +577,7 @@ ...@@ -577,7 +577,7 @@
{{ {{
formData.assistantServiceFeeStr formData.assistantServiceFeeStr
? `¥ ${formData.assistantServiceFeeStr}` ? `¥ ${formData.assistantServiceFeeStr}`
: "" : ''
}} }}
</el-form-item> </el-form-item>
<el-form-item <el-form-item
...@@ -655,9 +655,36 @@ ...@@ -655,9 +655,36 @@
<upload-img <upload-img
ref="imgComponent" ref="imgComponent"
:is-disable="editorType == 2" :is-disable="editorType == 2"
:img-list="formData.illnessImageUrls" :img-list="
formData.illnessImageUrls.filter((i) => {
i && !i.url.includes('.pdf');
})
"
/> />
</el-form-item> </el-form-item>
<el-form-item label="检测报告">
<div
v-for="item in formData.illnessPdfUrls"
:key="item.name"
class="pdf-wrap"
@click="openPdf(item)"
>
<div class="left">
<img src="../../../assets/image/pdf@2x.png">
</div>
<div class="right">
<div>
<p class="bold">
{{ item.name }}
</p>
<p>{{ (item.size / 1024).toFixed(2) }}k</p>
</div>
<div>
查看详情 <i class="el-icon-arrow-right el-icon--right" />
</div>
</div>
</div>
</el-form-item>
<el-form-item <el-form-item
label="诊断建议" label="诊断建议"
prop="diagnoseAdvice" prop="diagnoseAdvice"
...@@ -685,13 +712,13 @@ ...@@ -685,13 +712,13 @@
> >
{{ {{
diagnoseLogId + diagnoseLogId +
"_" + '_' +
item.name + item.name +
"_" + '_' +
formData.doctorName + formData.doctorName +
"_" + '_' +
formData.doctorDepartment + formData.doctorDepartment +
".mp4" '.mp4'
}} }}
</el-link> </el-link>
</el-form-item> </el-form-item>
...@@ -921,7 +948,7 @@ ...@@ -921,7 +948,7 @@
align="center" align="center"
> >
<el-button @click="cancle"> <el-button @click="cancle">
{{ editorType == 1 ? "取消" : "返回" }} {{ editorType == 1 ? '取消' : '返回' }}
</el-button> </el-button>
<el-button <el-button
v-if="editorType == 1" v-if="editorType == 1"
...@@ -950,7 +977,12 @@ ...@@ -950,7 +977,12 @@
FOLLW_LIST, FOLLW_LIST,
} from '@/utils/constants'; } from '@/utils/constants';
import { getBirth } from '@/utils/index'; import { getBirth } from '@/utils/index';
import { getAdminDiagnose, getDoctorList, getDiagnoseLog, diagnoseUpdate } from '@/api/diagnosis'; import {
getAdminDiagnose,
getDoctorList,
getDiagnoseLog,
diagnoseUpdate,
} from '@/api/diagnosis';
const PAY_TYPE = { const PAY_TYPE = {
1: '自动付款', 1: '自动付款',
...@@ -1199,6 +1231,12 @@ ...@@ -1199,6 +1231,12 @@
getAssistantPayType() { getAssistantPayType() {
return PAY_TYPE[this.formData.assistantPayType]; return PAY_TYPE[this.formData.assistantPayType];
}, },
illnessImageUrls() {
const m = this.formData.illnessImageUrls.filter((i) => {
console.log('---', i);
});
return m;
},
}, },
created() { created() {
this.editorType = this.$route.query.editorType; this.editorType = this.$route.query.editorType;
...@@ -1227,6 +1265,10 @@ ...@@ -1227,6 +1265,10 @@
this.formData.illnessImageUrls this.formData.illnessImageUrls
); );
} }
console.log(
'this.formData.illnessImageUrls',
this.formData.illnessImageUrls
);
if (!this.formData.illnessAudioUrls) { if (!this.formData.illnessAudioUrls) {
this.formData.illnessAudioUrls = []; this.formData.illnessAudioUrls = [];
} else { } else {
...@@ -1257,7 +1299,7 @@ ...@@ -1257,7 +1299,7 @@
getDoctorList() { getDoctorList() {
this.loading = true; this.loading = true;
getDoctorList({ getDoctorList({
diagnoseType:this.formData.diagnoseType diagnoseType: this.formData.diagnoseType,
}) })
.then((res) => { .then((res) => {
this.loading = false; this.loading = false;
...@@ -1274,7 +1316,7 @@ ...@@ -1274,7 +1316,7 @@
}, },
queryOperationLogs() { queryOperationLogs() {
getDiagnoseLog({ getDiagnoseLog({
id:this.diagnoseLogId id: this.diagnoseLogId,
}) })
.then((res) => { .then((res) => {
if (res.code == '000000') { if (res.code == '000000') {
...@@ -1388,7 +1430,6 @@ ...@@ -1388,7 +1430,6 @@
this.btnDisable = false; this.btnDisable = false;
this.loading = false; this.loading = false;
}); });
}); });
}, },
// 格式话音频/视频数组 // 格式话音频/视频数组
...@@ -1399,7 +1440,9 @@ ...@@ -1399,7 +1440,9 @@
}); });
return newArr; return newArr;
}, },
openPdf(item) {
window.open(item.url);
},
}, },
}; };
</script> </script>
...@@ -1441,5 +1484,39 @@ ...@@ -1441,5 +1484,39 @@
padding: 40px 0 60px; padding: 40px 0 60px;
margin: 0 auto; margin: 0 auto;
} }
.pdf-wrap {
display: flex;
align-items: center;
width: 693px;
height: 68px;
background: #f5f6f8;
border-radius: 12px;
padding: 16px;
margin-top: 10px;
.left {
width: 38px;
height: 38px;
img {
width: 100%;
height: 100%;
}
}
.right {
height: 38px;
width: 100%;
justify-content: space-between;
margin-left: 10px;
display: flex;
align-items: center;
color: #aaaaaa;
font-size: 14px;
.bold {
color: #1a1a1a;
}
p {
line-height: 1.5;
}
}
}
} }
</style> </style>
...@@ -71,7 +71,7 @@ module.exports = { ...@@ -71,7 +71,7 @@ module.exports = {
port: 8080, port: 8080,
proxy: { proxy: {
'/proxy': { '/proxy': {
target: 'https://dev-sc.yunqueyi.com/', target: 'https://test1-sc.yunqueyi.com/',
ws: false, ws: false,
changeOrigin: true, changeOrigin: true,
secure: true, secure: true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册