Commit 9fd1640a authored by 陈明豪's avatar 陈明豪

Merge remote-tracking branch 'origin/master'

parents 974df99e ecf4fa06
...@@ -114,6 +114,11 @@ ...@@ -114,6 +114,11 @@
border: 1px solid #5BB647!important; border: 1px solid #5BB647!important;
color: #FFFFFF!important; color: #FFFFFF!important;
} }
&.is-disabled,&.is-disabled:hover,&.is-disabled:focus,&.permi-disabled,&.permi-disabled:hover,&.permi-disabled:focus{
background: #83C374!important;
color: #FFFFFF!important;
border: 1px solid #83C374!important;
}
} }
// 四个字白色按钮 // 四个字白色按钮
.fourWordswhiteBtn{ .fourWordswhiteBtn{
...@@ -192,6 +197,11 @@ ...@@ -192,6 +197,11 @@
color: #FFFFFF!important; color: #FFFFFF!important;
border: 1px solid #55A343!important; border: 1px solid #55A343!important;
} }
&.is-disabled,&.is-disabled:hover,&.is-disabled:focus,&.permi-disabled,&.permi-disabled:hover,&.permi-disabled:focus{
background: #83C374!important;
color: #FFFFFF!important;
border: 1px solid #83C374!important;
}
} }
/** 删除按钮(四个字的删除)样式*/ /** 删除按钮(四个字的删除)样式*/
.delBtn{ .delBtn{
...@@ -276,13 +286,12 @@ ...@@ -276,13 +286,12 @@
} }
/** 权限重写,所未勾选权限按钮的悬浮状态 */ /** 权限重写,所未勾选权限按钮的悬浮状态 */
.permi-disabled { .el-button.is-disabled,.el-button.is-disabled:hover,.el-button.is-disabled:focus,.el-button.permi-disabled,.el-button.permi-disabled:hover,.el-button.permi-disabled:focus {
cursor: not-allowed; cursor: not-allowed;
background: rgba(201,201,201,0.08)!important; background: rgba(201,201,201,0.08)!important;
border: 1px solid #C9C9C9!important; border: 1px solid #C9C9C9!important;
opacity: 1; opacity: 1;
border-radius: 4px!important; border-radius: 4px!important;
font-size: 12px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: 400; font-weight: 400;
color: #C9C9C9!important; color: #C9C9C9!important;
......
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateArticle(this.form).then(response => { updateArticle(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -194,7 +194,7 @@ export default { ...@@ -194,7 +194,7 @@ export default {
// updateArticle(this.form).then(response => { // updateArticle(this.form).then(response => {
// this.$message({ // this.$message({
// type: 'success', // type: 'success',
// message: '修改成功!' // message: '编辑成功!'
// }) // })
// this.goBack() // this.goBack()
// }) // })
...@@ -211,7 +211,7 @@ export default { ...@@ -211,7 +211,7 @@ export default {
// if (valid) { // if (valid) {
// if (this.form.id != null) { // if (this.form.id != null) {
// updateArticle(this.form).then(response => { // updateArticle(this.form).then(response => {
// this.$modal.msgSuccess('修改成功') // this.$modal.msgSuccess('编辑成功')
// this.open = false // this.open = false
// this.getList() // this.getList()
// }) // })
......
...@@ -477,7 +477,7 @@ export default { ...@@ -477,7 +477,7 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateArticle(this.form).then(response => { updateArticle(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -1157,7 +1157,7 @@ export default { ...@@ -1157,7 +1157,7 @@ export default {
}).then(() => { }).then(() => {
updateDevice(form).then(response => { updateDevice(form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.cancel() this.cancel()
console.log('this.form)', form) console.log('this.form)', form)
}) })
......
...@@ -431,7 +431,6 @@ color: #333333;" ...@@ -431,7 +431,6 @@ color: #333333;"
<el-form-item label="诊断结果" prop="diagnosisResult"> <el-form-item label="诊断结果" prop="diagnosisResult">
<el-input <el-input
v-model.trim="detailInfo.diagnosisResult" v-model.trim="detailInfo.diagnosisResult"
show-word-limit
:disabled="!isEdit" :disabled="!isEdit"
maxlength="20" maxlength="20"
:placeholder="isEdit? '请输入诊断结果' : '-'" :placeholder="isEdit? '请输入诊断结果' : '-'"
...@@ -1211,9 +1210,9 @@ color: #333333;" ...@@ -1211,9 +1210,9 @@ color: #333333;"
style="width: 100%; height: 60vh" style="width: 100%; height: 60vh"
scrolling="auto" scrolling="auto"
/> />
<div slot="footer" class="dialog-footer"> <!-- <div slot="footer" class="dialog-footer">-->
<el-button class="queryBtn" @click="closeReportModle">确 定</el-button> <!-- <el-button class="queryBtn" @click="closeReportModle">确 定</el-button>-->
</div> <!-- </div>-->
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
...@@ -1626,7 +1625,7 @@ export default { ...@@ -1626,7 +1625,7 @@ export default {
editRecord(temp).then(res => { editRecord(temp).then(res => {
this.$message({ this.$message({
type: 'success', type: 'success',
message: '修改成功' message: '编辑成功'
}) })
console.log('editRecord', res) console.log('editRecord', res)
this.$router.push('/medical-record-management/index') this.$router.push('/medical-record-management/index')
......
...@@ -487,7 +487,7 @@ export default { ...@@ -487,7 +487,7 @@ export default {
if (valid) { if (valid) {
if (this.form.jobId !== undefined) { if (this.form.jobId !== undefined) {
updateJob(this.form).then(response => { updateJob(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -565,7 +565,7 @@ export default { ...@@ -565,7 +565,7 @@ export default {
if (this.form.roleId !== undefined) { if (this.form.roleId !== undefined) {
this.form.menuIds = this.getMenuAllCheckedKeys() this.form.menuIds = this.getMenuAllCheckedKeys()
updateRole(this.form).then(response => { updateRole(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
...@@ -585,7 +585,7 @@ export default { ...@@ -585,7 +585,7 @@ export default {
if (this.form.roleId !== undefined) { if (this.form.roleId !== undefined) {
this.form.deptIds = this.getDeptAllCheckedKeys() this.form.deptIds = this.getDeptAllCheckedKeys()
dataScope(this.form).then(response => { dataScope(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.openDataScope = false this.openDataScope = false
this.getList() this.getList()
}) })
......
...@@ -338,12 +338,20 @@ ...@@ -338,12 +338,20 @@
<el-table-column align="left" label="操作"> <el-table-column align="left" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
v-if="deviceQueryParams.isPrivate === '0'"
style="color: #5FB54B" style="color: #5FB54B"
type="text" type="text"
@click="handleSubscribeDevice(scope.row)" @click="handleSubscribeDevice(scope.row)"
:disabled="parseInt(currentPayAmount) > parseInt(currentHospital.currentBalance)" :disabled="parseInt(currentPayAmount) > parseInt(currentHospital.currentBalance)"
>立即预约 >立即预约
</el-button> </el-button>
<el-button
v-else
style="color: #5FB54B"
type="text"
@click="handleSubscribeDevice(scope.row)"
>立即预约
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -810,7 +818,7 @@ export default { ...@@ -810,7 +818,7 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateManage(this.form).then(response => { updateManage(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -116,8 +116,8 @@ ...@@ -116,8 +116,8 @@
@pagination="getList" @pagination="getList"
/> />
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button class="queryBtn" @click="choosePet">确 定</el-button>
<el-button class="resetBtn" @click="closeModle">取 消</el-button> <el-button class="resetBtn" @click="closeModle">取 消</el-button>
<el-button class="queryBtn" @click="choosePet">确 定</el-button>
</div> </div>
</el-dialog> </el-dialog>
</template> </template>
...@@ -239,7 +239,7 @@ export default { ...@@ -239,7 +239,7 @@ export default {
this.queryParams = { this.queryParams = {
// 导出列表 // 导出列表
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 6,
petCode: '', petCode: '',
ownerName: '', ownerName: '',
phone: '', phone: '',
...@@ -267,7 +267,7 @@ export default { ...@@ -267,7 +267,7 @@ export default {
this.queryParams = { this.queryParams = {
// 导出列表 // 导出列表
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 6,
petCode: '', petCode: '',
ownerName: '', ownerName: '',
phone: '', phone: '',
......
...@@ -302,7 +302,7 @@ export default { ...@@ -302,7 +302,7 @@ export default {
if (valid) { if (valid) {
if (this.form.configId !== undefined) { if (this.form.configId !== undefined) {
updateConfig(this.form).then(response => { updateConfig(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -312,7 +312,7 @@ export default { ...@@ -312,7 +312,7 @@ export default {
if (valid) { if (valid) {
if (this.form.deptId !== undefined) { if (this.form.deptId !== undefined) {
updateDept(this.form).then(response => { updateDept(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -365,7 +365,7 @@ export default { ...@@ -365,7 +365,7 @@ export default {
if (this.form.dictCode !== undefined) { if (this.form.dictCode !== undefined) {
updateData(this.form).then(response => { updateData(this.form).then(response => {
this.$store.dispatch('dict/removeDict', this.queryParams.dictType) this.$store.dispatch('dict/removeDict', this.queryParams.dictType)
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -305,7 +305,7 @@ export default { ...@@ -305,7 +305,7 @@ export default {
if (valid) { if (valid) {
if (this.form.dictId !== undefined) { if (this.form.dictId !== undefined) {
updateType(this.form).then(response => { updateType(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -424,7 +424,7 @@ export default { ...@@ -424,7 +424,7 @@ export default {
if (valid) { if (valid) {
if (this.form.menuId !== undefined) { if (this.form.menuId !== undefined) {
updateMenu(this.form).then(response => { updateMenu(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -283,7 +283,7 @@ export default { ...@@ -283,7 +283,7 @@ export default {
if (valid) { if (valid) {
if (this.form.noticeId !== undefined) { if (this.form.noticeId !== undefined) {
updateNotice(this.form).then(response => { updateNotice(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -274,7 +274,7 @@ export default { ...@@ -274,7 +274,7 @@ export default {
if (valid) { if (valid) {
if (this.form.postId !== undefined) { if (this.form.postId !== undefined) {
updatePost(this.form).then(response => { updatePost(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -565,7 +565,7 @@ export default { ...@@ -565,7 +565,7 @@ export default {
if (this.form.roleId !== undefined) { if (this.form.roleId !== undefined) {
this.form.menuIds = this.getMenuAllCheckedKeys() this.form.menuIds = this.getMenuAllCheckedKeys()
updateRole(this.form).then(response => { updateRole(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
...@@ -585,7 +585,7 @@ export default { ...@@ -585,7 +585,7 @@ export default {
if (this.form.roleId !== undefined) { if (this.form.roleId !== undefined) {
this.form.deptIds = this.getDeptAllCheckedKeys() this.form.deptIds = this.getDeptAllCheckedKeys()
dataScope(this.form).then(response => { dataScope(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.openDataScope = false this.openDataScope = false
this.getList() this.getList()
}) })
......
...@@ -600,7 +600,7 @@ export default { ...@@ -600,7 +600,7 @@ export default {
inputErrorMessage: '用户密码长度必须介于 5 和 20 之间' inputErrorMessage: '用户密码长度必须介于 5 和 20 之间'
}).then(({ value }) => { }).then(({ value }) => {
resetUserPwd(row.userId, value).then(response => { resetUserPwd(row.userId, value).then(response => {
this.$modal.msgSuccess('修改成功,新密码是:' + value) this.$modal.msgSuccess('编辑成功,新密码是:' + value)
}) })
}).catch(() => {}) }).catch(() => {})
}, },
...@@ -615,7 +615,7 @@ export default { ...@@ -615,7 +615,7 @@ export default {
if (valid) { if (valid) {
if (this.form.userId !== undefined) { if (this.form.userId !== undefined) {
updateUser(this.form).then(response => { updateUser(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
this.$refs['form'].validate(valid => { this.$refs['form'].validate(valid => {
if (valid) { if (valid) {
updateHospital(this.hospital).then(res => { updateHospital(this.hospital).then(res => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
}) })
} }
}) })
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
this.$refs['form'].validate(valid => { this.$refs['form'].validate(valid => {
if (valid) { if (valid) {
updateUserPwd(this.user.oldPassword, this.user.newPassword).then(response => { updateUserPwd(this.user.oldPassword, this.user.newPassword).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
}) })
} }
}) })
......
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
// this.open = false; // this.open = false;
// this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl; // this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl;
// store.commit('SET_AVATAR', this.options.img); // store.commit('SET_AVATAR', this.options.img);
// this.$modal.msgSuccess("修改成功"); // this.$modal.msgSuccess("编辑成功");
// this.visible = false; // this.visible = false;
// }); // });
}) })
......
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
this.$refs['form'].validate(valid => { this.$refs['form'].validate(valid => {
if (valid) { if (valid) {
updateUserProfile(this.user).then(response => { updateUserProfile(this.user).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
}) })
} }
}) })
......
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