| | |
| | | data: data |
| | | }); |
| | | } |
| | | // 获取问卷(内) |
| | | export function getsearchrResults(data) { |
| | | return request({ |
| | | url: "/smartor/subtaskAnswer/selectPatQuestionResult", |
| | | method: "post", |
| | | data: data |
| | | }); |
| | | } |
| | |
| | | <div style="margin-top: 15px"> |
| | | <el-input |
| | | placeholder="请输入手机号" |
| | | v-model="form.input3" |
| | | v-model="form.telcode" |
| | | class="input-with-select" |
| | | > |
| | | <el-button slot="append" icon="el-icon-search"></el-button> |
| | |
| | | <div class="Followupdetailspage"> |
| | | <div class="Followuserinfo"> |
| | | <div> |
| | | <div class="userinfo-text">{{ sendname }}<span>患者服务详情详情</span> |
| | | <div class="userinfo-text"> |
| | | {{ sendname }}<span>患者服务详情</span> |
| | | <!-- <el-button type="success">随访后短信</el-button> --> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <el-table :data="logsheetlist" style="width: 100%"> |
| | | <el-table-column |
| | | prop="sendname" |
| | | align="center" |
| | | label="姓名" |
| | | > |
| | | <el-table-column prop="sendname" align="center" label="姓名"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="sendstate" |
| | | align="center" |
| | | label="服务状态" |
| | | > |
| | | <el-table-column prop="sendstate" align="center" label="服务状态"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="updateTime" |
| | |
| | | show-overflow-tooltip |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="taskName" align="center" width="200" |
| | | show-overflow-tooltip label="任务名称"> |
| | | <el-table-column |
| | | prop="taskName" |
| | | align="center" |
| | | width="200" |
| | | show-overflow-tooltip |
| | | label="任务名称" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="templatename" |
| | |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="操作" |
| | | fixed="right" |
| | | align="center" |
| | | width="200" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="Seedetails(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-zx" |
| | | ><i class="el-icon-s-order"></i>查看服务</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | label="操作" |
| | | fixed="right" |
| | | align="center" |
| | | width="200" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="Seedetails(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-zx" |
| | | ><i class="el-icon-s-order"></i>查看服务</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | |
| | | ><i class="el-icon-notebook-1"></i> 问卷随访结果</span |
| | | > |
| | | <div class="CONTENT"> |
| | | <div class="title">{{ taskname ? taskname : "问卷" }}</div> |
| | | <div class="preview-left"> |
| | | <!-- 单选 --> |
| | | <div |
| | | class="topic-dev" |
| | | v-for="(item, index) in tableDatatop" |
| | | :key="item.aaa" |
| | | > |
| | | <div class="scriptTopic-dev" :key="index" v-if="item.scriptType == 1"> |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}、[单选]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-radio-group |
| | | v-model="item.scriptResult" |
| | | @change="handleOptionChange($event, index, item)" |
| | | <div class="title">{{ taskname ? taskname : "问卷" }}</div> |
| | | <div class="preview-left"> |
| | | <!-- 单选 --> |
| | | <div |
| | | class="topic-dev" |
| | | v-for="(item, index) in tableDatatop" |
| | | :key="item.aaa" |
| | | > |
| | | <el-radio |
| | | v-for="(items, index) in item.svyLibTemplateTargetoptions" |
| | | <div |
| | | class="scriptTopic-dev" |
| | | :key="index" |
| | | :label="items.optioncontent" |
| | | >{{ items.optioncontent }}</el-radio |
| | | v-if="item.scriptType == 1" |
| | | > |
| | | </el-radio-group> |
| | | </div> |
| | | <div v-show="item.prompt"> |
| | | <el-alert :title="item.prompt" type="warning"> </el-alert> |
| | | </div> |
| | | </div> |
| | | <!-- 多选 --> |
| | | <div class="scriptTopic-dev" :key="index" v-if="item.scriptType == 2"> |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}、[多选]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-checkbox-group |
| | | v-model="item.scriptResult" |
| | | @change="updateScore($event, index, item)" |
| | | > |
| | | <el-checkbox |
| | | @change="$forceUpdate()" |
| | | v-for="(items, indexs) in item.svyLibTemplateTargetoptions" |
| | | :key="indexs" |
| | | :label="items.optioncontent" |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}、[单选]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-radio-group |
| | | v-model="item.scriptResult" |
| | | @change="handleOptionChange($event, index, item)" |
| | | > |
| | | <el-radio |
| | | v-for="( |
| | | items, index |
| | | ) in item.svyLibTemplateTargetoptions" |
| | | :key="index" |
| | | :label="items.optioncontent" |
| | | >{{ items.optioncontent }}</el-radio |
| | | > |
| | | </el-radio-group> |
| | | </div> |
| | | <div v-show="item.prompt"> |
| | | <el-alert :title="item.prompt" type="warning"> </el-alert> |
| | | </div> |
| | | </div> |
| | | <!-- 多选 --> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | :key="index" |
| | | v-if="item.scriptType == 2" |
| | | > |
| | | {{ items.optioncontent }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </div> |
| | | <div v-show="item.prompt && item.scriptResult[0]"> |
| | | <el-alert :title="item.prompt" type="warning"> </el-alert> |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}、[多选]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-checkbox-group |
| | | v-model="item.scriptResult" |
| | | @change="updateScore($event, index, item)" |
| | | > |
| | | <el-checkbox |
| | | @change="$forceUpdate()" |
| | | v-for="( |
| | | items, indexs |
| | | ) in item.svyLibTemplateTargetoptions" |
| | | :key="indexs" |
| | | :label="items.optioncontent" |
| | | > |
| | | {{ items.optioncontent }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </div> |
| | | <div v-show="item.prompt && item.scriptResult[0]"> |
| | | <el-alert :title="item.prompt" type="warning"> </el-alert> |
| | | </div> |
| | | </div> |
| | | <!-- 填空 --> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | :key="index" |
| | | v-if="item.scriptType == 4" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}、[问答]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请输入答案" |
| | | v-model="item.scriptResult" |
| | | clearable |
| | | > |
| | | </el-input> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- 填空 --> |
| | | <div class="scriptTopic-dev" :key="index" v-if="item.scriptType == 4"> |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}、[问答]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请输入答案" |
| | | v-model="item.scriptResult" |
| | | clearable |
| | | > |
| | | </el-input> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </el-tab-pane> |
| | | <el-tab-pane> |
| | | <span class="mulsz" slot="label" |
| | |
| | | <div class="borderdiv"> |
| | | <div> |
| | | <div class="leftside"> |
| | | <i class="el-icon-phone-outline"></i><span>您今天身体情况怎么样</span> |
| | | <i class="el-icon-phone-outline"></i |
| | | ><span>您今天身体情况怎么样</span> |
| | | </div> |
| | | <div class="offside"> |
| | | <i class="el-icon-user"></i> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | getsearchrResult, |
| | | getTaskservelist, |
| | | |
| | | } from "@/api/AiCentre/index"; |
| | | import { getsearchrResults, getTaskservelist } from "@/api/AiCentre/index"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | userid: "", |
| | | input: "今天身体还不错", |
| | | radio: "2", |
| | | taskname:'', |
| | | tableDatatop: [],//题目表 |
| | | logsheetlist:[], |
| | | sendname:null, |
| | | serviceType:null, |
| | | taskid:null, |
| | | patid:null, |
| | | taskname: "", |
| | | tableDatatop: [], //题目表 |
| | | logsheetlist: [], |
| | | sendname: null, |
| | | serviceType: null, |
| | | taskid: null, |
| | | patid: null, |
| | | }; |
| | | }, |
| | | |
| | | created() { |
| | | this.taskid=this.$route.query.taskid; |
| | | this.sendname=this.$route.query.sendname; |
| | | this.patid=this.$route.query.patid; |
| | | this.serviceType=this.$route.query.serviceType; |
| | | this.getsearchrResult(); |
| | | this.taskid = this.$route.query.taskid; |
| | | this.sendname = this.$route.query.sendname; |
| | | this.patid = this.$route.query.patid; |
| | | this.serviceType = this.$route.query.serviceType; |
| | | this.getsearchrResults(); |
| | | this.getTaskservelist(); |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | // 获取问卷数据 |
| | | getsearchrResult(){ |
| | | getsearchrResult({ |
| | | taskid:this.taskid, |
| | | patid:this.patid, |
| | | getsearchrResults() { |
| | | getsearchrResults({ |
| | | taskid: this.taskid, |
| | | patid: this.patid, |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | this.tableDatatop = res.data.scriptResult.script; |
| | | this.tableDatatop.forEach((item) => { |
| | | if (item.scriptResult && item.scriptType != 2) { |
| | | item.scriptResult = JSON.parse(item.scriptResult); |
| | | } else if (item.scriptResult && item.scriptType == 2) { |
| | | item.scriptResult = item.scriptResult.split("&"); |
| | | } |
| | | }); |
| | | this.taskname = res.data.taskName; |
| | | } |
| | | }); |
| | | }, |
| | | // 获取患者记录 |
| | | getTaskservelist(){ |
| | | getTaskservelist() { |
| | | getTaskservelist({ |
| | | patid:this.patid, |
| | | patid: this.patid, |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.logsheetlist = res.rows; |
| | | } |
| | | }); |
| | | }, |
| | | Seedetails(){}, |
| | | Seedetails() {}, |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | } |
| | | } |
| | | .CONTENT { |
| | | padding: 10px; |
| | | .title { |
| | | font-size: 22px; |
| | | font-weight: bold; |
| | | margin-bottom: 20px; |
| | | text-align: center; |
| | | } |
| | | padding: 10px; |
| | | .title { |
| | | font-size: 22px; |
| | | font-weight: bold; |
| | | margin-bottom: 20px; |
| | | text-align: center; |
| | | } |
| | | .preview-left { |
| | | } |
| | | .preview-left { |
| | | margin: 20px; |
| | | // margin: 20px; |
| | | padding: 30px; |
| | |
| | | { label: "门诊编号", width: "", prop: "name" }, |
| | | { label: "姓名", width: "", prop: "name" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "联系电话", width: "", prop: "name" }, |
| | | { label: "联系电话", width: "", prop: "telcode" }, |
| | | { label: "就诊科室", width: "", prop: "impTemplate" }, |
| | | { label: "诊断", width: "", prop: "name" }, |
| | | { label: "出院时间", width: "", prop: "name" }, |
| | |
| | | { label: "门诊编号", width: "", prop: "name" }, |
| | | { label: "姓名", width: "", prop: "name" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "联系电话", width: "", prop: "name" }, |
| | | { label: "联系电话", width: "", prop: "telcode" }, |
| | | { label: "就诊科室", width: "", prop: "impTemplate" }, |
| | | { label: "诊断", width: "", prop: "name" }, |
| | | { label: "出院时间", width: "", prop: "name" }, |
| | |
| | | { label: "员工编号", width: "", prop: "name" }, |
| | | { label: "姓名", width: "", prop: "name" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "联系电话", width: "", prop: "name" }, |
| | | { label: "联系电话", width: "", prop: "telcode" }, |
| | | { label: "所在科室", width: "", prop: "impTemplate" }, |
| | | { label: "完成时间", width: "", prop: "create_time" }, |
| | | { label: "状态", width: "", prop: "sex" }, |
| | |
| | | <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;">那好的,您说的这些情况我都记下来了,您这边记得要按照医生说的复诊时间来院复查。建议您合理营养,饮食清淡,多吃富含纤维素的食物,避免辛辣刺激性食物,适度的康复锻炼,如散步、踝泵运动等,预防血栓形成。如果有任何不适或疑问,也请随时与我们联系。那本次回访到此结束,祝您身体健康!</div> |
| | | <div style="font-size: 20px;">{{ revisitAfter }}</div> |
| | | </div> |
| | | </div> |
| | | <el-dialog |
| | | <!-- <el-dialog |
| | | :visible.sync="dialogVisible" |
| | | width="50%" |
| | | > |
| | | <div> |
| | | <el-alert :title="revisitAfter" type="success"> </el-alert> |
| | | </div> |
| | | </el-dialog> |
| | | </el-dialog> --> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | if (this.revisitAfter) { |
| | | this.dialogVisible=true |
| | | } |
| | | this.accomplish=true; |
| | | this.$modal.msgSuccess("提交成功"); |
| | | } |
| | | }); |
| | |
| | | form.svyLibTemplateScriptVOS = arr; |
| | | Cachequestionnaire(form).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("提交成功"); |
| | | if (subm) { |
| | | this.submitForm(); |
| | | } |
| | |
| | | <el-table-column |
| | | label="联系电话" |
| | | align="center" |
| | | key="telephone" |
| | | prop="telephone" |
| | | key="telcode" |
| | | prop="telcode" |
| | | width="120" |
| | | /> |
| | | |
| | |
| | | <el-table-column |
| | | label="联系电话" |
| | | align="center" |
| | | key="telephone" |
| | | prop="telephone" |
| | | key="telcode" |
| | | prop="telcode" |
| | | width="120" |
| | | /> |
| | | |
| | |
| | | <el-table-column |
| | | label="联系电话" |
| | | align="center" |
| | | key="telephone" |
| | | prop="telephone" |
| | | key="telcode" |
| | | prop="telcode" |
| | | width="120" |
| | | /> |
| | | <!-- <el-table-column |
| | |
| | | <el-select |
| | | v-model="queryParams.tagIds" |
| | | multiple |
| | | filterable |
| | | filterable |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | |
| | | width="120" |
| | | /> |
| | | <el-table-column |
| | | label="联系电话(缺)" |
| | | label="联系电话" |
| | | align="center" |
| | | key="telephone" |
| | | prop="telephone" |
| | | key="telcode" |
| | | prop="telcode" |
| | | width="120" |
| | | /> |
| | | <el-table-column |
| | |
| | | <el-table-column |
| | | label="联系电话" |
| | | align="center" |
| | | key="telephone" |
| | | prop="telephone" |
| | | key="telcode" |
| | | prop="telcode" |
| | | width="120" |
| | | /> |
| | | <el-table-column |
| | |
| | | <el-input v-model="numberform.contactname"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="联系电话"> |
| | | <el-input v-model="numberform.contactway"></el-input> |
| | | <el-input v-model="numberform.telcode"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="关系"> |
| | | <el-input v-model="numberform.relation"></el-input> |
| | |
| | | </el-dialog> |
| | | <el-dialog title="模板预览" :visible.sync="previewtf" width="60%"> |
| | | <div class="preview-left"> |
| | | <!-- 单选 --> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | v-for="item in questionList" |
| | | :key="item.sort" |
| | | v-if="item.scriptType == 1" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ item.sort }}、[单选]<span>{{ item.scriptContent }}</span> |
| | | <div v-for="item in questionList"> |
| | | <!-- 单选 --> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | :key="item.sort" |
| | | v-if="item.scriptType == 1" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ item.sort }}、[单选]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-radio-group v-model="item.remark"> |
| | | <el-radio |
| | | v-for="(items, index) in item.svyLibTemplateTargetoptions" |
| | | :key="index" |
| | | :label="index" |
| | | >{{ items.optioncontent }}</el-radio |
| | | > |
| | | </el-radio-group> |
| | | </div> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-radio-group v-model="item.remark"> |
| | | <el-radio |
| | | v-for="(items, index) in item.svyLibTemplateTargetoptions" |
| | | :key="index" |
| | | :label="index" |
| | | >{{ items.optioncontent }}</el-radio |
| | | > |
| | | </el-radio-group> |
| | | <!-- 多选 --> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | :key="item.sort" |
| | | v-if="item.scriptType == 2" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ item.sort }}、[多选]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-checkbox-group v-model="qremark"> |
| | | <el-checkbox |
| | | v-for="(items, index) in item.svyLibTemplateTargetoptions" |
| | | :key="index" |
| | | :label="index" |
| | | > |
| | | {{ items.optioncontent }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- 多选 --> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | v-for="item in questionList" |
| | | v-if="item.scriptType == 2" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ item.sort }}、[多选]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-checkbox-group v-model="multiplechoice"> |
| | | <el-checkbox |
| | | v-for="items in item.svyLibTemplateTargetoptions" |
| | | :key="items.optioncontent" |
| | | :label="items.optioncontent" |
| | | > |
| | | {{ items.optioncontent }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </div> |
| | | </div> |
| | | <!-- 填空 --> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | v-for="item in questionList" |
| | | :key="item.sort" |
| | | v-if="item.scriptType == 4" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ item.sort }}、[填空]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-input placeholder="请输入答案" v-model="item.radioas" clearable> |
| | | </el-input> |
| | | <!-- 填空 --> |
| | | <div |
| | | class="scriptTopic-dev" |
| | | :key="item.sort" |
| | | v-if="item.scriptType == 4" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ item.sort }}、[问答]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-input placeholder="请输入答案" v-model="radioas" clearable> |
| | | </el-input> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="previewGo">前往模板详情修改</el-button> |
| | | <!-- <el-button @click="previewGo">前往模板详情修改</el-button> --> |
| | | <el-button type="primary" @click="previewFn">确认使用</el-button> |
| | | </span> |
| | | </el-dialog> |
| | |
| | | submitForm(formName) { |
| | | if (this.time4 && this.form.sendType == 3) |
| | | this.form.showTimeMorn = this.time4; |
| | | this.form.sendTimeslot = [{ |
| | | begantime: this.time4, |
| | | endtime: "", |
| | | xh: 1, |
| | | }]; |
| | | this.form.sendTimeslot = [ |
| | | { |
| | | begantime: this.time4, |
| | | endtime: "", |
| | | xh: 1, |
| | | }, |
| | | ]; |
| | | if (this.checkList[0]) { |
| | | this.form.preachform = this.checkList.join(","); |
| | | } else { |
| | |
| | | this.libId = row.svyid; |
| | | this.Tasktemplate = row; |
| | | this.questionList = row.svyTemplateLibScripts; |
| | | console.log(row.svyTemplateLibScripts); |
| | | |
| | | this.previewtf = true; |
| | | this.previewid = row.svyid; |
| | | this.Variablehandling(row.svyTemplateLibScripts, 1); |
| | |
| | | getQtemplatelist({ svyid: this.form.libtemplateid }).then((res) => { |
| | | if (res.code == 200) { |
| | | console.log(); |
| | | |
| | | this.questionList = res.rows[0].svyTemplateLibScripts; |
| | | this.previewtf = true; |
| | | } |
| | |
| | | this.overallCase = this.form.patTaskRelevances.concat(); |
| | | this.checkList = this.form.preachform.split(","); |
| | | console.log(this.form, "this.form"); |
| | | if (this.form.showDate)this.daytime = this.form.showDate.split(","); |
| | | if (this.form.showDate) |
| | | this.daytime = this.form.showDate.split(","); |
| | | if (this.form.showTimeMorn) { |
| | | if (this.form.sendType == 3) { |
| | | this.time4 = this.form.showTimeMorn; |
| | |
| | | targetdesc: [ |
| | | { required: true, message: "指标描述不能为空", trigger: "blur" }, |
| | | ], |
| | | dynamicTags: [ |
| | | { required: true, message: "标签不能为空", trigger: "blur" }, |
| | | ], |
| | | valueType: [ |
| | | { required: true, message: "值类型不能为空", trigger: "blur" }, |
| | | ], |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="联系电话" prop="phone"> |
| | | <el-form-item label="联系电话" prop="telcode"> |
| | | <el-input |
| | | v-model="form.phone" |
| | | v-model="form.telcode" |
| | | placeholder="请输入联系电话" |
| | | maxlength="11" |
| | | /> |
| | |
| | | /** 新增按钮操作 */ |
| | | handleAdd() { |
| | | this.reset(); |
| | | getUser().then((response) => { |
| | | this.postOptions = response.posts; |
| | | this.roleOptions = response.roles; |
| | | this.open = true; |
| | | this.open = true; |
| | | this.title = "添加用户"; |
| | | this.form.password = this.initPassword; |
| | | this.form.depts = []; |
| | | }); |
| | | // getUser().then((response) => { |
| | | // this.postOptions = response.posts; |
| | | // this.roleOptions = response.roles; |
| | | |
| | | // }); |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | |
| | | |
| | | const name = process.env.VUE_APP_TITLE || '患者智慧服务系统' // 网页标题 |
| | | |
| | | const port = process.env.port || process.env.npm_config_port || 8096 // 端口 |
| | | const port = process.env.port || process.env.npm_config_port || 8093 // 端口 |
| | | |
| | | // vue.config.js 配置说明 |
| | | //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions |
| | |
| | | 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]: '' |