From 5c35457d2cc1fd0dcf8de9f3de838d58e8296cb8 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 09 九月 2024 18:26:33 +0800 Subject: [PATCH] 测试完成 --- vue.config.js | 4 +- src/views/followvisit/record/detailpage/index.vue | 2 src/views/followvisit/satisfaction/particulars/index.vue | 2 src/views/outsideChainwt.vue | 44 +++++++++++++++------- src/views/patient/propaganda/QuestionnaireTask.vue | 12 ++++-- 5 files changed, 42 insertions(+), 22 deletions(-) diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue index d145d8a..15292dd 100644 --- a/src/views/followvisit/record/detailpage/index.vue +++ b/src/views/followvisit/record/detailpage/index.vue @@ -15,7 +15,7 @@ <el-table-column prop="sendstate" align="center" label="鏈嶅姟鐘舵��"> </el-table-column> <el-table-column - prop="updateTime" + prop="finishtime" align="center" label="瀹屾垚鏃堕棿" width="200" diff --git a/src/views/followvisit/satisfaction/particulars/index.vue b/src/views/followvisit/satisfaction/particulars/index.vue index 52eb2fe..798e865 100644 --- a/src/views/followvisit/satisfaction/particulars/index.vue +++ b/src/views/followvisit/satisfaction/particulars/index.vue @@ -508,7 +508,7 @@ { 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" }, diff --git a/src/views/outsideChainwt.vue b/src/views/outsideChainwt.vue index ff02544..6d86ebc 100644 --- a/src/views/outsideChainwt.vue +++ b/src/views/outsideChainwt.vue @@ -19,6 +19,7 @@ @change="handleOptionChange($event, index, item)" > <el-radio + border v-for="(items, index) in item.svyLibTemplateTargetoptions" :key="index" :label="items.optioncontent" @@ -41,6 +42,7 @@ @change="updateScore($event, index, item)" > <el-checkbox + border @change="$forceUpdate()" v-for="(items, indexs) in item.svyLibTemplateTargetoptions" :key="indexs" @@ -80,9 +82,18 @@ </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 @@ -111,9 +122,9 @@ patid: 265823, questionList: null, revisitAfter: null, - dialogVisible:false, + dialogVisible: false, Endornot: true, - accomplish:true, + accomplish: true, // 鍓嶇鍏挜 publicKey: "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKR0yHv0rbJWQE+Sc7/FwpW66qMd9qX2k6z+SDgkSdxWh/1GbBoAP7bDQQRF6vXmoKsD2ya42H6XRLSDXAoayuMCAwEAAQ== ", @@ -155,7 +166,7 @@ (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) { @@ -223,9 +234,9 @@ 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("鎻愪氦鎴愬姛"); } }); @@ -288,7 +299,8 @@ <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; @@ -307,9 +319,9 @@ } } .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), @@ -323,13 +335,17 @@ } } ::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> diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue index 7259f01..a08b14c 100644 --- a/src/views/patient/propaganda/QuestionnaireTask.vue +++ b/src/views/patient/propaganda/QuestionnaireTask.vue @@ -562,6 +562,7 @@ getlibrarylist, getFollowuplist, getQtemplatelist, + getQtemplateobj, TaskQuestioncomit, Questionnairetaskget, gethetaskinfo, @@ -1028,9 +1029,13 @@ 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) { @@ -1041,9 +1046,8 @@ 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; } diff --git a/vue.config.js b/vue.config.js index 6474684..60e2b6f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,9 +35,9 @@ 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]: '' -- Gitblit v1.9.3