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

协议二期修改履约弹层文案以及增加协议名称字段

上级 ce44cd2a
...@@ -241,11 +241,11 @@ html,body{ ...@@ -241,11 +241,11 @@ html,body{
padding: 25px 25px 10px; padding: 25px 25px 10px;
} }
&-tips-1 { &-tips-1 {
margin-top: 0px; margin-top: 0px;
} }
&-tips-2 { &-tips-2 {
margin-top: 20px; margin-top: 20px;
font-size: 12px; //font-size: 12px;
color: #aaa; color: #aaa;
} }
&-tips-3 { &-tips-3 {
......
...@@ -23,7 +23,7 @@ export const envConfig = { ...@@ -23,7 +23,7 @@ export const envConfig = {
followUpSCSoSo: 'http://sosoapi.yunqueyi.com/sosoapi-web/pass/mock/73', followUpSCSoSo: 'http://sosoapi.yunqueyi.com/sosoapi-web/pass/mock/73',
// followUpSC: 'https://uat-sc.yunqueyi.com', // followUpSC: 'https://uat-sc.yunqueyi.com',
followUpSC: 'https://dev-sc.yunqueyi.com', followUpSC: 'https://dev-sc.yunqueyi.com',
saasDomainUrl: 'https://uat-saas.yunqueyi.com/', saasDomainUrl: 'https://dev-saas.yunqueyi.com/',
workApiUrl: 'https://uat-work.yunqueyi.com/web', workApiUrl: 'https://uat-work.yunqueyi.com/web',
workApiSrc: 'https://uat-work.yunqueyi.com', workApiSrc: 'https://uat-work.yunqueyi.com',
// reportUrl: 'http://10.177.15.150:10401/', // reportUrl: 'http://10.177.15.150:10401/',
......
...@@ -40,17 +40,17 @@ ...@@ -40,17 +40,17 @@
<!-- 敏感词及协议校验 --> <!-- 敏感词及协议校验 -->
<div v-if="!showThisPage && isShowProtocolDialog"> <div v-if="!showThisPage && isShowProtocolDialog">
<el-dialog class="prot-dialog" title="" :visible.sync="isShowProtocolDialog" width="30%" center :show-close=false :close-on-click-modal="false" :close-on-press-escape="false"> <el-dialog class="prot-dialog" title="提醒" :visible.sync="isShowProtocolDialog" width="30%" center :show-close=false :close-on-click-modal="false" :close-on-press-escape="false">
<p class="prot-dialog-tips-1">您选择的居民中有部分居民尚未同意《云鹊平台隐私协议》,将导致履约量表部分信息无法录入,为了方便您的工作开展,请您发送短信提醒未授权居民完成授权</p> <p class="prot-dialog-tips-1">您选择的居民中有部分居民尚未同意《云鹊平台隐私政策》、《知情同意书》,将导致履约量表部分信息无法录入,为了方便您的工作开展,请您发送短信提醒居民完成授权</p>
<p v-show="!isSentedProt" class="prot-dialog-tips-2">若您选择暂不发送,您只能录入量表的非敏感信息</p> <p class="prot-dialog-tips-2">注:为避免打扰居民,7天内只能发送1次,您已经发送过的居民将不再发送</p>
<p v-show="isSentedProt" class="prot-dialog-tips-3">为避免打扰居民,7天内只能发送1次,您已发送过短信,请尽快联系居民同意授权</p> <!--<p v-show="isSentedProt" class="prot-dialog-tips-3">为避免打扰居民,7天内只能发送1次,您已发送过短信,请尽快联系居民同意授权</p>-->
<span v-show="!isSentedProt" slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="closeProtocolDialog"> 暂不发送 </el-button> <el-button size="small" @click="closeProtocolDialog"> 暂不发送 </el-button>
<el-button size="small" type="primary" @click="sendMsg"> 发送短信 </el-button> <el-button size="small" type="primary" @click="sendMsg"> 发送短信 </el-button>
</span> </span>
<span v-show="isSentedProt" slot="footer" class="dialog-footer"> <!--<span v-show="isSentedProt" slot="footer" class="dialog-footer">-->
<el-button size="small" type="primary" @click="closeProtocolDialog"> 我知道了 </el-button> <!--<el-button size="small" type="primary" @click="closeProtocolDialog"> 我知道了 </el-button>-->
</span> <!--</span>-->
</el-dialog> </el-dialog>
</div> </div>
...@@ -185,14 +185,16 @@ ...@@ -185,14 +185,16 @@
// this.$emit('closeAddPatientTime',false) // this.$emit('closeAddPatientTime',false)
// this.isShowProtocolDialog = false; // this.isShowProtocolDialog = false;
// this.jumpToAddOrModifyPlan(); // this.jumpToAddOrModifyPlan();
} else if (levelType === 3) { } else if (levelType === 3 || levelType === 4) {
this.isShowProtocolDialog = true;
this.isSentedProt = true;
} else if (levelType === 4) {
this.isShowProtocolDialog = true; this.isShowProtocolDialog = true;
this.isSentedProt = false;
this.sendMsgPatientIds = result.data.ids; this.sendMsgPatientIds = result.data.ids;
// this.isSentedProt = true;
} }
// else if (levelType === 4) {
// this.isShowProtocolDialog = true;
// this.isSentedProt = false;
// this.sendMsgPatientIds = result.data.ids;
// }
} }
}); });
}, },
...@@ -202,7 +204,8 @@ ...@@ -202,7 +204,8 @@
authMessage({ patientIds: this.sendMsgPatientIds }).then(res => { authMessage({ patientIds: this.sendMsgPatientIds }).then(res => {
if (res.code === '000000') { if (res.code === '000000') {
this.$message({ this.$message({
message: '已发送,请尽快联系居民同意授权', // message: '已发送,请尽快联系居民同意授权',
message: '短信发送成功',
type: 'success' type: 'success'
}); });
this.$emit('closeAddPatientTime',false) this.$emit('closeAddPatientTime',false)
......
...@@ -107,17 +107,17 @@ ...@@ -107,17 +107,17 @@
@continueAdd="continueAdd" @continueAdd="continueAdd"
/> />
<!-- 敏感词及协议校验 --> <!-- 敏感词及协议校验 -->
<el-dialog class="prot-dialog" title="" :visible.sync="isShowProtocolDialog" width="30%" center :show-close=false> <el-dialog class="prot-dialog" title="提醒" :visible.sync="isShowProtocolDialog" width="30%" center :show-close=false>
<p class="prot-dialog-tips-1">您选择的居民中有部分居民尚未同意《云鹊平台隐私协议》,将导致履约量表部分信息无法录入,为了方便您的工作开展,请您发送短信提醒未授权居民完成授权</p> <p class="prot-dialog-tips-1">您选择的居民中有部分居民尚未同意《云鹊平台隐私政策》、《知情同意书》,将导致履约量表部分信息无法录入,为了方便您的工作开展,请您发送短信提醒居民完成授权</p>
<p v-show="!isSentedProt" class="prot-dialog-tips-2">若您选择暂不发送,您只能录入量表的非敏感信息</p> <p class="prot-dialog-tips-2">注:为避免打扰居民,7天内只能发送1次,您已经发送过的居民将不再发送</p>
<p v-show="isSentedProt" class="prot-dialog-tips-3">为避免打扰居民,7天内只能发送1次,您已发送过短信,请尽快联系居民同意授权</p> <!--<p v-show="isSentedProt" class="prot-dialog-tips-3">为避免打扰居民,7天内只能发送1次,您已发送过短信,请尽快联系居民同意授权</p>-->
<span v-show="!isSentedProt" slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="isShowProtocolDialog = false"> 暂不发送 </el-button> <el-button size="small" @click="isShowProtocolDialog = false"> 暂不发送 </el-button>
<el-button size="small" type="primary" @click="sendMsgToPatients"> 发送短信 </el-button> <el-button size="small" type="primary" @click="sendMsgToPatients"> 发送短信 </el-button>
</span> </span>
<span v-show="isSentedProt" slot="footer" class="dialog-footer"> <!--<span v-show="isSentedProt" slot="footer" class="dialog-footer">-->
<el-button size="small" type="primary" @click="isShowProtocolDialog = false"> 我知道了 </el-button> <!--<el-button size="small" type="primary" @click="isShowProtocolDialog = false"> 我知道了 </el-button>-->
</span> <!--</span>-->
</el-dialog> </el-dialog>
</div> </div>
...@@ -225,14 +225,16 @@ ...@@ -225,14 +225,16 @@
// 没有敏感字段或者居民已经签订过协议,则直接返回 // 没有敏感字段或者居民已经签订过协议,则直接返回
if (levelType === 1 || levelType === 2) { if (levelType === 1 || levelType === 2) {
// return; // return;
} else if (levelType === 3) { } else if (levelType === 3 || levelType === 4) {
this.isShowProtocolDialog = true;
this.isSentedProt = true;
} else if (levelType === 4) {
this.isShowProtocolDialog = true; this.isShowProtocolDialog = true;
this.isSentedProt = false; // this.isSentedProt = true;
this.sendMsgPatientIds = result.data.ids; this.sendMsgPatientIds = result.data.ids;
} }
// else if (levelType === 4) {
// this.isShowProtocolDialog = true;
// this.isSentedProt = false;
// this.sendMsgPatientIds = result.data.ids;
// }
} }
}); });
}, },
...@@ -242,7 +244,8 @@ ...@@ -242,7 +244,8 @@
authMessage({ patientIds: this.sendMsgPatientIds }).then(res => { authMessage({ patientIds: this.sendMsgPatientIds }).then(res => {
if (res.code === '000000') { if (res.code === '000000') {
this.$message({ this.$message({
message: '已发送,请尽快联系居民同意授权', // message: '已发送,请尽快联系居民同意授权',
message: '短信发送成功',
type: 'success' type: 'success'
}); });
} }
......
...@@ -144,28 +144,30 @@ ...@@ -144,28 +144,30 @@
<!-- 协议提醒 --> <!-- 协议提醒 -->
<el-dialog <el-dialog
class="prot-dialog" class="prot-dialog"
title title="提醒"
:visible.sync="isShowProtocolDialog1" :visible.sync="isShowProtocolDialog1"
width="30%" width="30%"
center center
:show-close="false" :show-close="false"
> >
<p class="prot-dialog-tips-1">根据相关规定,在您开展履约之前,需要居民授权同意《云鹊平台隐私协议》,否则将导致履约量表部分信息无法录入</p> <p class="prot-dialog-tips-1">根据相关规定,在您开展履约项目前,需要居民授权同意《云鹊平台隐私政策》与《知情同意书》,否则将导致履约量表敏感信息无法录入</p>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" type="primary" @click="isShowProtocolDialog1 = false">我知道了</el-button> <el-button size="small" type="primary" @click="isShowProtocolDialog1 = false">我知道了</el-button>
</span> </span>
</el-dialog> </el-dialog>
<!-- 敏感词及协议校验 --> <!-- 敏感词及协议校验 -->
<el-dialog class="prot-dialog" title="" :visible.sync="isShowProtocolDialog" width="30%" center :show-close=false> <el-dialog class="prot-dialog" title="提醒" :visible.sync="isShowProtocolDialog" width="30%" center :show-close=false>
<p class="prot-dialog-tips-1">由于该居民尚未同意《云鹊平台隐私协议》,将导致履约量表部分信息无法录入,为了方便您的工作开展,请您发送短信提醒居民完成授权</p> <p class="prot-dialog-tips-1">由于该居民尚未同意{{protocolsStr}},将导致履约量表敏感信息暂时无法录入。<span v-show="!isSentedProt">为了方便您的工作开展,请您发送短信提醒居民完成授权。</span></p>
<p v-show="!isSentedProt" class="prot-dialog-tips-2">若您选择暂不发送,您只能录入量表的非敏感信息</p> <p v-show="!isSentedProt" class="prot-dialog-tips-1">是否发送短信提醒居民?</p>
<p v-show="isSentedProt" class="prot-dialog-tips-3">为避免打扰居民,7天内只能发送1次,您已发送过短信,请尽快联系居民同意授权</p> <p v-show="isSentedProt" class="prot-dialog-tips-2">您已发送短信提醒该居民同意授权。继续录入,您只能录入量表的非敏感信息。</p>
<span v-show="!isSentedProt" slot="footer" class="dialog-footer"> <span v-show="!isSentedProt" slot="footer" class="dialog-footer">
<el-button size="small" @click="closeProtocolDialog"> 暂不发送 </el-button> <el-button size="small" @click="closeProtocolDialog"> 暂不发送 </el-button>
<el-button size="small" type="primary" @click="sendMsg"> 发送短信 </el-button> <el-button size="small" type="primary" @click="sendMsg"> 发送短信 </el-button>
</span> </span>
<span v-show="isSentedProt" slot="footer" class="dialog-footer"> <span v-show="isSentedProt" slot="footer" class="dialog-footer">
<el-button size="small" type="primary" @click="closeProtocolDialog"> 我知道了 </el-button> <!--<el-button size="small" type="primary" @click="closeProtocolDialog"> 我知道了 </el-button>-->
<el-button size="small" @click="closeProtocolDialog"> 继续录入 </el-button>
<el-button size="small" type="primary" @click="isShowProtocolDialog = false"> 暂不录入 </el-button>
</span> </span>
</el-dialog> </el-dialog>
</div> </div>
...@@ -218,6 +220,7 @@ export default { ...@@ -218,6 +220,7 @@ export default {
scaleNo: '', scaleNo: '',
patientIds: [], patientIds: [],
sendMsgPatientIds: [], sendMsgPatientIds: [],
protocolsStr: '',
}; };
}, },
computed: { computed: {
...@@ -428,6 +431,10 @@ export default { ...@@ -428,6 +431,10 @@ export default {
// 请求成功 // 请求成功
if (result.code === '000000') { if (result.code === '000000') {
let levelType = result.data.levelType; let levelType = result.data.levelType;
let protocols = result.data.protocols; //该居民未同意的隐私协议
if(protocols && protocols.length > 0) {
this.protocolsStr = protocols.join('、');
}
// 没有敏感字段或者居民已经签订过协议,则直接返回 // 没有敏感字段或者居民已经签订过协议,则直接返回
if (levelType === 1 || levelType === 2) { if (levelType === 1 || levelType === 2) {
this.jumpToScale(); this.jumpToScale();
...@@ -448,7 +455,8 @@ export default { ...@@ -448,7 +455,8 @@ export default {
authMessage({ patientIds: this.sendMsgPatientIds }).then(res => { authMessage({ patientIds: this.sendMsgPatientIds }).then(res => {
if (res.code === '000000') { if (res.code === '000000') {
this.$message({ this.$message({
message: '已发送,请尽快联系居民同意授权', // message: '已发送,请尽快联系居民同意授权',
message: '短信发送成功',
type: 'success' type: 'success'
}); });
} }
......
...@@ -117,16 +117,18 @@ ...@@ -117,16 +117,18 @@
</el-dialog> </el-dialog>
<!-- 敏感词及协议校验 --> <!-- 敏感词及协议校验 -->
<el-dialog class="prot-dialog" title="" :visible.sync="isShowProtocolDialog" width="30%" center :show-close=false> <el-dialog class="prot-dialog" title="提醒" :visible.sync="isShowProtocolDialog" width="30%" center :show-close=false>
<p class="prot-dialog-tips-1">由于该居民尚未同意《云鹊平台隐私协议》,将导致履约量表部分信息无法录入,为了方便您的工作开展,请您发送短信提醒居民完成授权</p> <p class="prot-dialog-tips-1">由于该居民尚未同意{{protocolsStr}},将导致履约量表敏感信息暂时无法录入。<span v-show="!isSentedProt">为了方便您的工作开展,请您发送短信提醒居民完成授权。</span></p>
<p v-show="!isSentedProt" class="prot-dialog-tips-2">若您选择暂不发送,您只能录入量表的非敏感信息</p> <p v-show="!isSentedProt" class="prot-dialog-tips-1">是否发送短信提醒居民?</p>
<p v-show="isSentedProt" class="prot-dialog-tips-3">为避免打扰居民,7天内只能发送1次,您已发送过短信,请尽快联系居民同意授权</p> <p v-show="isSentedProt" class="prot-dialog-tips-2">您已发送短信提醒该居民同意授权。继续录入,您只能录入量表的非敏感信息。</p>
<span v-show="!isSentedProt" slot="footer" class="dialog-footer"> <span v-show="!isSentedProt" slot="footer" class="dialog-footer">
<el-button size="small" @click="closeProtocolDialog"> 暂不发送 </el-button> <el-button size="small" @click="closeProtocolDialog"> 暂不发送 </el-button>
<el-button size="small" type="primary" @click="sendMsg"> 发送短信 </el-button> <el-button size="small" type="primary" @click="sendMsg"> 发送短信 </el-button>
</span> </span>
<span v-show="isSentedProt" slot="footer" class="dialog-footer"> <span v-show="isSentedProt" slot="footer" class="dialog-footer">
<el-button size="small" type="primary" @click="closeProtocolDialog"> 我知道了 </el-button> <!--<el-button size="small" type="primary" @click="closeProtocolDialog"> 我知道了 </el-button>-->
<el-button size="small" @click="closeProtocolDialog"> 继续录入 </el-button>
<el-button size="small" type="primary" @click="isShowProtocolDialog = false"> 暂不录入 </el-button>
</span> </span>
</el-dialog> </el-dialog>
</div> </div>
...@@ -168,6 +170,7 @@ export default { ...@@ -168,6 +170,7 @@ export default {
scaleNo: '', scaleNo: '',
patientIds: [], patientIds: [],
sendMsgPatientIds: [], sendMsgPatientIds: [],
protocolsStr: '',
}; };
}, },
created() { created() {
...@@ -243,6 +246,17 @@ export default { ...@@ -243,6 +246,17 @@ export default {
});*/ });*/
postTrace('ACTION_WEB_ENTER', `${window.location.href}`); postTrace('ACTION_WEB_ENTER', `${window.location.href}`);
}, },
changeTodayPlansList(status) {
if(status == 0) {
vm.planBtn = true
} else {
vm.planBtn = false
}
vm.getTodayPlansList({
status: status
});
},
changeTodayAppointsList(status) { changeTodayAppointsList(status) {
if (status == 0) { if (status == 0) {
vm.appointBtn = true; vm.appointBtn = true;
...@@ -358,6 +372,10 @@ export default { ...@@ -358,6 +372,10 @@ export default {
// 请求成功 // 请求成功
if (result.code === '000000') { if (result.code === '000000') {
let levelType = result.data.levelType; let levelType = result.data.levelType;
let protocols = result.data.protocols; //该居民未同意的隐私协议
if(protocols && protocols.length > 0) {
this.protocolsStr = protocols.join('、');
}
// 没有敏感字段或者居民已经签订过协议,则直接返回 // 没有敏感字段或者居民已经签订过协议,则直接返回
if (levelType === 1 || levelType === 2) { if (levelType === 1 || levelType === 2) {
this.jumpToScale(); this.jumpToScale();
...@@ -378,7 +396,8 @@ export default { ...@@ -378,7 +396,8 @@ export default {
authMessage({ patientIds: this.sendMsgPatientIds }).then(res => { authMessage({ patientIds: this.sendMsgPatientIds }).then(res => {
if (res.code === '000000') { if (res.code === '000000') {
this.$message({ this.$message({
message: '已发送,请尽快联系居民同意授权', // message: '已发送,请尽快联系居民同意授权',
message: '短信发送成功',
type: 'success' type: 'success'
}); });
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册