| | |
| | | // å¤é¾è·åé访 |
| | | export function getExternalfollowup(data) { |
| | | return request({ |
| | | url: "/servicetask/getScriptInfoByCondition", |
| | | url: "/smartor/servicetask/getScriptInfoByCondition", |
| | | // url: "/servicetask/getScriptInfoByCondition", |
| | | method: "post", |
| | | data: data |
| | | }); |
| | | } |
| | | // å é¤éç¨æ¨¡æ¿ |
| | | // å é¤éç¨æ¨¡æ¿s |
| | | export function geturlinfo(id) { |
| | | return request({ |
| | | url: "/outPath/getInfoByParam", |
| | | url: "/smartor/outPath/getInfoByParam", |
| | | method: 'post', |
| | | data: {param:id} |
| | | params: {param:id} |
| | | }); |
| | | } |
| | | // æäº¤ãé访 |
| | | export function SetsaveQuestionAnswer(data) { |
| | | return request({ |
| | | // url: "/ivrtaskcalldetail/saveQuestionAnswer", |
| | | url: "/serviceSubtask/saveQuestionAnswer", |
| | | url: "/smartor/serviceSubtask/saveQuestionAnswer", |
| | | method: "post", |
| | | data: data |
| | | }); |
| | |
| | | // ç¼åé®å· |
| | | export function Cachequestionnaire(data) { |
| | | return request({ |
| | | url: "/subtaskAnswer/saveQuestionCache", |
| | | url: "/smartor/subtaskAnswer/saveQuestionCache", |
| | | method: "post", |
| | | data: data |
| | | }); |
| | |
| | | // æ¿ç¼åé®å· |
| | | export function getCachequestionnaire(data) { |
| | | return request({ |
| | | url: "/subtaskAnswer/getQuestionCache", |
| | | url: "/smartor/subtaskAnswer/getQuestionCache", |
| | | method: "post", |
| | | data: data |
| | | }); |
| | |
| | | // æäº¤é®å· |
| | | export function Submitaquestionnaire(data) { |
| | | return request({ |
| | | url: "/subtaskAnswer/saveQuestionAnswer", |
| | | url: "/smartor/subtaskAnswer/saveQuestionAnswer", |
| | | method: "post", |
| | | data: data |
| | | }); |
| | |
| | | data: data |
| | | }); |
| | | } |
| | | // è·åè¯é³æå¡ï¼å
ï¼ |
| | | export function getPersonVoices(data) { |
| | | return request({ |
| | | url: "/smartor/smartor/serviceSubtaskDetail/getPersonVoice", |
| | | method: "post", |
| | | data: data |
| | | }); |
| | | } |
| | | // è·åè¯é³æå¡ï¼å
ï¼ |
| | | export function updatePersonVoices(data) { |
| | | return request({ |
| | | url: "/smartor/serviceSubtaskDetail/batchEdit", |
| | | method: "post", |
| | | data: data |
| | | }); |
| | | } |
| | |
| | | export * from './SingleTask' |
| | | export * from './external' |
| | | export * from './Homeimage' |
| | | |
| | | |
| | | export * from './patientexternal' |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from "@/utils/request"; |
| | | |
| | | |
| | | // å é¤å¤é¨æ£è
表 |
| | | export function delExternal(Id) { |
| | | return request({ |
| | | url: "/smartor/import/remove/" + Id, |
| | | method: "get", |
| | | }); |
| | | } |
| | | // æ¥è¯¢å¤é¨æ£è
表 |
| | | export function Externallist(data) { |
| | | return request({ |
| | | url: "/smartor/import/list", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // ä¿®æ¹å¤é¨æ£è
表 |
| | | export function Externaledit(data) { |
| | | return request({ |
| | | url: "/smartor/import/edit", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // æ£è
详æ
|
| | | export function Externalpatient(userId) { |
| | | return request({ |
| | | url: '/smartor/import/getInfo/' + userId, |
| | | method: 'get', |
| | | }) |
| | | }; |
| | |
| | | <template> |
| | | <div> |
| | | <div class="topicxq" v-for="item in TargetoptionList"> |
| | | <div |
| | | class="topicxq" |
| | | v-for="item in TargetoptionList" |
| | | v-if="item.isoperation != 3" |
| | | > |
| | | <el-form :inline="true" :rules="rules" :model="item" label-width="80px"> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="12" |
| | |
| | | ></el-col> |
| | | </el-row> |
| | | <el-form-item label="ç»æå¯¹è¯"> |
| | | <el-radio-group v-model="item.isEnd"> |
| | | <el-radio :label="1">æ¯</el-radio> |
| | | <el-radio :label="0">å¦</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-radio-group v-model="item.isEnd"> |
| | | <el-radio :label="1">æ¯</el-radio> |
| | | <el-radio :label="0">å¦</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | |
| | | <el-row :gutter="10" v-if="intent"> |
| | | <el-col :span="12" |
| | |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="10" v-if="scriptType == 1"> |
| | | <el-form-item label="éä¸æç¤º"> |
| | | <el-input |
| | | style="width: 24vw" |
| | | type="textarea" |
| | | autosize |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model="item.prompt" |
| | | > |
| | | </el-input |
| | | ></el-form-item> |
| | | </el-row> |
| | | <el-form-item label="éä¸æç¤º"> |
| | | <el-input |
| | | style="width: 24vw" |
| | | type="textarea" |
| | | autosize |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model="item.prompt" |
| | | > |
| | | </el-input |
| | | ></el-form-item> |
| | | </el-row> |
| | | <el-row> |
| | | <el-form-item label="å
³é®å(å«)" prop="desc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | |
| | | }, |
| | | scriptType: { |
| | | type: String, |
| | | default: '1', |
| | | default: "1", |
| | | }, |
| | | addoption: { |
| | | type: Boolean, |
| | |
| | | const s_url = sessionObj.url; // 请æ±å°å |
| | | const s_data = sessionObj.data; // è¯·æ±æ°æ® |
| | | const s_time = sessionObj.time; // è¯·æ±æ¶é´ |
| | | const interval = 4; // é´éæ¶é´(ms)ï¼å°äºæ¤æ¶é´è§ä¸ºéå¤æäº¤ |
| | | const interval = 1; // é´éæ¶é´(ms)ï¼å°äºæ¤æ¶é´è§ä¸ºéå¤æäº¤ |
| | | if (s_data === requestObj.data && requestObj.time - s_time < interval && s_url === requestObj.url) { |
| | | const message = 'æ°æ®æ£å¨å¤çï¼è¯·å¿éå¤æäº¤'; |
| | | console.warn(`[${s_url}]: ` + message) |
| | | return Promise.reject(new Error(message)) |
| | | return Promise.reject(message) |
| | | // return Promise.reject(new Error(message)) |
| | | } else { |
| | | cache.session.setJSON('sessionObj', requestObj) |
| | | } |
| | |
| | | <el-table-column |
| | | label="æä½" |
| | | align="center" |
| | | fixed="right" |
| | | width="200" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | |
| | | this.loading = true; |
| | | getTaskservelist(this.topqueryParams).then((response) => { |
| | | this.userList = response.rows[0].serviceSubtaskList; |
| | | this.total=response.total |
| | | this.total = response.total; |
| | | this.cardlist[0].value = |
| | | Number(response.rows[0].wzx) + Number(response.rows[0].ysf); |
| | | this.cardlist[1].value = response.rows[0].ysf; |
| | |
| | | item.endDay = this.daysBetween(item.endtime); |
| | | } |
| | | if (item.endtime) { |
| | | idArray = item.preachform.split(","); |
| | | idArray = item.preachform.split(","); |
| | | } |
| | | |
| | | item.preachform = idArray.map((value) => { |
| | |
| | | }, |
| | | // 跳转详æ
页 |
| | | Seedetails(row) { |
| | | let type = ""; |
| | | if (row.preachform == 3) { |
| | | type = 1; |
| | | } |
| | | this.$router.push({ |
| | | path: "/followvisit/record/detailpage/", |
| | | query: { taskid: row.taskid, patid: row.patid, id: row.id }, |
| | | query: { |
| | | taskid: row.taskid, |
| | | patid: row.patid, |
| | | id: row.id, |
| | | Voicetype: type, |
| | | }, |
| | | }); |
| | | }, |
| | | // ä¾¿æ·æé® |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="sendstate" align="center" label="æå¡ç¶æ"> |
| | | <template slot-scope="scope"> |
| | | <div v-if="scope.row.sendstate == 1"> |
| | | <el-tag type="primary" |
| | | :disable-transitions="false">被é¢å</el-tag></div> |
| | | <div v-if="scope.row.sendstate == 2"> |
| | | <el-tag type="primary" |
| | | :disable-transitions="false">å¾
åé</el-tag> |
| | | <div v-if="scope.row.sendstate == 1"> |
| | | <el-tag type="primary" :disable-transitions="false" |
| | | >被é¢å</el-tag |
| | | > |
| | | </div> |
| | | <div v-if="scope.row.sendstate == 3"> <el-tag type="success" |
| | | :disable-transitions="false">å·²åéæªé¢å</el-tag></div> |
| | | <div v-if="scope.row.sendstate == 4"> <el-tag type="info" |
| | | :disable-transitions="false">䏿§è¡</el-tag></div> |
| | | <div v-if="scope.row.sendstate == 5"> <el-tag type="danger" |
| | | :disable-transitions="false">åé失败</el-tag></div> |
| | | </template> |
| | | <div v-if="scope.row.sendstate == 2"> |
| | | <el-tag type="primary" :disable-transitions="false" |
| | | >å¾
åé</el-tag |
| | | > |
| | | </div> |
| | | <div v-if="scope.row.sendstate == 3"> |
| | | <el-tag type="success" :disable-transitions="false" |
| | | >å·²åéæªé¢å</el-tag |
| | | > |
| | | </div> |
| | | <div v-if="scope.row.sendstate == 4"> |
| | | <el-tag type="info" :disable-transitions="false">䏿§è¡</el-tag> |
| | | </div> |
| | | <div v-if="scope.row.sendstate == 5"> |
| | | <el-tag type="danger" :disable-transitions="false" |
| | | >åé失败</el-tag |
| | | > |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="finishtime" |
| | |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <el-tabs type="border-card"> |
| | | <el-tab-pane> |
| | | <el-tabs v-model="activeName" type="border-card"> |
| | | <el-tab-pane name="wj"> |
| | | <span class="mulsz" slot="label" |
| | | ><i class="el-icon-notebook-1"></i> é®å·éè®¿ç»æ</span |
| | | > |
| | | <div class="CONTENT"> |
| | | <div class="title">{{ taskname ? taskname : "é®å·" }}</div> |
| | | <div class="preview-left"> |
| | | <!-- é®å·ä»»å¡å±ç¤º --> |
| | | <div class="preview-left" v-if="!Voicetype"> |
| | | <!-- åé --> |
| | | <div |
| | | class="topic-dev" |
| | | v-for="(item, index) in tableDatatop" |
| | | :key="item.aaa" |
| | | :key="item.id" |
| | | > |
| | | <div |
| | | :class=" |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="primary" @click="getdetail">ä¿åé®å·</el-button> |
| | | <!-- è¯é³é®å·å½¢å¼å±ç¤º --> |
| | | <div class="preview-left" v-else> |
| | | <!-- åé --> |
| | | <div |
| | | class="topic-dev" |
| | | v-for="(item, index) in tableDatatop" |
| | | :key="item.id" |
| | | > |
| | | <div v-if="item.targetvalue"> |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}ã[åé]<span>{{ item.questiontext }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-radio-group |
| | | v-model="item.matchedtext" |
| | | @change="handleOptionChange($event, index, item)" |
| | | > |
| | | <el-radio |
| | | v-for="(items, index) in item.scriptResult" |
| | | :key="items" |
| | | :label="items" |
| | | >{{ items }}</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-else> |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}ã[é®ç]<span>{{ item.questiontext }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请è¾å
¥çæ¡" |
| | | v-model="item.matchedtext" |
| | | clearable |
| | | > |
| | | </el-input> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button v-if="Voicetype" type="primary" @click="yuyingetdetail" |
| | | >ä¿åæå¡è¯¦æ
</el-button |
| | | > |
| | | <el-button v-else type="primary" @click="getdetail" |
| | | >ä¿åæå¡è¯¦æ
</el-button |
| | | > |
| | | </div> |
| | | </el-tab-pane> |
| | | <el-tab-pane> |
| | | <!-- è¯é³é访详æ
---------------------- --> |
| | | <el-tab-pane name="yy"> |
| | | <span class="mulsz" slot="label" |
| | | ><i class="el-icon-headset"></i> è¯é³é访详æ
</span |
| | | > |
| | | <div class="borderdiv"> |
| | | <div class="title">{{ taskname ? taskname : "é®å·" }}</div> |
| | | <div |
| | | style=" |
| | | display: flex; |
| | | text-align: center; |
| | | align-items: center; |
| | | color: #59a0f0; |
| | | " |
| | | > |
| | | 宿´è¯é³ï¼ |
| | | <mini-audio |
| | | :audio-source=" |
| | | voice ? voice : 'https://example.com/example.mp3' |
| | | " |
| | | ></mini-audio> |
| | | </div> |
| | | <div class="preview-left"> |
| | | <div class="leftside"> |
| | | <i class="el-icon-phone-outline"></i |
| | | ><span>æ¨ä»å¤©èº«ä½æ
嵿乿 ·</span> |
| | | </div> |
| | | <div class="offside"> |
| | | <i class="el-icon-user"></i> |
| | | <div class="offside-value"> |
| | | <el-input v-model="input"></el-input> |
| | | <el-radio v-model="radio" label="1">徿£</el-radio> |
| | | <el-radio v-model="radio" label="2">è¿å¯ä»¥</el-radio> |
| | | <el-radio v-model="radio" label="3">ä¸å¤ªå¥½</el-radio> |
| | | <el-radio v-model="radio" label="4">æ¯è¾å·®</el-radio> |
| | | <div> |
| | | <mini-audio |
| | | :audio-source=" |
| | | topicobj.ivrVoice |
| | | ? topicobj.ivrVoice |
| | | : 'https://example.com/example.mp3' |
| | | " |
| | | ></mini-audio> |
| | | <div v-for="item in voiceDatatop"> |
| | | <div class="leftside"> |
| | | <i class="el-icon-phone-outline"></i |
| | | ><span>{{ item.questiontext }}</span> |
| | | </div> |
| | | <div class="offside"> |
| | | <i class="el-icon-user"></i> |
| | | <div class="offside-value"> |
| | | <el-input |
| | | type="textarea" |
| | | :autosize="{ minRows: 1 }" |
| | | v-model="item.asrtext" |
| | | ></el-input> |
| | | <!-- <el-radio v-model="radio" label="1">徿£</el-radio> |
| | | <el-radio v-model="radio" label="2">è¿å¯ä»¥</el-radio> |
| | | <el-radio v-model="radio" label="3">ä¸å¤ªå¥½</el-radio> |
| | | <el-radio v-model="radio" label="4">æ¯è¾å·®</el-radio> --> |
| | | <div> |
| | | <mini-audio |
| | | :audio-source=" |
| | | item.questionvoice |
| | | ? item.questionvoice |
| | | : 'https://example.com/example.mp3' |
| | | " |
| | | ></mini-audio> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="primary" @click="getdetail">ä¿åé访详æ
</el-button> |
| | | <el-button v-if="Voicetype" type="primary" @click="yuyingetdetail" |
| | | >ä¿åé访详æ
</el-button |
| | | > |
| | | <el-button v-else type="primary" @click="getdetail" |
| | | >ä¿åé访详æ
</el-button |
| | | > |
| | | </div> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | |
| | | <script> |
| | | import { |
| | | getsearchrResults, |
| | | getPersonVoices, |
| | | getTaskservelist, |
| | | getTaskparticty, |
| | | Editsingletaskson, |
| | | serviceSubtaskDetailedit, |
| | | serviceSubtaskDetailadd, |
| | | updatePersonVoices, |
| | | } from "@/api/AiCentre/index"; |
| | | export default { |
| | | dicts: ["sys_normal_disable", "sys_user_sex", "sys_yujing", "sys_suggest"], |
| | | data() { |
| | | return { |
| | | radio: "1", |
| | | userid: "", |
| | | input: "ä»å¤©èº«ä½è¿ä¸é", |
| | | radio: "2", |
| | | taskname: "", |
| | | activeName: "wj", |
| | | voice: "", |
| | | tableDatatop: [], //é¢ç®è¡¨ |
| | | voiceDatatop: [], //é¢ç®è¡¨ |
| | | Whetherall: false, //æ¯å¦å
¨é¨è®°å½å±ç¤º |
| | | Voicetype: 0, //æ¯å¦ä¸ºè¯é³æå¡ |
| | | logsheetlist: [], |
| | | topicobj:{}, |
| | | topicobj: {}, |
| | | sendname: null, |
| | | serviceType: null, |
| | | id: null, |
| | |
| | | this.id = this.$route.query.id; |
| | | this.sendname = this.$route.query.sendname; |
| | | this.patid = this.$route.query.patid; |
| | | this.Voicetype = this.$route.query.Voicetype; |
| | | this.serviceType = this.$route.query.serviceType; |
| | | this.getsearchrResults(); |
| | | if (this.Voicetype) { |
| | | this.getPersonVoices(); |
| | | } else { |
| | | this.getsearchrResults(); |
| | | } |
| | | this.getTaskservelist(this.taskid); |
| | | }, |
| | | |
| | |
| | | taskid: this.taskid, |
| | | patid: this.patid, |
| | | subId: this.id, |
| | | isFinish:false, |
| | | isFinish: false, |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | this.tableDatatop = res.data.scriptResult.script; |
| | |
| | | }); |
| | | this.taskname = res.data.taskName; |
| | | this.overdata(); |
| | | } |
| | | }); |
| | | }, |
| | | // è·åè¯é³æ°æ® |
| | | getPersonVoices() { |
| | | let obj = { |
| | | taskid: this.taskid, |
| | | patid: this.patid, |
| | | subId: this.id, |
| | | }; |
| | | console.log(this.voiceDatatop, "111"); |
| | | |
| | | getPersonVoices(obj).then((res) => { |
| | | console.log("222"); |
| | | if (res.code == 200) { |
| | | this.voiceDatatop = res.data.serviceSubtaskDetails; |
| | | this.voice = res.data.voice; |
| | | this.activeName = "yy"; |
| | | this.taskname = res.data.taskName; |
| | | // é®å·å±ç¤ºæ°æ®å¤ç |
| | | this.tableDatatop = res.data.filteredDetails; |
| | | this.tableDatatop.forEach((item) => { |
| | | if (item.targetvalue) { |
| | | item.scriptResult = item.targetvalue.split("&"); |
| | | } else { |
| | | item.scriptResult = []; |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | // è·åé®å·å®æ´æ°æ®æ¯å¯¹ |
| | | puttaskid(id) { |
| | | getTaskparticty(id).then((res) => { |
| | | if (res.code == 200) { |
| | | |
| | | } |
| | | }); |
| | | }, |
| | |
| | | }); |
| | | this.Editsingletasksonyic(excep); |
| | | }, |
| | | yuyingetdetail() { |
| | | this.tableDatatop.forEach((item) => { |
| | | item.scriptResult = item.scriptResult.join("&"); |
| | | }); |
| | | updatePersonVoices(this.tableDatatop).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("æå¡ä¿®æ¹æå"); |
| | | } |
| | | }); |
| | | }, |
| | | // è·åæ£è
è®°å½ |
| | | getTaskservelist(taskid) { |
| | | this.taskid = taskid; |
| | |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.logsheetlist = res.rows[0].serviceSubtaskList; |
| | | this.puttaskid(this.logsheetlist[0].templateid) |
| | | } |
| | | }); |
| | | }, |
| | |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | objson = res.rows[0].serviceSubtaskList[0]; |
| | | console.log(objson,'obj'); |
| | | console.log(objson, "obj"); |
| | | |
| | | objson.excep = excep; |
| | | Editsingletaskson(objson).then((res) => { |
| | |
| | | text-align: center; |
| | | } |
| | | .leftside { |
| | | margin-bottom: 30px; |
| | | margin: 30px 0; |
| | | span { |
| | | width: 400px; |
| | | margin-left: 20px; |
| | |
| | | right: -5px; /* æ ¹æ®éè¦è°æ´ */ |
| | | top: 0; |
| | | } |
| | | ::v-deep.el-input-group__textarea { |
| | | white-space: pre-wrap; /* ä¿æç©ºç½ç¬¦åºåå¹¶æ£å¸¸æ¢è¡ */ |
| | | word-break: break-all; /* å¨é¿åè¯æURLå°åå
é¨è¿è¡æ¢è¡ */ |
| | | } |
| | | ::v-deep.el-checkbox__label { |
| | | position: relative; |
| | | padding-right: 10px; /* æ ¹æ®éè¦è°æ´ */ |
| | |
| | | <div class="dev-xx"> |
| | | <el-radio-group |
| | | class="custom-radio" |
| | | v-model="item.scriptResult" |
| | | v-model="item.questionResult" |
| | | @change="handleOptionChange($event, index, item)" |
| | | > |
| | | <el-radio |
| | | border |
| | | v-for="(items, index) in item.svyLibTemplateTargetoptions" |
| | | v-for="(items, index) in item.ivrLibaScriptTargetoptionList" |
| | | :class=" |
| | | items.isabnormal && item.scriptResult == items.optioncontent |
| | | items.isabnormal && item.questionResult == items.targetvalue |
| | | ? 'red-star' |
| | | : '' |
| | | " |
| | | :key="index" |
| | | :label="items.optioncontent" |
| | | >{{ items.optioncontent }}</el-radio |
| | | :label="items.targetvalue" |
| | | >{{ items.targetvalue }}</el-radio |
| | | > |
| | | </el-radio-group> |
| | | </div> |
| | |
| | | <div class="dev-xx"> |
| | | <el-checkbox-group |
| | | class="custom-radio" |
| | | v-model="item.scriptResult" |
| | | v-model="item.questionResult" |
| | | @change="updateScore($event, index, item)" |
| | | > |
| | | <el-checkbox |
| | | border |
| | | @change="$forceUpdate()" |
| | | v-for="(items, indexs) in item.svyLibTemplateTargetoptions" |
| | | v-for="(items, indexs) in item.ivrLibaScriptTargetoptionList" |
| | | :key="indexs" |
| | | :label="items.optioncontent" |
| | | :label="items.targetvalue" |
| | | > |
| | | {{ items.optioncontent }} |
| | | {{ items.targetvalue }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </div> |
| | | <!-- :class="items.isabnormal ? 'red-star' : ''" --> |
| | | <div v-show="item.prompt && item.scriptResult[0]"> |
| | | <div v-show="item.prompt && item.questionResult[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="scriptTopic-dev" :key="index" v-if="item.scriptType == 4||item.scriptType == 3"> |
| | | <div class="dev-text"> |
| | | {{ index + 1 }}ã<span style="line-height: 1.5" |
| | | >{{ item.scriptContent |
| | |
| | | type="textarea" |
| | | :rows="3" |
| | | placeholder="请è¾å
¥çæ¡" |
| | | v-model="item.scriptResult" |
| | | v-model="item.questionResult" |
| | | clearable |
| | | > |
| | | </el-input> |
| | |
| | | Submitaquestionnaire, |
| | | geturlinfo, |
| | | } from "@/api/AiCentre/index"; |
| | | import { type } from "jquery"; |
| | | import JSEncrypt from "jsencrypt"; |
| | | export default { |
| | | data() { |
| | |
| | | patid: 265823, |
| | | kcb: "", |
| | | excep: "", |
| | | taskname: "", |
| | | questionList: [ |
| | | // { |
| | | // scriptType: 1, |
| | | // scriptContent: "æ¨çå¹´é¾èå´æ¯ï¼", |
| | | // scriptResult: null, |
| | | // svyLibTemplateTargetoptions: [ |
| | | // { optioncontent: "18-25", value: "18-25", isabnormal: true }, |
| | | // { optioncontent: "26-35", value: "26-35" }, |
| | | // { optioncontent: "36-45", value: "36-45" }, |
| | | // { optioncontent: "46-55", value: "46-55" }, |
| | | // { optioncontent: "56+", value: "56+" }, |
| | | // questionResult: null, |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // { targetvalue: "18-25", value: "18-25", isabnormal: true }, |
| | | // { targetvalue: "26-35", value: "26-35" }, |
| | | // { targetvalue: "36-45", value: "36-45" }, |
| | | // { targetvalue: "46-55", value: "46-55" }, |
| | | // { targetvalue: "56+", value: "56+" }, |
| | | // ], |
| | | // required: true, |
| | | // }, |
| | | // { |
| | | // scriptType: 1, |
| | | // scriptContent: "æ¨çè䏿¯ä»ä¹ï¼", |
| | | // scriptResult: null, |
| | | // svyLibTemplateTargetoptions: [ |
| | | // { optioncontent: "å¦ç", value: "student" }, |
| | | // { optioncontent: "æå¸", value: "teacher" }, |
| | | // { optioncontent: "å·¥ç¨å¸", value: "engineer" }, |
| | | // { optioncontent: "å»ç", value: "doctor" }, |
| | | // { optioncontent: "å
¶ä»", value: "other" }, |
| | | // questionResult: null, |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // { targetvalue: "å¦ç", value: "student" }, |
| | | // { targetvalue: "æå¸", value: "teacher" }, |
| | | // { targetvalue: "å·¥ç¨å¸", value: "engineer" }, |
| | | // { targetvalue: "å»ç", value: "doctor" }, |
| | | // { targetvalue: "å
¶ä»", value: "other" }, |
| | | // ], |
| | | // required: false, |
| | | // }, |
| | | // { |
| | | // scriptType: 2, |
| | | // scriptContent: "æ¨æå
´è¶£çæ´»å¨æåªäºï¼", |
| | | // scriptResult: [], |
| | | // svyLibTemplateTargetoptions: [ |
| | | // { optioncontent: "æ
游", value: "travel", isabnormal: true }, |
| | | // { optioncontent: "é
读", value: "reading", isabnormal: true }, |
| | | // { optioncontent: "è¿å¨", value: "sports", isabnormal: true }, |
| | | // { optioncontent: "é³ä¹", value: "music" }, |
| | | // { optioncontent: "çµå½±", value: "movies" }, |
| | | // questionResult: [], |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // { targetvalue: "æ
游", value: "travel", isabnormal: true }, |
| | | // { targetvalue: "é
读", value: "reading", isabnormal: true }, |
| | | // { targetvalue: "è¿å¨", value: "sports", isabnormal: true }, |
| | | // { targetvalue: "é³ä¹", value: "music" }, |
| | | // { targetvalue: "çµå½±", value: "movies" }, |
| | | // ], |
| | | // required: false, |
| | | // }, |
| | | // { |
| | | // scriptType: 1, |
| | | // scriptContent: "æ¨çè䏿¯ä»ä¹ï¼", |
| | | // scriptResult: null, |
| | | // svyLibTemplateTargetoptions: [ |
| | | // { optioncontent: "å¦ç", value: "student" }, |
| | | // { optioncontent: "æå¸", value: "teacher" }, |
| | | // { optioncontent: "å·¥ç¨å¸", value: "engineer" }, |
| | | // { optioncontent: "å»ç", value: "doctor" }, |
| | | // { optioncontent: "å
¶ä»", value: "other" }, |
| | | // questionResult: null, |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // { targetvalue: "å¦ç", value: "student" }, |
| | | // { targetvalue: "æå¸", value: "teacher" }, |
| | | // { targetvalue: "å·¥ç¨å¸", value: "engineer" }, |
| | | // { targetvalue: "å»ç", value: "doctor" }, |
| | | // { targetvalue: "å
¶ä»", value: "other" }, |
| | | // ], |
| | | // required: false, |
| | | // }, |
| | | // { |
| | | // scriptType: 1, |
| | | // scriptContent: "æ¨çè䏿¯ä»ä¹ï¼", |
| | | // scriptResult: null, |
| | | // svyLibTemplateTargetoptions: [ |
| | | // { optioncontent: "å¦ç", value: "student" }, |
| | | // { optioncontent: "æå¸", value: "teacher" }, |
| | | // { optioncontent: "å·¥ç¨å¸", value: "engineer", isabnormal: true }, |
| | | // { optioncontent: "å»ç", value: "doctor" }, |
| | | // { optioncontent: "å
¶ä»", value: "other" }, |
| | | // questionResult: null, |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // { targetvalue: "å¦ç", value: "student" }, |
| | | // { targetvalue: "æå¸", value: "teacher" }, |
| | | // { targetvalue: "å·¥ç¨å¸", value: "engineer", isabnormal: true }, |
| | | // { targetvalue: "å»ç", value: "doctor" }, |
| | | // { targetvalue: "å
¶ä»", value: "other" }, |
| | | // ], |
| | | // required: false, |
| | | // }, |
| | | // { |
| | | // scriptType: 1, |
| | | // scriptContent: "æ¨çè䏿¯ä»ä¹ï¼", |
| | | // scriptResult: null, |
| | | // svyLibTemplateTargetoptions: [ |
| | | // { optioncontent: "å¦ç", value: "student" }, |
| | | // { optioncontent: "æå¸", value: "teacher" }, |
| | | // { optioncontent: "å·¥ç¨å¸", value: "engineer" }, |
| | | // { optioncontent: "å»ç", value: "doctor" }, |
| | | // { optioncontent: "å
¶ä»", value: "other" }, |
| | | // questionResult: null, |
| | | // ivrLibaScriptTargetoptionList: [ |
| | | // { targetvalue: "å¦ç", value: "student" }, |
| | | // { targetvalue: "æå¸", value: "teacher" }, |
| | | // { targetvalue: "å·¥ç¨å¸", value: "engineer" }, |
| | | // { targetvalue: "å»ç", value: "doctor" }, |
| | | // { targetvalue: "å
¶ä»", value: "other" }, |
| | | // ], |
| | | // required: false, |
| | | // }, |
| | | // { |
| | | // scriptType: 4, |
| | | // scriptContent: "æ¨çå§åæ¯ä»ä¹ï¼", |
| | | // scriptResult: "name", |
| | | // questionResult: "name", |
| | | // required: true, |
| | | // scriptResult: null, |
| | | // questionResult: null, |
| | | // }, |
| | | ], |
| | | jsy: null, |
| | |
| | | // let url = 'http://218.108.11.22:8093/sf/003'; |
| | | // let urlid = this.extractLastSegmentFromUrl(url); |
| | | |
| | | geturlinfo( url ).then((res) => { |
| | | if (res.code==200) { |
| | | this.getQuestionnaire(res.data.param1,res.data.param2,res.data.param3,res.data.param5,) |
| | | } |
| | | geturlinfo(url).then((res) => { |
| | | if (res.code == 200) { |
| | | this.getQuestionnaire( |
| | | res.data.param1, |
| | | res.data.param2, |
| | | res.data.param3, |
| | | res.data.param5 |
| | | ); |
| | | } |
| | | }); |
| | | }, |
| | | // extractLastSegmentFromUrl(url) { |
| | | // // æ¾å°æåä¸ä¸ª'/'çä½ç½® |
| | | // const lastSlashIndex = url.lastIndexOf('/'); |
| | | // // 妿æ¾å°äº'/'ï¼æªåå
¶åçææå符 |
| | | // if (lastSlashIndex !== -1) { |
| | | // return url.substring(lastSlashIndex + 1); |
| | | // } |
| | | // // å¦ææ²¡ææ¾å°'/'ï¼è¿å空å符串 |
| | | // return ''; |
| | | // }, |
| | | // extractLastSegmentFromUrl(url) { |
| | | // // æ¾å°æåä¸ä¸ª'/'çä½ç½® |
| | | // const lastSlashIndex = url.lastIndexOf('/'); |
| | | // // 妿æ¾å°äº'/'ï¼æªåå
¶åçææå符 |
| | | // if (lastSlashIndex !== -1) { |
| | | // return url.substring(lastSlashIndex + 1); |
| | | // } |
| | | // // å¦ææ²¡ææ¾å°'/'ï¼è¿å空å符串 |
| | | // return ''; |
| | | // }, |
| | | |
| | | // è·åæ°æ® |
| | | getQuestionnaire(param1,param2,param3) { |
| | | getQuestionnaire(param1, param2, param3) { |
| | | this.taskid = decodeURIComponent(param1); |
| | | this.patid = decodeURIComponent(param2); |
| | | this.taskname = param3; |
| | | // this.taskname = param3; |
| | | // let taskid = |
| | | // "OFp7tn/B6x7IzKJetvGWHdSWBj7msRlnlj6am9dyuHTH6sEt4uBbVCUXs5kcF/e4O2W6vqHf2Bz9K3/evbYDmw=="; |
| | | // let patid = |
| | |
| | | this.accomplish = res.data.submit; |
| | | if (this.questionList[0]) { |
| | | this.questionList.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("&"); |
| | | if (item.questionResult && item.scriptType != 2) { |
| | | item.questionResult = JSON.parse(item.questionResult); |
| | | } else if (item.questionResult && item.scriptType == 2) { |
| | | item.questionResult = item.questionResult.split("&"); |
| | | } |
| | | }); |
| | | return; |
| | |
| | | this.questionList = res.data.script; |
| | | this.jsy = res.data.jsy; |
| | | this.kcb = res.data.kcb; |
| | | this.taskname = res.data.taskName; |
| | | this.type = res.data.type; |
| | | |
| | | // å¤çé¢ç®æ¶éç»ææ ¼å¼ |
| | | this.questionList.forEach((item) => { |
| | | item.nextScriptno = Number(item.nextScriptno); |
| | | if (item.scriptType == 2) { |
| | | item.scriptResult = []; |
| | | item.questionResult = []; |
| | | } |
| | | }); |
| | | } |
| | |
| | | param1: this.taskid, |
| | | param2: this.patid, |
| | | excep: this.excep, |
| | | type: this.type, |
| | | serviceSubtaskDetailList: [], |
| | | }; |
| | | const arr = structuredClone(this.questionList); |
| | | // arr.forEach((item) => { |
| | | // item.asrtext = JSON.stringify(item.scriptResult); |
| | | // if (item.scriptType == 2 && item.scriptResult[0]) { |
| | | // item.scriptResult = item.scriptResult.join("&"); |
| | | // item.asrtext = JSON.stringify(item.questionResult); |
| | | // if (item.scriptType == 2 && item.questionResult[0]) { |
| | | // item.questionResult = item.questionResult.join("&"); |
| | | // } |
| | | // }); |
| | | form.serviceSubtaskDetailList = arr; |
| | |
| | | let form = { |
| | | param1: this.taskid, |
| | | param2: this.patid, |
| | | svyLibTemplateScriptVOS: [], |
| | | type: this.type, |
| | | ivrLibaTemplateScriptVOList: [], |
| | | }; |
| | | const arr = structuredClone(this.questionList); |
| | | console.log(arr, "srr"); |
| | | arr.forEach((item, index) => { |
| | | var obj = item.svyLibTemplateTargetoptions.find( |
| | | (items) => items.optioncontent == item.scriptResult |
| | | if (item.scriptType == 3||item.scriptType == 4) return; |
| | | var obj = item.ivrLibaScriptTargetoptionList.find( |
| | | (items) => items.targetvalue == item.questionResult |
| | | ); |
| | | console.log(obj, "isabnormal"); |
| | | |
| | | if (obj.isabnormal) { |
| | | console.log(obj.isabnormal); |
| | | form.excep = 1; |
| | |
| | | }); |
| | | |
| | | arr.forEach((item) => { |
| | | if (item.scriptType == 2 && item.scriptResult[0]) { |
| | | item.scriptResult = item.scriptResult.join("&"); |
| | | } else if (item.scriptType != 2 && item.scriptResult) { |
| | | item.scriptResult = JSON.stringify(item.scriptResult); |
| | | if (item.scriptType == 2 && item.questionResult[0]) { |
| | | item.questionResult = item.questionResult.join("&"); |
| | | } else if (item.scriptType != 2 && item.questionResult) { |
| | | item.questionResult = JSON.stringify(item.questionResult); |
| | | } |
| | | }); |
| | | form.svyLibTemplateScriptVOS = arr; |
| | | form.ivrLibaTemplateScriptVOList = arr; |
| | | Cachequestionnaire(form).then((res) => { |
| | | if (res.code == 200) { |
| | | if (subm) { |
| | |
| | | // å¤çåéé项 |
| | | handleOptionChange(selectedvalue, index, arr) { |
| | | // æ¥æ¾éä¸çé项对象 |
| | | const selectedOption = arr.svyLibTemplateTargetoptions.find( |
| | | (option) => option.optioncontent == selectedvalue |
| | | const selectedOption = arr.ivrLibaScriptTargetoptionList.find( |
| | | (option) => option.targetvalue == selectedvalue |
| | | ); |
| | | if (selectedOption) { |
| | | // å°éä¸çé项对象ç id èµå¼ç» obj.sonId |
| | |
| | | // ��å åæ° |
| | | let score = 0; |
| | | selectedvalues.forEach((value) => { |
| | | const selectedOption = arr.svyLibTemplateTargetoptions.find( |
| | | (option) => option.optioncontent == value |
| | | const selectedOption = arr.ivrLibaScriptTargetoptionList.find( |
| | | (option) => option.targetvalue == value |
| | | ); |
| | | if (selectedOption) { |
| | | score += Number(selectedOption.score); |
| | |
| | | <template> |
| | | <div class="Questionnairemanagement"> |
| | | <!-- 左侧æ --> |
| | | <div class="sidecolumn"> |
| | | <div class="sidecolumn-top"> |
| | | <div class="top-wj">å»é¢æ£è
</div> |
| | | </div> |
| | | |
| | | <div class="bottom-fl"> |
| | | <el-tabs |
| | | tab-position="right" |
| | | v-model="queryParams.allhosp" |
| | | @tab-click="handleClick" |
| | | > |
| | | <!-- <el-tab-pane label="æ£è
å表" name="0"></el-tab-pane> --> |
| | | <el-tab-pane label="åºå
¥é¢æ£è
" name="1"></el-tab-pane> |
| | | <el-tab-pane label="é¨è¯æ£è
" name="2"></el-tab-pane> |
| | | <el-tab-pane label="使£æ£è
" name="3"></el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | </div> |
| | | <!-- å³ä¾§æ°æ® --> |
| | | |
| | | <div class="leftvlue"> |
| | | <!-- <div> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="2.5" v-for="(item, index) in cardlist" :key="index"> |
| | | <el-card |
| | | shadow="hover" |
| | | :body-style="item.router ? ' cursor: pointer' : 'cursor: default'" |
| | | > |
| | | <div style="padding: 8px" @click="$router.push(item.router)"> |
| | | <span>{{ item.name }}</span> |
| | | <div |
| | | style=" |
| | | text-align: center; |
| | | font-size: 18px; |
| | | margin-top: 10px; |
| | | font-weight: 600; |
| | | " |
| | | > |
| | | {{ item.value }} |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | </div> --> |
| | | <div class="leftvlue-bg"> |
| | | <el-row :gutter="20"> |
| | | <!--ç¨æ·æ°æ®--> |
| | |
| | | v-show="showSearch" |
| | | label-width="98px" |
| | | > |
| | | <!-- <el-form-item label="é¢åº" prop="userName"> |
| | | <el-select v-model="queryParams.value1" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> --> |
| | | <!-- <el-form-item label="ç§å®¤/ç
åº" prop="userName"> |
| | | <el-select v-model="queryParams.value2" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> --> |
| | | <el-form-item |
| | | label-width="138px" |
| | | label="主治å»ç" |
| | | prop="userName" |
| | | > |
| | | <el-input |
| | | v-model="queryParams.drname" |
| | | placeholder="请è¾å
¥å»çå§å" |
| | | maxlength="30" |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="é¨è¯ç¼å·" prop="visitno"> |
| | | <el-input |
| | | v-model="queryParams.visitno" |
| | | placeholder="请è¾å
¥ç¼å·" |
| | | maxlength="30" |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="æ£è
å§å" prop="name"> |
| | | <el-input |
| | | v-model="queryParams.name" |
| | |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="æ£è
èå´" prop="tagId"> |
| | | <el-select |
| | | v-model="queryParams.searchscope" |
| | | placeholder="è¯·éæ©æ£è
èå´" |
| | | > |
| | | <el-option |
| | | v-for="item in source" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="èç³»çµè¯" prop="telcode"> |
| | | <el-input |
| | | v-model="queryParams.telcode" |
| | |
| | | >å é¤</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | icon="el-icon-s-promotion" |
| | | size="medium" |
| | | @click="distribute" |
| | | >å任塿´¾åæ£è
</el-button |
| | | > |
| | | </el-col> |
| | | |
| | | <el-col :span="6"> |
| | | <div class="documentf"> |
| | | <div class="document"> |
| | |
| | | <el-table |
| | | v-loading="loading" |
| | | :data="userList" |
| | | height="660" |
| | | height="660" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="50" align="center" /> |
| | |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="å±
ä½å°" |
| | | align="center" |
| | | key="placeOfResidence" |
| | | prop="placeOfResidence" |
| | | width="150" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="æ£è
æ ç¾" |
| | | align="center" |
| | | key="tagList" |
| | | prop="tagList" |
| | | width="160" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span v-for="item in scope.row.tagList" |
| | | >{{ item.tagname }} |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="è¯ä»¶å·ç " |
| | | align="center" |
| | | key="idcardno" |
| | |
| | | prop="createTime" |
| | | width="160" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ formatTime(scope.row.createTime) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click=" |
| | | $router.push({ |
| | | path: '/patient/patient/profile/', |
| | | query: { id: scope.row.id }, |
| | | }) |
| | | " |
| | | ><span class="button-textsc" |
| | | ><i class="el-icon-zoom-in"></i>详æ
ç¼è¾</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | ><span class="button-textxga" |
| | | ><i class="el-icon-edit"></i>æ£è
è¿æ»¤</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="Distributionservice(scope.row)" |
| | | @click="handleDelete(scope.row)" |
| | | ><span class="button-textxg" |
| | | ><i class="el-icon-menu"></i>æå¡</span |
| | | ><i class="el-icon-menu"></i>å é¤</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row v-if="!amendtag"> |
| | | <el-row v-if="!amendtag"> |
| | | <el-col :span="8"> |
| | | <el-form-item label="æ°æ" prop="name"> |
| | | <el-input |
| | |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="amendtag?12:24"v-if="!amendtag" > |
| | | <el-col :span="amendtag ? 12 : 24" v-if="!amendtag"> |
| | | <el-form-item label="æ£è
ç±»å"> |
| | | <el-select v-model="form.pattype" placeholder="è¯·éæ©ç±»å"> |
| | | <el-option |
| | |
| | | <!-- 导å
¥æ£æ¥ --> |
| | | <div class="uploading" v-else-if="dractive == 2"> |
| | | <el-table :data="uploadingData" style="width: 100%"> |
| | | <el-table-column prop="serial" label="åºå·"> </el-table-column> |
| | | <el-table-column prop="serial" label="æ£è
id"> </el-table-column> |
| | | <el-table-column prop="name" label="å§å"> </el-table-column> |
| | | <el-table-column prop="sex" label="æ§å«"> </el-table-column> |
| | | |
| | | <el-table-column prop="certificatenum" label="è¯ä»¶å·ç "> |
| | | </el-table-column> |
| | | <el-table-column prop="idcardno" width="300" label="è¯ä»¶å·ç "> </el-table-column> |
| | | <el-table-column prop="goday" label="åºçæ¥æ"> </el-table-column> |
| | | <el-table-column prop="menum" label="æ¬äººèç³»æ¹å¼"> </el-table-column> |
| | | <el-table-column prop="younum" label="亲å±èç³»æ¹å¼"> |
| | | <el-table-column prop="telcode" width="200" label="èç³»æ¹å¼"> </el-table-column> |
| | | <el-table-column prop="createTime" width="200" label="åå»ºæ¥æ"> |
| | | </el-table-column> |
| | | <el-table-column prop="tag" label="æ£è
æ ç¾"> </el-table-column> |
| | | <el-table-column prop="erry" label="é误åå "> </el-table-column> |
| | | <el-table-column prop="opinion" label="å¤çæè§"> </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | <!-- <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | | :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="geterryList" |
| | | /> |
| | | /> --> |
| | | </div> |
| | | <!-- 宿 --> |
| | | <div class="drexamine" v-else-if="dractive == 3"> |
| | |
| | | <p>导å
¥æ£è
æåï¼</p> |
| | | <p> |
| | | æ¬æ¬¡ |
| | | <span style="color: #158bb8; font-size: 20px">{{ |
| | | <!-- <span style="color: #158bb8; font-size: 20px">{{ |
| | | ImportQuantity |
| | | }}</span> |
| | | æ¡æ°æ®æå导å
¥<span style="color: #72d3a9; font-size: 20px">{{ |
| | | ImportQuantity |
| | | æ¡æ°æ® --> |
| | | æå导å
¥<span style="color: #72d3a9; font-size: 20px">{{ |
| | | uploadingData.length?uploadingData.length:0 |
| | | }}</span |
| | | >使£è
|
| | | </p> |
| | |
| | | <div slot="footer" class="dialog-footer" v-if="dractive == 3"> |
| | | <!-- <el-button type="primary" @click="submitFileForm">ä¸ä¸æ¥</el-button> --> |
| | | <el-button @click="submitclose">宿</el-button> |
| | | <el-button type="warning" @click="submitclose">导åºå¤±è´¥æ°æ®</el-button> |
| | | <!-- <el-button type="warning" @click="submitclose">导åºå¤±è´¥æ°æ®</el-button> --> |
| | | </div> |
| | | <div slot="footer" v-else> |
| | | <el-button type="primary" @click="submitFileForm">ä¸ä¸æ¥</el-button> |
| | |
| | | |
| | | <script> |
| | | import { delUser } from "@/api/system/user"; |
| | | |
| | | import { |
| | | messagelistpatient, |
| | | alterpatient, |
| | | addpatient, |
| | | particularpatient, |
| | | deletepatient, |
| | | Exporterrorpatient, |
| | | toleadpatient, |
| | | } from "@/api/patient/homepage"; |
| | | import { getTasklist } from "@/api/AiCentre/index"; |
| | | getTasklist, |
| | | Externallist, |
| | | Externaledit, |
| | | Externalpatient, |
| | | delExternal, |
| | | } from "@/api/AiCentre/index"; |
| | | import { listtag } from "@/api/system/label"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import Treeselect from "@riophae/vue-treeselect"; |
| | |
| | | |
| | | export default { |
| | | name: "Patient", |
| | | dicts: ["sys_normal_disable", "task_status", "sys_user_sex",'futter_patient'], |
| | | dicts: [ |
| | | "sys_normal_disable", |
| | | "task_status", |
| | | "sys_user_sex", |
| | | "futter_patient", |
| | | ], |
| | | components: { Treeselect }, |
| | | data() { |
| | | return { |
| | |
| | | // é¨é¨æ é项 |
| | | deptOptions: undefined, |
| | | options: [], |
| | | uploadingData:[], |
| | | // æ¯å¦æ¾ç¤ºå¼¹åºå± |
| | | open: false, |
| | | // é¨é¨åç§° |
| | |
| | | value: 2, |
| | | label: "女", |
| | | }, |
| | | |
| | | ], |
| | | |
| | | cardlist: [ |
| | |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | | pageNum: 1, |
| | | allhosp: "1", |
| | | pageSize: 10, |
| | | searchscope:2, |
| | | idcardno: undefined, |
| | | name: undefined, |
| | | status: undefined, |
| | | tagIds: undefined, |
| | | telcode: undefined, |
| | | |
| | | }, |
| | | // è¡¨åæ ¡éª |
| | | rules: { |
| | |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | placeOfResidence: [ |
| | | { required: true, message: "å±
ä½å°ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | ], |
| | | |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | methods: { |
| | | /** æ¥è¯¢æ£è
å表 */ |
| | | getList() { |
| | | if (this.queryParams.searchscope == 1) { |
| | | this.queryParams.leaveldeptcodes = store.getters.belongDepts.map( |
| | | (obj) => obj.deptCode |
| | | ); |
| | | this.queryParams.leavehospitaldistrictcodes=null; |
| | | } else if (this.queryParams.searchscope == 2) { |
| | | this.queryParams.leavehospitaldistrictcodes = |
| | | store.getters.belongWards.map((obj) => obj.districtCode); |
| | | this.queryParams.leaveldeptcodes=null; |
| | | } else { |
| | | this.queryParams.leaveldeptcodes = store.getters.belongDepts.map( |
| | | (obj) => obj.deptCode |
| | | ); |
| | | this.queryParams.leavehospitaldistrictcodes = |
| | | store.getters.belongWards.map((obj) => obj.districtCode); |
| | | } |
| | | this.loading = true; |
| | | messagelistpatient(this.queryParams).then((response) => { |
| | | Externallist(this.queryParams).then((response) => { |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | | this.loading = false; |
| | |
| | | }, |
| | | /** æç´¢æé®æä½ */ |
| | | handleQuery() { |
| | | |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | |
| | | /** ä¿®æ¹æé®æä½ */ |
| | | handleUpdate(row) { |
| | | const userIds = row.id || this.ids; |
| | | particularpatient(userIds).then((response) => { |
| | | Externalpatient(userIds).then((response) => { |
| | | console.log(response); |
| | | this.form = response.data; |
| | | }); |
| | |
| | | if (this.amendtag) { |
| | | this.form.isoperation = 2; |
| | | this.form.notrequiredFlag = 1; |
| | | alterpatient(this.form) |
| | | Externaledit(this.form) |
| | | .then((response) => { |
| | | console.log(response); |
| | | }) |
| | |
| | | }); |
| | | } else { |
| | | this.form.isoperation = 1; |
| | | alterpatient(this.form) |
| | | Externaledit(this.form) |
| | | .then((response) => { |
| | | console.log(response); |
| | | }) |
| | |
| | | |
| | | /** å é¤æé®æä½ */ |
| | | handleDelete(row) { |
| | | const userIds = row.userId || this.ids; |
| | | const userIds =[ row.id] |
| | | this.$modal |
| | | .confirm('æ¯å¦ç¡®è®¤å é¤ç¨æ·ç¼å·ä¸º"' + userIds + '"çæ°æ®é¡¹ï¼') |
| | | .then(function () { |
| | | return deletepatient(userIds); |
| | | return delExternal(userIds); |
| | | }) |
| | | .then(() => { |
| | | this.getList(); |
| | |
| | | }, |
| | | // æä»¶ä¸ä¼ æåå¤ç |
| | | handleFileSuccess(response, file, fileList) { |
| | | this.upload.open = false; |
| | | // this.upload.open = false; |
| | | this.upload.isUploading = false; |
| | | this.uploadingData = response.rows; |
| | | this.$refs.upload.clearFiles(); |
| | | this.$alert( |
| | | "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + |
| | | response.msg + |
| | | "</div>", |
| | | "导å
¥ç»æ", |
| | | { dangerouslyUseHTMLString: true } |
| | | ); |
| | | this.getList(); |
| | | // this.$alert( |
| | | // "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + |
| | | // response.msg + |
| | | // "</div>", |
| | | // "导å
¥ç»æ", |
| | | // { dangerouslyUseHTMLString: true } |
| | | // ); |
| | | // this.getList(); |
| | | }, |
| | | // æäº¤ä¸ä¼ æä»¶ |
| | | submitFileForm() { |
| | |
| | | submitclose() { |
| | | this.upload.open = false; |
| | | this.dractive = 1; |
| | | this.uploadingData=[], |
| | | this.getList(); |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | cursor: pointer; /* é¼ æ æ¬æµ®æ¶å为æå½¢ */ |
| | | } |
| | | .leftvlue { |
| | | width: 80%; |
| | | width: 100%; |
| | | margin-top: 10px; |
| | | } |
| | | .leftvlue-bg { |
| | |
| | | </el-form> |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <!-- <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | |
| | | v-hasPermi="['system:user:add']" |
| | | >æ°å¢</el-button |
| | | > |
| | | </el-col> |
| | | </el-col> --> |
| | | |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | |
| | | |
| | | <el-row v-if="!amendtag"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="åºçå°" prop="idcardno"> |
| | | <el-form-item label="åºçå°" prop="birthplace"> |
| | | <el-input |
| | | v-model="form.birthplace" |
| | | placeholder="å½ãçãå°å¸ãåºå¿ãè¡éç详ç»ä¿¡æ¯" |
| | |
| | | /> |
| | | </el-form-item> </el-col |
| | | ><el-col :span="12"> |
| | | <el-form-item label="å±
ä½å°" prop="idcardno"> |
| | | <el-form-item label="å±
ä½å°" prop="placeOfResidence"> |
| | | <el-input |
| | | v-model="form.placeOfResidence" |
| | | placeholder="å½ãçãå°å¸ãåºå¿ãè¡éç详ç»ä¿¡æ¯" |
| | |
| | | ], |
| | | |
| | | idcardno: [ |
| | | { required: true, message: "è¯ä»¶å·è½ä¸ºç©º", trigger: "blur" }, |
| | | { required: true, message: "è¯ä»¶å·å¯è½ä¸ºç©º", trigger: "blur" }, |
| | | { |
| | | pattern: |
| | | /^\d{6}((((((19|20)\d{2})(0[13-9]|1[012])(0[1-9]|[12]\d|30))|(((19|20)\d{2})(0[13578]|1[02])31)|((19|20)\d{2})02(0[1-9]|1\d|2[0-8])|((((19|20)([13579][26]|[2468][048]|0[48]))|(2000))0229))\d{3})|((((\d{2})(0[13-9]|1[012])(0[1-9]|[12]\d|30))|((\d{2})(0[13578]|1[02])31)|((\d{2})02(0[1-9]|1\d|2[0-8]))|(([13579][26]|[2468][048]|0[048])0229))\d{2}))(\d|X|x)$/, |
| | |
| | | placeOfResidence: [ |
| | | { required: true, message: "å±
ä½å°ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | ], |
| | | birthplace: [ |
| | | { required: true, message: "åºçå°ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | record: [ |
| | | { |
| | | name: "宣æä»»å¡", |
| | | serviceType:'4', |
| | | templatename:'管饲宣æä¸æ', |
| | | createTime:'2024-11-10', |
| | | finishtime:'2024-11-12', |
| | | createBy:'çæ¿', |
| | | drname:'åæ', |
| | | nurseName:'å¼ æ·ç´', |
| | | excep:'0', |
| | | deptname:'å¼å¸ç§', |
| | | leavehospitaldistrictname:'äºç
åº', |
| | | }, |
| | | { |
| | | name: "éç¥ä»»å¡", |
| | | name: "é访任å¡", |
| | | serviceType:'2', |
| | | templatename:'å¿è¡ç®¡éè®¿ä¸æ', |
| | | createTime:'2024-11-11', |
| | | finishtime:'2024-11-14', |
| | | createBy:'ç« ç¨', |
| | | drname:'åæ', |
| | | nurseName:'æä¸½', |
| | | excep:'0', |
| | | deptname:'å¼å¸ç§', |
| | | leavehospitaldistrictname:'äºç
åº', |
| | | }, |
| | | { |
| | | name: "é®å·è°æ¥", |
| | | }, |
| | | // { |
| | | // name: "é®å·è°æ¥", |
| | | // }, |
| | | ], |
| | | inputVisible: false, |
| | | AddanumberVisible: false, |
| | |
| | | handleFileSuccess(response, file, fileList) { |
| | | this.upload.isUploading = false; |
| | | this.uploadingData = response.rows; |
| | | console.log(response, "æä»¶"); |
| | | |
| | | this.$refs.upload.clearFiles(); |
| | | }, |
| | |
| | | v-for="(item, index) in checkboxlist" |
| | | :key="index" |
| | | :label="item.value" |
| | | @change="checkboxChange($event, item.value)" |
| | | @change="checkboxChange($event, item.value)" |
| | | > |
| | | {{ item.label }}</el-checkbox |
| | | > |
| | |
| | | :disable-transitions="false" |
| | | @close="handleClosetag(tag)" |
| | | > |
| | | ({{index+1}}){{ tag.label }} |
| | | ({{ index + 1 }}){{ tag.label }} |
| | | </el-tag> |
| | | </el-form-item> |
| | | </div> |
| | |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in belongWards" |
| | | :key="item.districtCode" |
| | | :label="item.districtName" |
| | | :value="item.districtCode" |
| | | :key="item.deptCode" |
| | | :label="item.label" |
| | | :value="item.deptCode" |
| | | > |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | |
| | | </el-col> |
| | | |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | :disabled="!patientqueryParams.allhosp" |
| | | @click="handleQuery" |
| | | >æ°å¢</el-button |
| | | > |
| | | <div v-if="form.longTask"> |
| | | <el-tooltip |
| | | |
| | | class="item" |
| | | effect="dark" |
| | | content="é¿æä»»å¡ä¸æ¯ææå¨æ·»å æ£è
ï¼" |
| | | placement="top-start" |
| | | > |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | disabled |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | @click="handleQuery" |
| | | >æ°å¢</el-button |
| | | > |
| | | </el-tooltip> |
| | | </div> |
| | | <div v-else> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | :disabled="!patientqueryParams.allhosp" |
| | | @click="handleQuery" |
| | | >æ°å¢</el-button |
| | | > |
| | | </div> |
| | | </el-col> |
| | | |
| | | <!-- <el-col :span="1.5"> |
| | |
| | | <el-row :gutter="20"> |
| | | <el-col :span="14"> |
| | | <el-form-item label="å¯ç¨ç¶æ" prop="isenable"> |
| | | <el-radio-group v-model="objyl.usestate"> |
| | | <el-radio-group v-model="objyl.isenable"> |
| | | <el-radio |
| | | v-for="(item, index) in usable" |
| | | :label="item.value" |
| | |
| | | class="ruleFormaa" |
| | | v-for="item in belongDepts" |
| | | :key="item.deptCode" |
| | | :label="item.deptName" |
| | | :label="item.label" |
| | | :value="item.deptCode" |
| | | > |
| | | </el-option> |
| | |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in belongWards" |
| | | :key="item.districtCode" |
| | | :label="item.districtName" |
| | | :value="item.districtCode" |
| | | :key="item.deptCode" |
| | | :label="item.label" |
| | | :value="item.deptCode" |
| | | > |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | |
| | | getFollowupclassify, |
| | | depthospgetsonlist, |
| | | } from "@/api/AiCentre/index"; |
| | | import { deptTreeSelect } from "@/api/system/user"; |
| | | |
| | | |
| | | import SFtable from "@/components/SFtable"; //è¡¨æ ¼ç»ä»¶ |
| | | |
| | |
| | | id: "", // |
| | | previewid: "", //任塿¨¡æ¿ä¼ éid |
| | | libName: "", |
| | | username: "", |
| | | objyl: {}, |
| | | overallCase: [], //éæ©æ£è
æ» |
| | | allpids: [], |
| | |
| | | ], |
| | | |
| | | tableLabelwj: [ |
| | | { label: "å建人", width: "", prop: "createBy" }, |
| | | { label: "æ¨¡æ¿æ é¢", width: "", prop: "templateName" }, |
| | | { label: "é访æè¿°", width: "", prop: "note" }, |
| | | { label: "ä¿®æ¹æ¥æ", width: "", prop: "updateTime" }, |
| | | { label: "å建人", width: "", prop: "createBy" }, |
| | | ], |
| | | // åé |
| | | tableLabelvariable: [ |
| | |
| | | templatename: "", |
| | | templateid: null, |
| | | libtemplateid: null, |
| | | kcb: "亲ç±çæ£è
/å®¶å±ï¼æ¨å¥½ï¼æä»¬æ¯æµä¸å»å¤§äºé¢ç廿¤äººåï¼ä¸ºäºæ´å¥½å°äºè§£æ¨çåº·å¤æ
åµï¼è¯·æ¨æ½ä¸ç¹å®è´µæ¶é´ï¼è§çè¿ä»½å®£æèµè®¯ã", |
| | | jsy: "è¯·æ¨æ³¨æä¼æ¯åè¥å
»ï¼çæ´»ä¸è¦å³é¸ç»åï¼éå½é»ç¼ï¼æçéé
ï¼ä¿æå¿æ
èç
ï¼å®æå¤è¯ã飿¬æ¬¡å®£æå
容就å°è¿éï¼ç¥æ¨èº«ä½å¥åº·ï¼", |
| | | kcb: "亲ç±çæ£è
/å®¶å±ï¼æ¨å¥½ï¼æä»¬æ¯æµä¸å»å¤§äºé¢ç廿¤äººåï¼ä¸ºäºæ´å¥½å°äºè§£æ¨çåº·å¤æ
åµï¼è¯·æ¨æ½ä¸ç¹å®è´µæ¶é´ï¼è¿è¡æ¬æ¬¡å访æå¡ã", |
| | | jsy: "è¯·æ¨æ³¨æä¼æ¯åè¥å
»ï¼çæ´»ä¸è¦å³é¸ç»åï¼éå½é»ç¼ï¼æçéé
ï¼ä¿æå¿æ
èç
ï¼å®æå¤è¯ã飿¬æ¬¡å访å
容就å°è¿éï¼ç¥æ¨èº«ä½å¥åº·ï¼", |
| | | }, |
| | | taskoptions: [ |
| | | { |
| | |
| | | // ç§å®¤é¢åºæ¥è¯¢å
¥å |
| | | queryParamsdept: { |
| | | tempid: "", |
| | | type: 11, |
| | | type: 2, |
| | | }, |
| | | quote: false, |
| | | serviceType: null, |
| | |
| | | |
| | | created() { |
| | | this.appraiselist = store.getters.appraiselist; |
| | | this.belongWards = store.getters.belongWards; |
| | | this.belongDepts = store.getters.belongDepts; |
| | | // this.belongWards = store.getters.belongWards; |
| | | // this.belongDepts = store.getters.belongDepts; |
| | | this.username = store.getters.name; |
| | | this.mode = store.getters.Askmode; |
| | | this.id = this.$route.query.id; |
| | | this.newadd = this.$route.query.newadd; |
| | |
| | | this.form.serviceType = Number(this.$route.query.serviceType); |
| | | this.Acquisitiontype(); |
| | | this.Getdetails(); |
| | | this.getDeptTree(); |
| | | this.getFollowupclassify(); |
| | | }, |
| | | activated() { |
| | | if (this.id != this.$route.query.id) { |
| | | this.Acquisitiontype(); |
| | | this.Getdetails(); |
| | | this.getDeptTree(); |
| | | this.getFollowupclassify(); |
| | | } |
| | | }, |
| | |
| | | result[item.name] = innerObj; |
| | | }); |
| | | return result; |
| | | }, |
| | | getDeptTree() { |
| | | // ç§å®¤å表 |
| | | deptTreeSelect().then((response) => { |
| | | let flatArray = this.flattenArray(response.data); |
| | | this.belongWards = flatArray; |
| | | this.belongDepts = flatArray; |
| | | }); |
| | | }, |
| | | flattenArray(multiArray) { |
| | | let result = []; |
| | | |
| | | // éå½å½æ°ï¼ç¨äºå°å¤çº§æ°ç»è½¬æ¢ä¸ºä¸ç»´æ°ç»ï¼åªå
嫿åºå±çå
ç´ |
| | | function flatten(element) { |
| | | // 妿å½åå
ç´ æåå
ç´ ï¼ç»§ç»éå½ |
| | | if (element.children && element.children.length > 0) { |
| | | element.children.forEach((child) => flatten(child)); |
| | | } else { |
| | | // å
éå
ç´ ä»¥é¿å
ä¿®æ¹åå§æ°æ® |
| | | let item = JSON.parse(JSON.stringify(element)); |
| | | result.push(item); // å°æåºå±çå
ç´ æ·»å å°ç»ææ°ç» |
| | | } |
| | | } |
| | | |
| | | // ä»é¡¶å±å
ç´ å¼å§éå½ |
| | | multiArray.forEach((element) => flatten(element)); |
| | | return result; // è¿ååªå
嫿åºå±å
ç´ çä¸ç»´æ°ç» |
| | | }, |
| | | // è·åå½åç±»å |
| | | Acquisitiontype() { |
| | |
| | | xh: 1, |
| | | }, |
| | | ]; |
| | | if ( |
| | | (this.belongWards[0] || this.belongWards[0]) && |
| | | this.username == "andmin" |
| | | ) { |
| | | if (this.tempbelongWards[0] || this.tempbelongWards[0]) { |
| | | } else { |
| | | this.$modal.msgError("è¯·éæ©ç§å®¤æç
åº"); |
| | | return; |
| | | } |
| | | } |
| | | if (this.checkList[0]) { |
| | | this.form.preachform = this.checkList.join(","); |
| | | } else { |
| | |
| | | if (this.form.longTask) { |
| | | this.objyl.longTemp = 1; |
| | | } |
| | | this.queryParamsdept.type = 1; |
| | | this.queryParamsdept.type = 2; |
| | | this.queryParamsdept.tempid = row.id; |
| | | this.listDept(); |
| | | |
| | |
| | | if (this.objyl.suitway) |
| | | this.objyl.suitway = this.objyl.suitway.split(","); |
| | | this.queryParamsdept.tempid = this.form.templateid; |
| | | this.queryParamsdept.type = 11; |
| | | this.queryParamsdept.type = 21; |
| | | this.getillness(this.form.libtemplateid); |
| | | // æ§è¡è·åè¯¥ä»»å¡æ¨¡æ¿id |
| | | this.listDept(); |
| | |
| | | { label: "åºé¢æ¥æ", width: "150", prop: "endtime" }, |
| | | { label: "æ£è
", width: "", prop: "name" }, |
| | | { label: "身份è¯", width: "200", prop: "idcardno" }, |
| | | { label: "çµè¯å·ç ", width: "180", prop: "telcode" }, |
| | | { label: "çµè¯å·ç ", width: "180", prop: "telcode" }, |
| | | { label: "æ§å«", width: "", prop: "sex" }, |
| | | { label: "å¹´é¾", width: "", prop: "age" }, |
| | | { label: "åºé¢å¤©æ°", width: "", prop: "endDay" }, |
| | |
| | | { label: "å
¥é¢æ¥æ", width: "150", prop: "starttime" }, |
| | | { label: "æ£è
", width: "", prop: "name" }, |
| | | { label: "身份è¯", width: "200", prop: "idcardno" }, |
| | | { label: "çµè¯å·ç ", width: "180", prop: "telcode" }, |
| | | { label: "çµè¯å·ç ", width: "180", prop: "telcode" }, |
| | | { label: "æ§å«", width: "", prop: "sex" }, |
| | | { label: "å¹´é¾", width: "", prop: "age" }, |
| | | { label: "åºé¢å¤©æ°", width: "", prop: "endDay" }, |
| | |
| | | this.patientqueryParams.cry = 1; |
| | | } else if (this.patientqueryParams.allhosp == 4) { |
| | | this.patientqueryParams.cry = 0; |
| | | this.patientqueryParams.allhosp = "1"; |
| | | } |
| | | // æ¥æºå¤æ |
| | | |
| | |
| | | templatename: "", |
| | | templateid: null, |
| | | libtemplateid: null, |
| | | kcb: "亲ç±çæ£è
/å®¶å±ï¼æ¨å¥½ï¼æä»¬æ¯æµä¸å»å¤§äºé¢ç廿¤äººåï¼ä¸ºäºæ´å¥½å°äºè§£æ¨çåº·å¤æ
åµï¼è¯·æ¨æ½ä¸ç¹å®è´µæ¶é´ï¼å®æè¿ä»½é访é访ã", |
| | | kcb: "亲ç±çæ£è
/å®¶å±ï¼æ¨å¥½ï¼æä»¬æ¯æµä¸å»å¤§äºé¢ç廿¤äººåï¼ä¸ºäºæ´å¥½å°äºè§£æ¨çåº·å¤æ
åµï¼è¯·æ¨æ½ä¸ç¹å®è´µæ¶é´ï¼å®æè¿ä»½é访ã", |
| | | jsy: "è¯·æ¨æ³¨æä¼æ¯åè¥å
»ï¼çæ´»ä¸è¦å³é¸ç»åï¼éå½é»ç¼ï¼æçéé
ï¼ä¿æå¿æ
èç
ï¼å®æå¤è¯ã飿¬æ¬¡å访就å°è¿éï¼ç¥æ¨èº«ä½å¥åº·ï¼", |
| | | }; |
| | | |
| | |
| | | this.objyl.ivrTaskTemplateScriptVOList = |
| | | this.objyl.ivrLibaTemplateScriptVOList; |
| | | this.objyl.isoperation = 1; |
| | | if (this.form.id) { |
| | | this.objyl.taskid=this.form.id |
| | | } |
| | | if (this.form.templateid) { |
| | | deleteTaskparticty(this.form.templateid).then((res) => { |
| | | if (res.code == 200) { |
| | |
| | | } |
| | | }); |
| | | }, |
| | | checkboxChange(checked, value){ |
| | | |
| | | }, |
| | | checkboxChange(checked, value) {}, |
| | | // æå¡å½¢å¼éå |
| | | handleCheckedCitiesChange(row) { |
| | | console.log(row, "æå¡"); |
| | |
| | | console.log(tag, "tag"); |
| | | console.log(this.foncheckList, "foncheckList"); |
| | | this.checkList = this.checkList.filter((item) => item != tag.value); |
| | | this.foncheckList = this.foncheckList.filter(obj => obj.value !== tag.value); |
| | | this.foncheckList = this.foncheckList.filter( |
| | | (obj) => obj.value !== tag.value |
| | | ); |
| | | console.log(this.checkList, "checkList"); |
| | | |
| | | }, |
| | | // ç§å®¤å¤ç |
| | | Departmenttreatment() { |
| | |
| | | longTemp: this.form.longTask, |
| | | deptCode: item, |
| | | tempid: null, |
| | | type: 11, |
| | | type: 21, |
| | | }); |
| | | }); |
| | | |
| | |
| | | longTemp: this.form.longTask, |
| | | deptCode: item, |
| | | tempid: null, |
| | | type: 11, |
| | | type: 21, |
| | | }); |
| | | }); |
| | | console.log(33); |
| | |
| | | <el-col :span="12"> |
| | | <el-form-item label="å¯ç¨ç¶æ" prop="region"> |
| | | <el-select |
| | | v-model="ruleForm.usestate" |
| | | v-model="ruleForm.isenable" |
| | | size="medium" |
| | | placeholder="è¯·éæ©" |
| | | > |
| | |
| | | v-if="topicobj.scriptType == 1" |
| | | > |
| | | <el-radio-group v-model="topicobj.branchFlag"> |
| | | <el-radio :label="1">æ¯</el-radio> |
| | | <el-radio :label="0">å¦</el-radio> |
| | | <el-radio :label="'1'">æ¯</el-radio> |
| | | <el-radio :label="'0'">å¦</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item label="éä¸æç¤º" v-if="topicobj.scriptType != 1"> |
| | |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="é®é¢ç±»å" |
| | | align="center" |
| | | key="valueType" |
| | | prop="valueType" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag |
| | | :options="valuetypes" |
| | | :value="scope.row.valueType" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="é项å
容" |
| | | align="center" |
| | | key="targetoptions" |
| | |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="topicxq"> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="20" |
| | | ><el-form-item label="å¬ä¸æ¸
è¯æ¯"> |
| | | <el-input |
| | | style="width: 400px" |
| | | type="textarea" |
| | | placeholder="请è¾å
¥" |
| | | v-model="indexform.noClearlyText" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="å¬ä¸æ¸
è¯é³" prop="verbaltrickyy"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | :action="uploadImgUrl" |
| | | :show-file-list="false" |
| | | :headers="headers" |
| | | :on-success=" |
| | | (response, file) => |
| | | handleChange(response, file, 4) |
| | | " |
| | | accept=".wav,.mp3" |
| | | :limit="1" |
| | | > |
| | | <el-button size="small" type="primary" |
| | | >ç¹å»ä¸ä¼ </el-button |
| | | > |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <span |
| | | style="font-size: 12px" |
| | | v-if="indexform.noclearlyvoice" |
| | | >{{ |
| | | indexform.noclearlyvoice.substring( |
| | | indexform.noclearlyvoice.lastIndexOf("/") + 1 |
| | | ) |
| | | }}</span |
| | | > |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <mini-audio |
| | | :audio-source=" |
| | | indexform.noclearlyvoice |
| | | ? indexform.noclearlyvoice |
| | | : 'https://example.com/example.mp3' |
| | | " |
| | | ></mini-audio> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="topicxq"> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="20" |
| | |
| | | :audio-source=" |
| | | indexform.sliencevoice |
| | | ? indexform.sliencevoice |
| | | : 'https://example.com/example.mp3' |
| | | " |
| | | ></mini-audio> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="topicxq"> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="20" |
| | | ><el-form-item label="å¬ä¸æ¸
è¯æ¯"> |
| | | <el-input |
| | | style="width: 400px" |
| | | type="textarea" |
| | | placeholder="请è¾å
¥" |
| | | v-model="indexform.noClearlyText" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="å¬ä¸æ¸
è¯é³" prop="verbaltrickyy"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | :action="uploadImgUrl" |
| | | :show-file-list="false" |
| | | :headers="headers" |
| | | :on-success=" |
| | | (response, file) => |
| | | handleChange(response, file, 4) |
| | | " |
| | | accept=".wav,.mp3" |
| | | :limit="1" |
| | | > |
| | | <el-button size="small" type="primary" |
| | | >ç¹å»ä¸ä¼ </el-button |
| | | > |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <span |
| | | style="font-size: 12px" |
| | | v-if="indexform.noclearlyvoice" |
| | | >{{ |
| | | indexform.noclearlyvoice.substring( |
| | | indexform.noclearlyvoice.lastIndexOf("/") + 1 |
| | | ) |
| | | }}</span |
| | | > |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <mini-audio |
| | | :audio-source=" |
| | | indexform.noclearlyvoice |
| | | ? indexform.noclearlyvoice |
| | | : 'https://example.com/example.mp3' |
| | | " |
| | | ></mini-audio> |
| | |
| | | ruleForm: { |
| | | templateName: "", |
| | | revisitBefore: |
| | | "亲ç±çæ£è
/å®¶å±ï¼æ¨å¥½ï¼æä»¬æ¯æµä¸å»å¤§äºé¢ç廿¤äººåï¼ä¸ºäºæ´å¥½å°äºè§£æ¨çåº·å¤æ
åµï¼è¯·æ¨æ½ä¸ç¹å®è´µæ¶é´ï¼å®æè¿ä»½é访é访ã", |
| | | "亲ç±çæ£è
/å®¶å±ï¼æ¨å¥½ï¼æä»¬æ¯æµä¸å»å¤§äºé¢ç廿¤äººåï¼ä¸ºäºæ´å¥½å°äºè§£æ¨çåº·å¤æ
åµï¼è¯·æ¨æ½ä¸ç¹å®è´µæ¶é´ï¼å®æè¿ä»½é访ã", |
| | | revisitAfter: |
| | | "è¯·æ¨æ³¨æä¼æ¯åè¥å
»ï¼çæ´»ä¸è¦å³é¸ç»åï¼éå½é»ç¼ï¼æçéé
ï¼ä¿æå¿æ
èç
ï¼å®æå¤è¯ã飿¬æ¬¡å访就å°è¿éï¼ç¥æ¨èº«ä½å¥åº·ï¼", |
| | | ivrLibaTemplateTagList: [], |
| | |
| | | usable: [], |
| | | required: [], |
| | | valuetype: [], |
| | | valuetypes: [], |
| | | askvaluetype: [], |
| | | mode: [], |
| | | inputVisible: false, |
| | |
| | | this.usable = store.getters.usable; |
| | | this.required = store.getters.required; |
| | | this.valuetype = store.getters.valuetype; |
| | | this.valuetypes = store.getters.valuetypelb; |
| | | this.askvaluetype = store.getters.askvaluetype; |
| | | this.languagelist = store.getters.languagelist; |
| | | this.courtyardlist = store.getters.courtyardlist; |
| | |
| | | console.log(2211); |
| | | this.ruleForm = res.data; |
| | | if (this.ruleForm.deptNames) |
| | | this.tempDetpRelevanceslist = JSON.parse(this.ruleForm.deptNames); |
| | | // this.tempDetpRelevanceslist = JSON.parse(this.ruleForm.deptNames); |
| | | this.ruleForm.suitway = this.ruleForm.suitway.split(","); |
| | | if (this.ruleForm.campus) |
| | | this.ruleForm.campus = this.ruleForm.campus.split(","); |
| | |
| | | this.ruleForm.isoperation = 2; |
| | | this.ruleForm.tempDetpRelevances = []; |
| | | compileFollowup(this.ruleForm).then((res) => { |
| | | if (res.code==200) { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("ä¿®æ¹æå"); |
| | | this.confirmillness(); |
| | | this.putbelongDepts(this.id); |
| | | // this.$modal.closeLoading(); |
| | | // this.$router.go(-1); |
| | | window.location.reload(); |
| | | }else{ |
| | | this.confirmillness(); |
| | | this.putbelongDepts(this.id); |
| | | // this.$modal.closeLoading(); |
| | | // this.$router.go(-1); |
| | | window.location.reload(); |
| | | } else { |
| | | this.$modal.closeLoading(); |
| | | } |
| | | |
| | | }); |
| | | } else { |
| | | this.ruleForm.isoperation = 1; |
| | |
| | | : "1.0"; |
| | | this.ruleForm.tempDetpRelevances = []; |
| | | compileFollowup(this.ruleForm).then((res) => { |
| | | if (res.code==200) { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("æ°å¢æå"); |
| | | this.confirmillness(res.data); |
| | | this.putbelongDepts(res.data); |
| | | this.$modal.closeLoading(); |
| | | this.$router.go(-1); |
| | | }else{ |
| | | } else { |
| | | this.$modal.closeLoading(); |
| | | } |
| | | |
| | | }); |
| | | } |
| | | }, |
| | |
| | | }, |
| | | // é®é¢æåº |
| | | sortFn() { |
| | | console.log(this.ruleForm.ivrLibaTemplateScriptVOList); |
| | | |
| | | this.ruleForm.ivrLibaTemplateScriptVOList.forEach((item, index) => { |
| | | item.sort = Number(index) + 1; |
| | | console.log(this.ruleForm.ivrLibaTemplateScriptVOList.length); |
| | |
| | | } else { |
| | | item.nextScriptno = item.sort + 1; |
| | | } |
| | | if (item.ivrLibaScriptTargetoptionList) { |
| | | if (item.ivrLibaScriptTargetoptionList&&!item.branchFlag) { |
| | | item.ivrLibaScriptTargetoptionList.forEach((items) => { |
| | | items.nextQuestion = Number(item.sort) + 1; |
| | | }); |
| | |
| | | console.log(this.ruleForm.ivrLibaTemplateScriptVOList); |
| | | }, |
| | | // -----------------------è¯æ¯é项 |
| | | deloption() {}, |
| | | deloption(item) { |
| | | const index = this.topicobj.ivrLibaScriptTargetoptionList.indexOf(item); |
| | | if (index != -1) { |
| | | if (item.id) { |
| | | console.log(item, "chunz"); |
| | | item.isoperation = 3; |
| | | console.log(this.topicobj.ivrLibaScriptTargetoptionList); |
| | | this.$forceUpdate(); |
| | | } else { |
| | | this.topicobj.ivrLibaScriptTargetoptionList.splice(index, 1); // ä»ç´¢å¼ä½ç½®å é¤ä¸ä¸ªå
ç´ |
| | | } |
| | | // this.sortFn(); |
| | | } else { |
| | | console.log("æªæ¾å°è¯¥å¯¹è±¡"); |
| | | } |
| | | }, |
| | | // ä¿®æ¹é¢ç®ä¿¡æ¯ |
| | | Submittopicobj() { |
| | | this.$modal |
| | |
| | | this.drawer = false; |
| | | |
| | | this.sortFn(); |
| | | this.$modal.msgSuccess("é¢ç®æ°å¢æåï¼ä¿å模æ¿å¤±æ"); |
| | | this.$modal.msgSuccess("é¢ç®æ°å¢æåï¼ä¿å模æ¿çæ"); |
| | | }); |
| | | }, |
| | | |
| | |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="è¯è¨" prop="status"> |
| | | <el-select v-model="queryParams.language" placeholder="è¯·éæ©"> |
| | | <el-option |
| | |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="mode" :value="scope.row.suitway" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="é®é¢ç±»å" |
| | | align="center" |
| | | key="valueType" |
| | | prop="valueType" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="valuetype" :value="scope.row.valueType" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | |
| | | mode: [], |
| | | languagelist: [], |
| | | valuetype:[], |
| | | qyoptions: [], |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | |
| | | this.getDeptTree(); |
| | | this.mode = store.getters.mode; |
| | | this.languagelist = store.getters.languagelist; |
| | | this.valuetype = store.getters.valuetypelb; |
| | | this.qyoptions = store.getters.usable; |
| | | }, |
| | | |
| | |
| | | @focus="handleInput('scriptContent')" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="é®é¢æè¿°" prop="scriptDesc"> |
| | | <el-input |
| | | :rows="1" |
| | | type="textarea" |
| | | id="scriptDesc" |
| | | show-word-limit |
| | | placeholder="请è¾å
¥æè¿°å
容" |
| | | v-model.sync="indexform.scriptDesc" |
| | | /> |
| | | </el-form-item> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="è¯è¨" prop="deptId"> |
| | |
| | | // detail: https://cli.vuejs.org/config/#devserver-proxy |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: `http://192.168.168.60:8095`, |
| | | target: `http://10.202.20.185:8095`, |
| | | // target: `http://10.202.20.185:8095`, |
| | | target: `http://192.168.2.13:8095`, |
| | | // target:`http://localhost:8095`, |
| | | // target: `http://192.168.101.135:8095`, |
| | | // target: `http://192.168.101.166:8093`, |