| | |
| | | <el-table-column prop="sendstate" align="center" label="服务状态"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="updateTime" |
| | | prop="finishtime" |
| | | align="center" |
| | | label="完成时间" |
| | | width="200" |
| | |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "联系电话", width: "", prop: "telcode" }, |
| | | { label: "所在科室", width: "", prop: "impTemplate" }, |
| | | { label: "完成时间", width: "", prop: "create_time" }, |
| | | { label: "完成时间", width: "", prop: "finishtime" }, |
| | | { label: "状态", width: "", prop: "sex" }, |
| | | { label: "重复次数", width: "", prop: "update_by" }, |
| | | { label: "任务来源", width: "", prop: "update_by" }, |
| | |
| | | @change="handleOptionChange($event, index, item)" |
| | | > |
| | | <el-radio |
| | | border |
| | | v-for="(items, index) in item.svyLibTemplateTargetoptions" |
| | | :key="index" |
| | | :label="items.optioncontent" |
| | |
| | | @change="updateScore($event, index, item)" |
| | | > |
| | | <el-checkbox |
| | | border |
| | | @change="$forceUpdate()" |
| | | v-for="(items, indexs) in item.svyLibTemplateTargetoptions" |
| | | :key="indexs" |
| | |
| | | </el-form> |
| | | </div> |
| | | <div class="CONTENT" v-else> |
| | | <div class="preview-left" style="margin-top: 100px;"> |
| | | <div style="font-size: 24px;color: #175997; font-weight: 600; margin-bottom: 10px;">感谢您的配合!</div> |
| | | <div style="font-size: 20px;">{{ revisitAfter }}</div> |
| | | <div class="preview-left" style="margin-top: 100px"> |
| | | <div |
| | | style=" |
| | | font-size: 24px; |
| | | color: #175997; |
| | | font-weight: 600; |
| | | margin-bottom: 10px; |
| | | " |
| | | > |
| | | 感谢您的配合! |
| | | </div> |
| | | <div style="font-size: 20px">{{ revisitAfter }}</div> |
| | | </div> |
| | | </div> |
| | | <!-- <el-dialog |
| | |
| | | patid: 265823, |
| | | questionList: null, |
| | | revisitAfter: null, |
| | | dialogVisible:false, |
| | | dialogVisible: false, |
| | | Endornot: true, |
| | | accomplish:true, |
| | | accomplish: true, |
| | | // 前端公钥 |
| | | publicKey: |
| | | "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKR0yHv0rbJWQE+Sc7/FwpW66qMd9qX2k6z+SDgkSdxWh/1GbBoAP7bDQQRF6vXmoKsD2ya42H6XRLSDXAoayuMCAwEAAQ== ", |
| | |
| | | (res) => { |
| | | if (res.code == 200) { |
| | | this.questionList = res.data; |
| | | this.accomplish=res.data.submit |
| | | this.accomplish = res.data.submit; |
| | | if (this.questionList[0]) { |
| | | this.questionList.forEach((item) => { |
| | | if (item.scriptResult && item.scriptType != 2) { |
| | |
| | | Submitaquestionnaire(form).then((res) => { |
| | | if (res.code == 200) { |
| | | if (this.revisitAfter) { |
| | | this.dialogVisible=true |
| | | this.dialogVisible = true; |
| | | } |
| | | this.accomplish=true; |
| | | this.accomplish = true; |
| | | this.$modal.msgSuccess("提交成功"); |
| | | } |
| | | }); |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | .questionnaire { |
| | | background-image: url("../assets/images/chainbackground.jpg"); |
| | | // background-image: url("../assets/images/chainbackground.jpg"); |
| | | background-color: #DDDDDD; |
| | | background-size: cover; |
| | | background-attachment: fixed; /* 保持背景固定 */ |
| | | background-position: center; |
| | |
| | | } |
| | | } |
| | | .preview-left { |
| | | margin: 20px; |
| | | margin: 10px; |
| | | // margin: 20px; |
| | | padding: 30px; |
| | | padding: 10px; |
| | | // background: #ffff; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | |
| | | } |
| | | } |
| | | ::v-deep.el-alert--warning.is-light { |
| | | background-color: #fbf9f3; |
| | | color: #ffba00; |
| | | background-color: #fbf9f3; |
| | | color: #ffba00; |
| | | } |
| | | ::v-deep{ |
| | | ::v-deep { |
| | | .el-alert__title { |
| | | font-size: 18px; |
| | | line-height: 18px; |
| | | } |
| | | } |
| | | ::v-deep.el-radio.el-radio__label { |
| | | font-size: 22px; |
| | | line-height: 2; |
| | | } |
| | | </style> |
| | |
| | | getlibrarylist, |
| | | getFollowuplist, |
| | | getQtemplatelist, |
| | | getQtemplateobj, |
| | | TaskQuestioncomit, |
| | | Questionnairetaskget, |
| | | gethetaskinfo, |
| | |
| | | this.libId = row.svyid; |
| | | this.Tasktemplate = row; |
| | | this.questionList = row.svyTemplateLibScripts; |
| | | getQtemplateobj({ svyid: row.svyid }).then((res) => { |
| | | if (res.code==200) { |
| | | this.questionList = res.rows[0].svyTemplateLibScripts; |
| | | this.previewtf = true; |
| | | } |
| | | }); |
| | | console.log(row.svyTemplateLibScripts); |
| | | |
| | | this.previewtf = true; |
| | | this.previewid = row.svyid; |
| | | this.Variablehandling(row.svyTemplateLibScripts, 1); |
| | | } else if (type == 2) { |
| | |
| | | previewfnmb() { |
| | | console.log(this.form); |
| | | |
| | | getQtemplatelist({ svyid: this.form.libtemplateid }).then((res) => { |
| | | getQtemplateobj({ svyid: this.form.libtemplateid }).then((res) => { |
| | | if (res.code == 200) { |
| | | console.log(); |
| | | this.questionList = res.rows[0].svyTemplateLibScripts; |
| | | this.previewtf = true; |
| | | } |
| | |
| | | proxy: { |
| | | // detail: https://cli.vuejs.org/config/#devserver-proxy |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: `http://192.168.1.10:8095`, |
| | | target: `http://192.168.1.10:8095`, |
| | | // target:`http://localhost:8095`, |
| | | target: `http://192.168.101.135:8095`, |
| | | // target: `http://192.168.101.135:8095`, |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | | ['^' + process.env.VUE_APP_BASE_API]: '' |