提交 c4302eed 编写于 作者: yi.li's avatar yi.li

Merge branch 'dev-followUp-20190312' of...

Merge branch 'dev-followUp-20190312' of 192.168.110.53:com.pica.cloud.education.frontend/pica.cloud.web-education-admin into dev-followUp-20190312
...@@ -174,21 +174,19 @@ ...@@ -174,21 +174,19 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.form-box {
padding: 20px 0px;
}
.sec-title{
float: none;
font-weight: bold;
margin-left: 0;
}
.color-gray{
color: #a7a7a7;
}
</style> </style>
<style lang="scss"> <style lang="scss">
.form-box{ .form-box {
padding: 20px 0px;
.sec-title{
float: none;
font-weight: bold;
margin-left: 0;
}
.color-gray{
color: #a7a7a7;
}
.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before { .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before {
content: '*'; content: '*';
color: #F56C6C; color: #F56C6C;
...@@ -262,13 +260,6 @@ ...@@ -262,13 +260,6 @@
.margin-left-80{ .margin-left-80{
margin-left: 80px; margin-left: 80px;
} }
}
.checkBody{
.el-col{
float: none!important;
}
} }
</style> </style>
...@@ -371,9 +371,9 @@ export const getScaleDetail = (domain,planPatientsTimesId,scaleNo) => { ...@@ -371,9 +371,9 @@ export const getScaleDetail = (domain,planPatientsTimesId,scaleNo) => {
} }
// 提交量表 // 提交量表
export const postScale = ( data ) => { export const postScale = ( domain,data ) => {
return fetch({ return fetch({
url: getFollowUpSC(`/scale/save`), url: `${domain}/scale/save`,
method: 'post', method: 'post',
data: JSON.stringify(data), data: JSON.stringify(data),
}) })
......
...@@ -191,7 +191,6 @@ ...@@ -191,7 +191,6 @@
getDomain().then(res=>{ getDomain().then(res=>{
if(res.code=='000000'){ if(res.code=='000000'){
this.domain = res.data this.domain = res.data
// this.domain='https://dev-sc.yunqueyi.com'
this.getFormModules(); this.getFormModules();
if(this.showBtn!='0'){ if(this.showBtn!='0'){
this.getFormDetail(); this.getFormDetail();
...@@ -276,7 +275,7 @@ ...@@ -276,7 +275,7 @@
this.formData.scaleNo = this.scaleNo; this.formData.scaleNo = this.scaleNo;
this.formData.isLine = 2; this.formData.isLine = 2;
// console.log(JSON.stringify(this.formData)) // console.log(JSON.stringify(this.formData))
postScale(this.formData).then(res=>{ postScale(this.domain,this.formData).then(res=>{
if(res.code=='000000'){ if(res.code=='000000'){
let doMsg = (this.saveWay==1) ? '提交成功' : '保存成功'; let doMsg = (this.saveWay==1) ? '提交成功' : '保存成功';
this.$message({ this.$message({
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册