已添加2个文件
已删除66个文件
已修改11个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from "@/utils/request"; |
| | | |
| | | // æ¥è¯¢é访模çå表 |
| | | export function getFollowuplist(data) { |
| | | return request({ |
| | | url: "/smartor/template/list", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // é访模ç详æ
|
| | | export function Followupinfo(Id) { |
| | | return request({ |
| | | url: "/smartor/template/" + Id, |
| | | method: "get", |
| | | }); |
| | | } |
| | | // å é¤é访模ç |
| | | export function delFollowupinfo(Id) { |
| | | return request({ |
| | | url: "/smartor/template/remove/" + Id, |
| | | method: "get", |
| | | }); |
| | | } |
| | | // æ°å¢æä¿®æ¹é访模ç |
| | | export function compileFollowup(data) { |
| | | return request({ |
| | | url: "/smartor/template/saveOrUpdateScript", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // æ¥è¯¢é访模ç详æ
å表 |
| | | export function getvFollowup(data) { |
| | | return request({ |
| | | url: "/smartor/template/selectInfoByCondition", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | |
| | | // æ°å¢é访模çåç±»æ |
| | | export function addFollowupclassify(data) { |
| | | return request({ |
| | | url: "/smartor/templateassort/addtree", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // å é¤é访模çåç±» |
| | | export function delFollowupclassify(Id) { |
| | | return request({ |
| | | url: "/smartor/templateassort/remove/" + Id, |
| | | method: "get", |
| | | }); |
| | | } |
| | | // æ¥è¯¢é访模çåç±»æ |
| | | export function getFollowupclassify(data) { |
| | | return request({ |
| | | url: "/smartor/templateassort/selectIvrLibaTemplateAssortList", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from "@/utils/request"; |
| | | |
| | | // æ¥è¯¢é访é®é¢å表 |
| | | export function getverbaltricklist(data) { |
| | | return request({ |
| | | url: "/smartor/script/list", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // é访é®é¢è¯¦æ
|
| | | export function verbaltrickinfo(Id) { |
| | | return request({ |
| | | url: "/smartor/script/getInfo/" + Id, |
| | | method: "get", |
| | | }); |
| | | } |
| | | // å é¤é访é®é¢ |
| | | export function delverbaltrickinfo(Id) { |
| | | return request({ |
| | | url: "/smartor/script/remove/" + Id, |
| | | method: "get", |
| | | }); |
| | | } |
| | | // æ°å¢æä¿®æ¹é访é®é¢ |
| | | export function compileverbaltrick(data) { |
| | | return request({ |
| | | url: "/smartor/script/saveOrUpdateScript", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // æ¥è¯¢é访é®é¢è¯¦æ
å表 |
| | | export function getverbaltrick(data) { |
| | | return request({ |
| | | url: "/smartor/script/selectInfoByCondition", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // ä¿®æ¹é访é®é¢åç±» |
| | | export function compileverbaltrickclassify(data) { |
| | | return request({ |
| | | url: "/smartor/scriptassort/edit", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // æ°å¢é访é®é¢åç±» |
| | | export function addbaltrickclassify(data) { |
| | | return request({ |
| | | url: "/smartor/scriptassort/addtree", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // å é¤é访é®é¢åç±» |
| | | export function delbaltrickclassify(Id) { |
| | | return request({ |
| | | url: "/smartor/scriptassort/remove/" + Id, |
| | | method: "get", |
| | | }); |
| | | } |
| | | // æ¥è¯¢é访é®é¢åç±»æ |
| | | export function getbaltrickclassify(data) { |
| | | return request({ |
| | | url: "/smartor/scriptassort/selectIvrLibaScriptAssortList", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | |
| | | export * from './indicator' |
| | | export * from './Problemspeaking' |
| | | export * from './Followup' |
| | |
| | | data: data, |
| | | }); |
| | | } |
| | | // æ¥è¯¢ææ åå
¶å
³èé项 |
| | | export function gettargetInfolist(data) { |
| | | return request({ |
| | | url: "/smartor/target/list", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // ææ è¯¦æ
|
| | | export function particulartarget(Id) { |
| | | return request({ |
| | |
| | | method: "get", |
| | | }); |
| | | } |
| | | // æ¥è¯¢ææ åç±» |
| | | export function selectIvrLibaTargetAssortList(data) { |
| | | return request({ |
| | | url: "/smartor/assort/selectIvrLibaTargetAssortList", |
| | | method: "post", |
| | | data:data, |
| | | }); |
| | | } |
| | | // æ°å¢ææ åç±» |
| | | export function addselectIvrLibaTargetAssort(data) { |
| | | return request({ |
| | | url: "/smartor/assort/add", |
| | | method: "post", |
| | | data:data, |
| | | }); |
| | | } |
| | | // å 餿æ åç±» |
| | | export function delselectIvrLibaTargetAssort(id) { |
| | | return request({ |
| | | url: "/smartor/assort/remove/" + id, |
| | | method: "get", |
| | | }); |
| | | } |
| | | // æ°å¢ææ åç±»æ |
| | | export function addtreeselectIvrLibaTargetAssort(data) { |
| | | return request({ |
| | | url: "/smartor/assort/addtree", |
| | | method: "post", |
| | | data:data, |
| | | }); |
| | | } |
| | | // æ°å¢ææ åç±»æ |
| | | export function gettagerlist(data) { |
| | | return request({ |
| | | url: "/smartor/target/list", |
| | | method: "post", |
| | | data:data, |
| | | }); |
| | | } |
| | | |
| | |
| | | // ä¿®æ¹æ£è
æ¡£æ¡ |
| | | export function alterpatient(data) { |
| | | return request({ |
| | | url: '/smartor/patarchive/edit', |
| | | url: '/smartor/patarchive/saveOrUpdatePatInfo', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | |
| | | }, |
| | | }, |
| | | ], |
| | | // ä¼å
æ§è¡ |
| | | precedencetype: (state) => [ |
| | | { |
| | | value: '0', |
| | | label: "è¯é³ä¼å
", |
| | | raw: { |
| | | cssClass: "", |
| | | listClass: "", |
| | | }, |
| | | }, |
| | | { |
| | | value: '1', |
| | | label: "æåä¼å
", |
| | | raw: { |
| | | cssClass: "", |
| | | listClass: "", |
| | | }, |
| | | }, |
| | | ], |
| | | // éç¨é¢åº |
| | | courtyardlist: (state) => [ |
| | | { |
| | | value: '1', |
| | | label: "乿±é¢åº", |
| | | raw: { |
| | | cssClass: "", |
| | | listClass: "", |
| | | }, |
| | | }, |
| | | { |
| | | value: '2', |
| | | label: "åºæ¥é¢åº", |
| | | raw: { |
| | | cssClass: "", |
| | | listClass: "", |
| | | }, |
| | | }, |
| | | { |
| | | value: '3', |
| | | label: "使é¢åº", |
| | | raw: { |
| | | cssClass: "", |
| | | listClass: "", |
| | | }, |
| | | }, |
| | | ], |
| | | // è¯è¨ |
| | | languagelist: (state) => [ |
| | | { |
| | | value: "1", |
| | | value: "æ®éè¯", |
| | | label: "æ®éè¯", |
| | | raw: { |
| | | cssClass: "", |
| | |
| | | }, |
| | | }, |
| | | { |
| | | value: "2", |
| | | value: "粤è¯", |
| | | label: "粤è¯", |
| | | raw: { |
| | | cssClass: "", |
| | |
| | | }, |
| | | }, |
| | | { |
| | | value: "3", |
| | | value: "è±è¯", |
| | | label: "è±è¯", |
| | | raw: { |
| | | cssClass: "", |
| | |
| | | }, |
| | | }, |
| | | ],}; |
| | | |
| | | export default getters; |
| | |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span v-for="item in scope.row.tagList">{{ item }} </span> |
| | | <span v-for="item in scope.row.tagList">{{ item.tagname }} </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | <el-col :span="24" |
| | | ><div class="xinz-inf"> |
| | | <el-tag |
| | | :key="tag" |
| | | :key="tag.tagid" |
| | | type="success" |
| | | v-for="tag in dynamicTags" |
| | | closable |
| | | :disable-transitions="false" |
| | | @close="handleClose(tag)" |
| | | > |
| | | {{ tag }} |
| | | {{ tag.tagname }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="inputVisible" |
| | | @change="handleInputConfirm" |
| | | :remote-method="remoteMethod" |
| | | remote |
| | | filterable |
| | | allow-create |
| | | default-first-option |
| | | placeholder="è¯·éæ©" |
| | | placeholder="è¯·éæ©/æ¥è¯¢" |
| | | :loading="loading" |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.tagname" |
| | | :key="item.tagid" |
| | | :label="item.tagname" |
| | | :value="item.tagname" |
| | | > |
| | |
| | | titletb: "æ°å¢èç³»æ¹å¼", |
| | | activeTab: "userinfo", |
| | | id: "", |
| | | loading: false, |
| | | activeName: "health", //ä¸ç±»å¯¼èª |
| | | sonactiveName: "outpatient", //å¥åº·çæµå¯¼èª |
| | | sontwoactiveName: "blood", //å»çæ¡£æ¡å¯¼èª |
| | |
| | | this.tableData = response.rows; |
| | | }); |
| | | }, |
| | | processElement(element) { |
| | | return { ...element, isoperation: 0 }; |
| | | }, |
| | | // è·ååºç¡ä¿¡æ¯ |
| | | getuserinfo() { |
| | | const queryParams = { |
| | |
| | | // æ£è
åºç¡ä¿¡æ¯ |
| | | messagelistpatient(queryParams).then((response) => { |
| | | this.userform = response.rows[0]; |
| | | this.dynamicTags = response.rows[0].tagList; |
| | | // this.dynamicTags = response.rows[0].tagList; |
| | | this.dynamicTags = response.rows[0].tagList.map(this.processElement); |
| | | }); |
| | | // ç
å²ä¿¡æ¯ |
| | | getmedicalhistory({ pid: this.id }).then((res) => { |
| | |
| | | }, |
| | | // ä¿åæ£è
æ¡£æ¡ |
| | | savefile() { |
| | | this.userform.tagList = this.dynamicTags; |
| | | // this.userform.tagList = this.dynamicTags; |
| | | this.userform.isoperation = 2; |
| | | alterpatient(this.userform).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("åºç¡ä¿¡æ¯ä¿åæå"); |
| | |
| | | this.$modal.msgError("åºç¡ä¿¡æ¯ä¿®æ¹å¤±è´¥"); |
| | | } |
| | | }); |
| | | // ç
å² |
| | | // ç
岿¯ |
| | | this.medicalhistory(); |
| | | }, |
| | | // ç
å² |
| | |
| | | .catch(() => {}); |
| | | }, |
| | | tableRowClassName({ row, rowIndex }) { |
| | | console.log(row); |
| | | if (row.isdefault == "1") { |
| | | return "warning-row"; |
| | | } |
| | | return ""; |
| | | }, |
| | | // tab忢 |
| | | handleClick(tab, event) { |
| | | console.log(tab, event); |
| | | }, |
| | | // èç³»æ¹å¼æ°å¢ |
| | | Addanumber() {}, |
| | | // æ ç¾-------------------------- |
| | | /** æ¥è¯¢æ ç¾å表 */ |
| | | gettabList() { |
| | | const tagqueryParams = { |
| | |
| | | this.options = response.rows; |
| | | }); |
| | | }, |
| | | |
| | | // tab忢 |
| | | handleClick(tab, event) { |
| | | console.log(tab, event); |
| | | remoteMethod(value) { |
| | | const illnessqueryParams = { |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | | tagname: value, |
| | | tagcategoryid: "0", |
| | | }; |
| | | this.loading = true; |
| | | setTimeout(() => { |
| | | this.loading = false; |
| | | listtag(illnessqueryParams).then((response) => { |
| | | this.options = response.rows; |
| | | }); |
| | | }, 200); |
| | | }, |
| | | // èç³»æ¹å¼æ°å¢ |
| | | Addanumber() {}, |
| | | handleClose(tag) { |
| | | const lindex = this.dynamicTags.indexOf(tag); |
| | | this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1); |
| | | this.userform.tagList[lindex].isoperation = 3; |
| | | }, |
| | | |
| | | showInput() { |
| | | this.inputVisible = true; |
| | | this.$nextTick((_) => { |
| | | this.$refs.saveTagInput.$refs.input.focus(); |
| | | }); |
| | | // this.$nextTick((_) => { |
| | | // this.$refs.saveTagInput.$refs.input.focus(); |
| | | // }); |
| | | }, |
| | | |
| | | handleInputConfirm() { |
| | | let inputValue = this.inputValue; |
| | | if (inputValue) { |
| | | this.dynamicTags.push(inputValue); |
| | | let tagvalue = {}; |
| | | let tagname = this.inputValue; |
| | | if (tagname) { |
| | | listtag({ |
| | | pageNum: 1, |
| | | pageSize: 1000, |
| | | tagcategoryid: "0", |
| | | tagname: tagname, |
| | | }).then((res) => { |
| | | if (res.rows[0]) { |
| | | tagvalue = res.rows[0]; |
| | | tagvalue.isoperation = 1; |
| | | } else { |
| | | tagvalue = { |
| | | tagname: tagname, |
| | | isoperation: 1, |
| | | }; |
| | | } |
| | | console.log(tagvalue); |
| | | this.userform.tagList.push(tagvalue); |
| | | this.dynamicTags.push(tagvalue); |
| | | console.log(this.userform.tagList); |
| | | console.log(this.dynamicTags); |
| | | }); |
| | | } |
| | | this.inputVisible = false; |
| | | this.inputValue = ""; |
| | |
| | | } |
| | | .xinz-inf { |
| | | font-size: 18px; |
| | | white-space: nowrap; |
| | | // white-space: nowrap; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | |
| | |
| | | class="input-with-select" |
| | | size="medium " |
| | | > |
| | | <el-button |
| | | @click="sidecolumnss" |
| | | slot="append" |
| | | icon="el-icon-search" |
| | | ></el-button> |
| | | </el-input> |
| | | </div> |
| | | <div class="bottom-fl"> |
| | | <el-menu |
| | | default-active="3" |
| | | class="el-menu-vertical-demo" |
| | | @open="handleOpen" |
| | | @close="handleClose" |
| | | @select="handleSelect" |
| | | > |
| | | <el-submenu index="1"> |
| | | <template slot="title"> |
| | | <i class="el-icon-location"></i> |
| | | <span>åç±»ä¸</span> |
| | | </template> |
| | | |
| | | <el-menu-item index="1-1">é项1</el-menu-item> |
| | | <el-menu-item index="1-2">é项2</el-menu-item> |
| | | <el-menu-item index="1-3">é项3</el-menu-item> |
| | | <el-menu-item index="1-4">é项3</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="2"> |
| | | <template slot="title"> |
| | | <i class="el-icon-menu"></i> |
| | | <span>åç±»äº</span> |
| | | </template> |
| | | <el-menu-item index="2-1">é项1</el-menu-item> |
| | | <el-menu-item index="2-2">é项2</el-menu-item> |
| | | <el-menu-item index="2-3">é项3</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="3"> |
| | | <template slot="title"> |
| | | <i class="el-icon-document"></i> |
| | | <span>åç±»ä¸</span> |
| | | </template> |
| | | <el-menu-item index="2-1">é项1</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="4"> |
| | | <template slot="title"> |
| | | <i class="el-icon-setting"></i> |
| | | <span>åç±»å</span> |
| | | </template> |
| | | <el-menu-item index="2-1">é项1</el-menu-item> |
| | | </el-submenu> |
| | | </el-menu> |
| | | <div class="head-container" style="margin-top: 20px"> |
| | | <el-tree |
| | | :data="deptOptions" |
| | | :props="defaultProps" |
| | | :expand-on-click-node="false" |
| | | :filter-node-method="filterNode" |
| | | ref="tree" |
| | | node-key="id" |
| | | default-expand-all |
| | | highlight-current |
| | | @node-click="handleNodeClick" |
| | | > |
| | | <span class="custom-tree-node" slot-scope="{ node, data }"> |
| | | <span>{{ node.label }}</span> |
| | | <span> |
| | | <el-button |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | circle |
| | | size="mini" |
| | | @click="() => remove(node, data)" |
| | | > |
| | | </el-button> |
| | | </span> |
| | | </span> |
| | | </el-tree> |
| | | </div> |
| | | </div> |
| | | <!-- å³ä¾§æ°æ® --> |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <!-- æ·»å ç±»å«å¼¹æ¡ --> |
| | | <el-dialog |
| | | :title="amendtag ? 'ä¿®æ¹ç±»å«' : 'æ°å¢ç±»å«'" |
| | | width="30%" |
| | | :visible.sync="dialogFormVisible" |
| | | > |
| | | <el-dialog title="æ°å¢ç±»å«" width="30%" :visible.sync="dialogFormVisible"> |
| | | <div style="text-align: center; margin-bottom: 20px"> |
| | | <el-radio-group v-model="radio"> |
| | | <el-radio-button label="主åç±»"></el-radio-button> |
| | | <el-radio-button label="ååç±»"></el-radio-button> |
| | | </el-radio-group> |
| | | </div> |
| | | <el-divider></el-divider> |
| | | |
| | | <el-form :model="classifyform"> |
| | | <el-form-item label="è¯·éæ©ææ å¤§ç±»"> |
| | | <el-select v-model="classifyform.broadheading" placeholder="è¯·éæ©"> |
| | | <el-form-item label="è¯·éæ©é®é¢å¤§ç±»" v-if="radio == 'ååç±»'"> |
| | | <el-select v-model="classifyform.pid" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="item in editableTabs" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | v-for="item in deptOptions" |
| | | :key="item.id" |
| | | :label="item.indexAssortName" |
| | | :value="item.id" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="amendtag ? '请è¾å
¥æ°çç±»å«åç§°' : '请è¾å
¥ç±»å«åç§°'" |
| | | > |
| | | <el-form-item label="请è¾å
¥ç±»å«åç§°"> |
| | | <el-input |
| | | v-model="classifyform.categoryname" |
| | | v-model="classifyform.indexAssortName" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | <el-button @click="dialogFormVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="submitsidecolumn">ç¡® å®</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- å é¤ç±»å«ç¡®è®¤æ¡ --> |
| | | <el-dialog title="è¦å" :visible.sync="deleteVisible" width="40%"> |
| | | <div style="font-size: 20px; color: rgb(247, 76, 76)"> |
| | | æ¯å¦ç¡®è®¤å é¤åç±»ï¼[<span>{{ deletefenl }}</span |
| | | >]? |
| | | </div> |
| | | <div style="font-size: 20px"> |
| | | æ¤æä½ä¼å°è¯¥ç±»å«ä¸æææ¨¡å转移è³[æªåç±»]ï¼æ¯å¦ç»§ç»å 餿¤åç±»ï¼ |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="deleteVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="deletefenlei">ç¡® å®</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | |
| | | getillness, |
| | | deltargetillness, |
| | | addtargetillness, |
| | | selectIvrLibaTargetAssortList, |
| | | addtreeselectIvrLibaTargetAssort, |
| | | delselectIvrLibaTargetAssort, |
| | | } from "@/api/AiCentre/index"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import Treeselect from "@riophae/vue-treeselect"; |
| | |
| | | dialogFormVisible: false, //ä¿®æ¹æ·»å ç±»å«å¼¹æ¡ |
| | | deleteVisible: false, //åç±»å é¤å¼¹æ¡ |
| | | deletefenl: "é«è¡å", //å é¤é¡¹ |
| | | radio: "主åç±»", |
| | | testvalue: "", |
| | | testgovalue: "", |
| | | classifyform: { |
| | |
| | | indexform: {}, |
| | | numberlb: 22, |
| | | numberlbs: 2, |
| | | deptOptions: [], |
| | | defaultProps: { |
| | | children: "ivrLibaTargetAssortList", |
| | | label: "indexAssortName", |
| | | }, |
| | | sidecolumnform: {}, //æ·»å ç±»å«è¡¨å |
| | | dialogFormVisible: false, //æ·»å ç±»å«å¼¹æ¡ |
| | | sidecolumnval: "", //ç±»å«æç´¢ |
| | |
| | | mode: [], |
| | | optionstag: [], |
| | | targetoptionList: [], |
| | | //ç±»å«å表 |
| | | editableTabs: [ |
| | | { |
| | | title: "ææ åç±»ä¸", |
| | | number: "1", |
| | | }, |
| | | { |
| | | title: "ææ åç±»äº", |
| | | number: "2", |
| | | }, |
| | | { |
| | | title: "ææ åç±»ä¸", |
| | | number: "2", |
| | | }, |
| | | { |
| | | title: "ææ åç±»å", |
| | | number: "2", |
| | | }, |
| | | { |
| | | title: "ææ åç±»äº", |
| | | number: "2", |
| | | }, |
| | | ], |
| | | |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | | pageNum: 1, |
| | |
| | | rules: {}, |
| | | }; |
| | | }, |
| | | watch: {}, |
| | | watch: { |
| | | // æ ¹æ®åç§°çéé¨é¨æ |
| | | sidecolumnval(val) { |
| | | this.$refs.tree.filter(val); |
| | | }, |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | this.gettabList(); |
| | | this.getDeptTree(); |
| | | this.mode = store.getters.mode; |
| | | this.valuetype = store.getters.valuetype; |
| | | this.languagelist = store.getters.languagelist; |
| | |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | |
| | | processElement(element) { |
| | | return { ...element, isoperation: 1 }; |
| | | }, |
| | | getIndexInArray(arr, obj) { |
| | | return arr.indexOf(obj); |
| | | }, |
| | | // æ·»å ãä¿®æ¹ç±»å« |
| | | submitsidecolumn() { |
| | | if (this.amendtag) { |
| | | this.classifyform.tagcategoryid = this.idds; |
| | | // toamendtagcategory(this.addDateRange(this.classifyform)).then( |
| | | // (response) => { |
| | | // console.log(response); |
| | | // this.gitclasify(); |
| | | // } |
| | | // ); |
| | | } else { |
| | | // addtagcategory(this.addDateRange(this.classifyform)).then( |
| | | // (response) => { |
| | | // console.log(response); |
| | | // this.gitclasify(); |
| | | // } |
| | | // ); |
| | | } |
| | | this.classifyform = { |
| | | categoryname: "", |
| | | }; |
| | | this.idds = ""; |
| | | this.dialogFormVisible = false; |
| | | }, |
| | | |
| | | //å é¤åç±» |
| | | deletefenlei(row) { |
| | | if (this.deleteVisible) { |
| | |
| | | } |
| | | }, |
| | | |
| | | // ä¾§è¾¹-------------- |
| | | handleOpen(key, keyPath) { |
| | | console.log(key, keyPath); |
| | | }, |
| | | handleClose(key, keyPath) { |
| | | console.log(key, keyPath); |
| | | }, |
| | | handleSelect(key, keyPath) { |
| | | console.log(key, keyPath); |
| | | }, |
| | | // ç¾ç
----------------------- |
| | | illnessUpdate(row) { |
| | | this.illnessVisible = true; |
| | |
| | | deltargetillness(this.illnesslistapi.join(",")).then((res) => {}); |
| | | } |
| | | this.illnessVisible = false; |
| | | this.$modal.msgSuccess("ç¼è¾ç¾ç
æå"); |
| | | this.$modal.msgSuccess("ç¼è¾æå"); |
| | | }, |
| | | |
| | | // æ ç¾----------------- |
| | |
| | | isoperation: 1, |
| | | }; |
| | | } |
| | | console.log(tagvalue); |
| | | this.indexform.baseTagList.push(tagvalue); |
| | | this.dynamicTags.push(tagvalue); |
| | | console.log(this.indexform.baseTagList); |
| | |
| | | console.log(this.testuserList); |
| | | }, |
| | | // --------------------- |
| | | //æç´¢ç±»å« |
| | | sidecolumnss() {}, |
| | | // 忢å
±äº«/æ¬å° |
| | | tophandleClick() {}, |
| | | |
| | | /** æ¥è¯¢é¨é¨ä¸ææ ç»æ */ |
| | | getDeptTree() { |
| | | selectIvrLibaTargetAssortList({}).then((res) => { |
| | | this.deptOptions = res.rows; |
| | | console.log(res); |
| | | }); |
| | | }, |
| | | // çéèç¹ |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | return data.indexAssortName.indexOf(value) !== -1; |
| | | }, |
| | | // æ·»å ç±»å«æ |
| | | submitsidecolumn() { |
| | | let calssvalue = {}; |
| | | if ( |
| | | this.classifyform.pid && |
| | | this.classifyform.indexAssortName && |
| | | this.radio == "ååç±»" |
| | | ) { |
| | | const index = this.deptOptions.findIndex( |
| | | (obj) => obj.id == this.classifyform.pid |
| | | ); |
| | | calssvalue = this.deptOptions[index]; |
| | | console.log(calssvalue); |
| | | calssvalue.ivrLibaTargetAssortList.push(this.classifyform); |
| | | } else if (this.radio == "主åç±»" && this.classifyform.indexAssortName) { |
| | | this.classifyform.pid = null; |
| | | this.classifyform.ivrLibaTargetAssortList = []; |
| | | } else { |
| | | return this.$modal.msgError("请填å宿´ä¿¡æ¯"); |
| | | } |
| | | |
| | | addtreeselectIvrLibaTargetAssort(this.classifyform).then((res) => { |
| | | this.getDeptTree(); |
| | | this.$modal.msgSuccess("æ°å¢æå"); |
| | | }); |
| | | }, |
| | | remove(a, b) { |
| | | if (b.pid) { |
| | | this.$modal |
| | | .confirm('æ¯å¦ç¡®è®¤å é¤å类项为"' + b.indexAssortName + '"çæ°æ®é¡¹ï¼') |
| | | .then(function () { |
| | | return delselectIvrLibaTargetAssort(b.id); |
| | | }) |
| | | .then(() => { |
| | | this.getDeptTree(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }) |
| | | .catch(() => {}); |
| | | } else { |
| | | this.$modal |
| | | .confirm( |
| | | 'æ¯å¦ç¡®è®¤å é¤ä¸çº§åç±»"' + |
| | | b.indexAssortName + |
| | | '"ï¼å é¤åå
¶ä¸åç±»å°å½ç±»âæªåç±»â' |
| | | ) |
| | | .then(() => { |
| | | return delselectIvrLibaTargetAssort(b.id); |
| | | }) |
| | | .then(() => { |
| | | this.getDeptTree(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }) |
| | | .catch(() => {}); |
| | | } |
| | | }, |
| | | handleNodeClick(data) { |
| | | this.queryParams.assortid = data.id; |
| | | this.getList(); |
| | | }, |
| | | |
| | | // åæ¶æé® |
| | | cancel() { |
| | | this.indexopen = false; |
| | |
| | | font-size: 20px; |
| | | } |
| | | } |
| | | ::v-deep .el-tree-node__content { |
| | | display: -webkit-box; |
| | | display: -ms-flexbox; |
| | | display: flex; |
| | | -webkit-box-align: center; |
| | | -ms-flex-align: center; |
| | | align-items: center; |
| | | height: 46px; |
| | | font-size: 20px; |
| | | cursor: pointer; |
| | | } |
| | | ::v-deep .el-button--mini.is-circle { |
| | | padding: 7px; |
| | | margin: 0; |
| | | color: red; |
| | | } |
| | | .button-text { |
| | | color: rgb(70, 204, 238); |
| | | } |
| | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="模çåç§°" prop="region"> |
| | | <div style="width: 30%"> |
| | | <el-input v-model="ruleForm.name"></el-input> |
| | | <div> |
| | | <el-input |
| | | v-model="ruleForm.templateName" |
| | | placeholder="请è¾å
¥åç§°" |
| | | ></el-input> |
| | | </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="é访模çåç±»" prop="region"> |
| | | <el-select |
| | | v-model="ruleForm.classify" |
| | | v-model="ruleForm.assortid" |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | | placeholder="è¯·éæ©åç±»" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | v-for="item in indexAssortlist" |
| | | :key="item.id" |
| | | :label="item.indexAssortName" |
| | | :value="item.id" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-form-item label="模çç®ä»" prop="name"> |
| | | <el-form-item label="模çç®ä»" prop="note"> |
| | | <div style="width: 50%"> |
| | | <el-input type="textarea" v-model="ruleForm.name"></el-input> |
| | | <el-input |
| | | type="textarea" |
| | | placeholder="请è¾å
¥ç®ä»" |
| | | v-model="ruleForm.note" |
| | | ></el-input> |
| | | </div> |
| | | </el-form-item> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="6"> |
| | | <el-form-item label="çæ¬å·" prop="name"> |
| | | <el-input v-model="currentVersion"></el-input> </el-form-item |
| | | <el-col :span="10"> |
| | | <el-form-item label="çæ¬å·" prop="version"> |
| | | <el-input |
| | | v-model="ruleForm.version" |
| | | placeholder="é»è®¤1.0.1" |
| | | ></el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="9"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="å¯ç¨ç¶æ" prop="region"> |
| | | <el-select |
| | | v-model="ruleForm.classify" |
| | | v-model="ruleForm.usestate" |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | | placeholder="è¯·éæ©åç±»" |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in options" |
| | | v-for="item in usable" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-form-item label="éç¥åé" prop="name"> |
| | | <el-row v-for="item in variablelist"> |
| | | <el-col :span="4"> |
| | | <el-input v-model="item.variable"></el-input> |
| | | </el-col> |
| | | <el-col :span="8" :offset="1"> |
| | | <el-input v-model="item.value"></el-input> |
| | | </el-col> |
| | | <el-col :span="4" :offset="1"> |
| | | <el-button |
| | | type="success" |
| | | icon="el-icon-plus" |
| | | circle |
| | | @click="addvariable(item)" |
| | | ></el-button> |
| | | <el-button |
| | | type="danger" |
| | | icon="el-icon-delete" |
| | | circle |
| | | @click="delvariable(item)" |
| | | ></el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="æ ç¾" prop="desc"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="tag" |
| | | type="success" |
| | | v-for="tag in dynamicTags" |
| | | closable |
| | | :disable-transitions="false" |
| | | @close="handleClose(tag)" |
| | | > |
| | | {{ tag }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="inputVisible" |
| | | @change="handleInputConfirm" |
| | | filterable |
| | | allow-create |
| | | default-first-option |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | v-for="item in optionstag" |
| | | :key="item.tagname" |
| | | :label="item.tagname" |
| | | :value="item.tagname" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput" |
| | | >+ æ°å¢æ ç¾</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="6"> |
| | | <el-col :span="10"> |
| | | <el-form-item label="è¯è¨" prop="name"> |
| | | <el-select |
| | | v-model="ruleForm.language" |
| | | size="medium" |
| | | filterable |
| | | placeholder="è¯·éæ©åç±»" |
| | | placeholder="è¯·éæ©è¯è¨" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in languagelist" |
| | | :key="item.value" |
| | | :key="item.label" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | :value="item.label" |
| | | > |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="9"> |
| | | <el-form-item label="ææ¥ä¼å
" prop="region"> |
| | | <el-radio-group v-model="ruleForm.classify"> |
| | | <el-radio :label="3">è¯è¨åæä¼å
</el-radio> |
| | | <el-radio :label="6">è¯è¨æä»¶ä¼å
</el-radio> |
| | | <el-col :span="12"> |
| | | <el-form-item label="ææ¥ä¼å
" prop="playType"> |
| | | <el-radio-group v-model="ruleForm.playType"> |
| | | <el-radio |
| | | v-for="item in precedencetype" |
| | | :label="item.value" |
| | | >{{ item.label }}</el-radio |
| | | > |
| | | </el-radio-group> |
| | | </el-form-item></el-col |
| | | > |
| | |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in xjxsoptions" |
| | | v-for="item in mode" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="éç¨ç¾ç
" prop="region"> |
| | | <el-form-item label="æ ç¾" prop="desc"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="tag.tagname" |
| | | type="success" |
| | | v-for="tag in dynamicTags" |
| | | closable |
| | | :disable-transitions="false" |
| | | @close="handleClosetag(tag)" |
| | | > |
| | | {{ tag.tagname }} |
| | | </el-tag> |
| | | <el-select |
| | | style="width: 500px" |
| | | v-model="ruleForm.illness" |
| | | size="medium" |
| | | multiple |
| | | v-model="inputValue" |
| | | v-if="inputVisible" |
| | | @change="handleInputConfirm" |
| | | filterable |
| | | placeholder="è¯·éæ©åç±»ï¼å¤éï¼" |
| | | remote |
| | | reserve-keyword |
| | | default-first-option |
| | | :remote-method="remoteMethodtag" |
| | | :loading="loading" |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | v-for="item in optionstag" |
| | | :key="item.tagid" |
| | | :label="item.tagname" |
| | | :value="item.tagname" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput" |
| | | >+ æ°å¢æ ç¾</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="éç¨ç¾ç
" prop="region"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="item.icd10name" |
| | | type="warning" |
| | | v-for="item in illnesslist" |
| | | closable |
| | | :disable-transitions="false" |
| | | @close="handleCloseillness(item)" |
| | | > |
| | | {{ item.icd10name }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValueillness" |
| | | v-if="inputVisibleillness" |
| | | @change="illnessConfirm" |
| | | :remote-method="remoteMethod" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | default-first-option |
| | | placeholder="è¯·éæ©/æ¥è¯¢" |
| | | :loading="loading" |
| | | > |
| | | <el-option |
| | | v-for="item in optionsillness" |
| | | :key="item.icdid" |
| | | :label="item.icdname" |
| | | :value="item.icdid" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="inputVisibleillness = true" |
| | | >+ æ°å¢ç¾ç
</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="éç¨é¢åº" prop="region"> |
| | | <el-select |
| | | v-model="ruleForm.courtyard" |
| | | v-model="campusvalue" |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | | placeholder="è¯·éæ©åç±»" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | v-for="item in courtyardlist" |
| | | :key="item.label" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | :value="item.label" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | |
| | | <el-form-item label="éç¨ç§å®¤" prop="region"> |
| | | <el-select |
| | | style="width: 500px" |
| | | v-model="ruleForm.administrative" |
| | | v-model="deptNamesvalue" |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | v-for="item in administrativelist" |
| | | :key="item.label" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | :value="item.label" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | |
| | | <el-form-item label="éç¨åº" prop="region"> |
| | | <el-select |
| | | style="width: 500px" |
| | | v-model="ruleForm.way" |
| | | v-model="ruleForm.waya" |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in xjxsoptions" |
| | | v-for="item in generallist" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | |
| | | <el-col :span="8"> |
| | | <el-form-item label="é访åå¤ç" prop="name"> |
| | | <el-select |
| | | v-model="ruleForm.languageq" |
| | | v-model="ruleForm.prefollowup" |
| | | size="medium" |
| | | filterable |
| | | placeholder="è¯·éæ©åç±»" |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in xjxsoptions" |
| | | v-for="item in prefollowuplist" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | |
| | | <el-col :span="9"> |
| | | <el-form-item label="é访åå¤ç" prop="region"> |
| | | <el-select |
| | | v-model="ruleForm.languageh" |
| | | v-model="ruleForm.postfollowup" |
| | | size="medium" |
| | | filterable |
| | | placeholder="è¯·éæ©åç±»" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in xjxsoptions" |
| | | v-for="item in postfollowuplist" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="8"> |
| | | <el-col :span="10"> |
| | | <el-form-item label="é黿¶é´(ç§)" prop="name"> |
| | | <div style="width: 40%"> |
| | | <el-input |
| | | v-model="ruleForm.name" |
| | | ></el-input></div></el-form-item |
| | | ></el-col> |
| | | <el-col :span="8"> |
| | | <el-col :span="10"> |
| | | <el-form-item label="æ å¹é
éå¤(次)" prop="region"> |
| | | <div style="width: 40%"> |
| | | <el-input v-model="ruleForm.name"></el-input> |
| | |
| | | <div class="topicxq" v-for="item in 2"> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="12" |
| | | ><el-form-item label="å¤ç"> |
| | | ><el-form-item label="é项å"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="(é»è®¤)æ 声" |
| | | placeholder="请è¾å
¥" |
| | | v-model="queryParams.text" |
| | | show-word-limit |
| | | > |
| | |
| | | ><el-form-item label="èç¹ID"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请è¾å
¥åå¼" |
| | | placeholder="请è¾å
¥èç¹" |
| | | v-model="queryParams.text" |
| | | show-word-limit |
| | | > |
| | |
| | | </el-row> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="12" |
| | | ><el-form-item label="éä¸æç¤º"> |
| | | ><el-form-item label="å¤ç"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请è¾å
¥å
容" |
| | | placeholder="(é»è®¤)æ 声" |
| | | v-model="queryParams.text" |
| | | maxlength="10" |
| | | show-word-limit |
| | |
| | | ><el-form-item label="éä¸è·³è½¬"> |
| | | <el-input |
| | | type="text" |
| | | placeholder="请è¾å
¥é¢å·" |
| | | placeholder="请è¾å
¥é¢ç®èç¹" |
| | | v-model="queryParams.text" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-form-item label="è¯é³ææ¬"> |
| | | <el-form-item label="å¹é
æ£å"> |
| | | <el-input |
| | | style="width: 24vw" |
| | | type="textarea" |
| | |
| | | <el-select |
| | | v-model="ruleForm.classify" |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | | placeholder="è¯·éæ©åç±»" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in options" |
| | | v-for="item in themelist" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | |
| | | |
| | | <script> |
| | | import { listtag } from "@/api/system/label"; |
| | | import store from "@/store"; |
| | | |
| | | import { |
| | | getFollowupclassify, |
| | | delFollowupclassify, |
| | | addFollowupclassify, |
| | | addtargetillness, |
| | | getvFollowup, |
| | | compileFollowup, |
| | | delFollowupinfo, |
| | | Followupinfo, |
| | | getFollowuplist, |
| | | getillnesslist, |
| | | illnesslistget, |
| | | getillness, |
| | | } from "@/api/AiCentre/index"; |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | sidecolumnrabs: "left", //æ¹å |
| | | Editprogress: 2, //ç¼è¾è¿åº¦ |
| | | currentVersion: "1.2.3", //å½åçæ¬ |
| | | Editprogress: 1, //ç¼è¾è¿åº¦ |
| | | loading: false, // é®ç½©å± |
| | | drawer: false, //æ§å¶å±å¼ |
| | | radio: "false", //åéé¢éä¸ |
| | | radios: [], //å¤éé¢éä¸ |
| | | radioas: "", //填空é¢çæ¡ |
| | | dynamicTags: ["æ ç¾ä¸", "æ ç¾äº", "æ ç¾ä¸"], |
| | | inputVisible: false, |
| | | campusvalue: [], //é¢åºä¸´æ¶åå¨ |
| | | labelInfovalue: [], //æ ç¾ä¸´æ¶åå¨ |
| | | deptNamesvalue: [], //ç§å®¤ä¸´æ¶åå¨ |
| | | dynamicTags: [], |
| | | indexAssortlist: [], |
| | | inputValue: "", |
| | | inputValueillness: "", |
| | | topicobj: {}, |
| | | // æ»æ¡æ° |
| | | total: 1, |
| | | ruleForm: { |
| | | name: "", |
| | | region: "", |
| | | date1: "", |
| | | date2: "", |
| | | delivery: false, |
| | | type: [], |
| | | resource: "", |
| | | desc: "", |
| | | templatevalue: "", |
| | | data2: "", |
| | | }, |
| | | id: "", |
| | | ruleForm: {}, |
| | | rules: {}, |
| | | rulesa: {}, |
| | | optionstag:[], |
| | | xjxsoptions: [ |
| | | { |
| | | value: "é项1", |
| | | label: "徿", |
| | | }, |
| | | { |
| | | value: "é项2", |
| | | label: "è§é¢", |
| | | }, |
| | | { |
| | | value: "é项3", |
| | | label: "é³é¢", |
| | | }, |
| | | ], |
| | | prefollowuplist: [], |
| | | postfollowuplist: [], |
| | | generallist: [{ value: "1", label: "é访éç¨åºä¸" }], |
| | | |
| | | fileList: [ |
| | | { |
| | | name: "food.jpeg", |
| | | url: "https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100", |
| | | }, |
| | | ], |
| | | options: [ |
| | | { |
| | | value: "é项1", |
| | | label: "ç¾ç
é访模ç", |
| | | }, |
| | | { |
| | | value: "é项2", |
| | | label: "å
¥é¢é访模ç", |
| | | }, |
| | | { |
| | | value: "é项3", |
| | | label: "ææ¯é访模ç", |
| | | }, |
| | | { |
| | | value: "é项4", |
| | | label: "æ¤çé访模ç", |
| | | }, |
| | | administrativelist: [ |
| | | { value: "1", label: "å¿å¤ç§" }, |
| | | { value: "2", label: "å¿å
ç§" }, |
| | | ], |
| | | languagelist: [ |
| | | { |
| | | value: "1", |
| | | label: "æ®éè¯", |
| | | themelist: [], |
| | | languagelist: [], |
| | | courtyardlist: [], |
| | | precedencetype: [], |
| | | usable: [], |
| | | mode: [], |
| | | inputVisible: false, |
| | | inputVisibleillness: false, |
| | | illnessVisible: false, //ææ ç¾ç
å¼¹æ¡ |
| | | deptOptions: [], |
| | | optionsillness: [], |
| | | illnesslistapi: [], |
| | | illnesslist: [], |
| | | defaultProps: { |
| | | children: "ivrLibaTemplateAssortList", |
| | | label: "indexAssortName", |
| | | }, |
| | | { |
| | | value: "2", |
| | | label: "粤è¯", |
| | | }, |
| | | { |
| | | value: "3", |
| | | label: "è±æ", |
| | | }, |
| | | ], |
| | | |
| | | variablelist: [ |
| | | { |
| | | variable: "paitent", |
| | |
| | | |
| | | created() { |
| | | this.gettabList(); |
| | | |
| | | this.getvFollowup(); |
| | | this.auxiliary(); |
| | | this.mode = store.getters.mode; |
| | | this.usable = store.getters.usable; |
| | | this.languagelist = store.getters.languagelist; |
| | | this.courtyardlist = store.getters.courtyardlist; |
| | | this.precedencetype = store.getters.precedencetype; |
| | | }, |
| | | |
| | | methods: { |
| | | getIndexInArray(arr, obj) { |
| | | return arr.indexOf(obj); |
| | | }, |
| | | // è·åè¡¨åæ°æ® |
| | | getvFollowup() { |
| | | this.id = this.$route.query.id; |
| | | |
| | | getvFollowup({ id: this.id }).then((res) => { |
| | | this.ruleForm = res.data; |
| | | }); |
| | | getillnesslist({ |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | | }).then((response) => { |
| | | this.optionsillness = response.rows; |
| | | }); |
| | | getillness({ outid: this.id, type: 3 }).then((res) => { |
| | | this.illnesslist = res.rows; |
| | | }); |
| | | }, |
| | | // é屿°æ®è¡¨ |
| | | auxiliary() { |
| | | // åç±» |
| | | getFollowupclassify({}).then((res) => { |
| | | this.indexAssortlist = res.rows; |
| | | }); |
| | | // ç¾ç
å |
| | | }, |
| | | submitForm(formName) { |
| | | this.rules = this.rulesa; |
| | | if (this.ruleForm.id) { |
| | | this.ruleForm.isoperation = 2; |
| | | } else { |
| | | this.ruleForm.isoperation = 2; |
| | | } |
| | | this.ruleForm.campus = JSON.stringify(this.illnesslist); |
| | | this.ruleForm.deptNames = this.deptNamesvalue.join(","); |
| | | this.ruleForm.labelInfo = JSON.stringify(this.dynamicTags); |
| | | // æäº¤ |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert("submit!"); |
| | | compileFollowup(this.ruleForm).then((res) => { |
| | | this.$modal.msgSuccess("ä¿®æ¹æå"); |
| | | }); |
| | | } else { |
| | | console.log("error submit!!"); |
| | | return false; |
| | |
| | | }, |
| | | // ä¿®æ¹é¢ç®ä¿¡æ¯ |
| | | Submittopicobj() {}, |
| | | // æ°å¢åé |
| | | addvariable() { |
| | | this.variablelist.push({ |
| | | variable: "", |
| | | value: "", |
| | | }); |
| | | }, |
| | | // å é¤åé |
| | | delvariable(item) { |
| | | const index = this.variablelist.indexOf(item); |
| | | if (index !== -1) { |
| | | this.variablelist.splice(index, 1); // ä»ç´¢å¼ä½ç½®å é¤ä¸ä¸ªå
ç´ |
| | | } else { |
| | | console.log("æªæ¾å°è¯¥å¯¹è±¡"); |
| | | } |
| | | }, |
| | | |
| | | // æ§å¶æä»¶ |
| | | handleChange(file, fileList) { |
| | | this.fileList = fileList.slice(-3); |
| | |
| | | this.optionstag = response.rows; |
| | | }); |
| | | }, |
| | | handleClose(tag) { |
| | | handleClosetag(tag) { |
| | | console.log(tag); |
| | | console.log(this.dynamicTags.indexOf(tag)); |
| | | const lindex = this.dynamicTags.indexOf(tag); |
| | | this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1); |
| | | this.ruleForm.ivrLibaTemplateTargetList[lindex].isoperation = 3; |
| | | }, |
| | | handleInputConfirm() { |
| | | let inputValue = this.inputValue; |
| | | if (inputValue) { |
| | | this.dynamicTags.push(inputValue); |
| | | let tagvalue = {}; |
| | | let tagname = this.inputValue; |
| | | if (tagname) { |
| | | listtag({ |
| | | pageNum: 1, |
| | | pageSize: 1000, |
| | | tagcategoryid: "0", |
| | | tagname: tagname, |
| | | }).then((res) => { |
| | | if (res.rows[0]) { |
| | | tagvalue = res.rows[0]; |
| | | tagvalue.isoperation = 1; |
| | | } else { |
| | | tagvalue = { |
| | | tagname: tagname, |
| | | isoperation: 1, |
| | | }; |
| | | } |
| | | this.ruleForm.ivrLibaTemplateTargetList.push(tagvalue); |
| | | this.dynamicTags.push(tagvalue); |
| | | }); |
| | | } |
| | | this.inputVisible = false; |
| | | this.inputValue = ""; |
| | | }, |
| | | remoteMethodtag(query) { |
| | | if (query !== "") { |
| | | this.loading = true; |
| | | setTimeout(() => { |
| | | this.loading = false; |
| | | listtag({ tagname: query, tagcategoryid: "0" }).then((res) => { |
| | | this.optionstag = res.rows; |
| | | }); |
| | | }, 200); |
| | | } else { |
| | | this.optionstag = []; |
| | | } |
| | | }, |
| | | showInput() { |
| | | this.inputVisible = true; |
| | | // èªå¨è·åç¦ç¹ |
| | | // this.$nextTick((_) => { |
| | | // this.$refs.saveTagInput.$refs.input.focus(); |
| | | // }); |
| | | }, |
| | | //æµè¯è¡¨å --------------------------------- |
| | | addzbiao() {}, |
| | |
| | | resetForm(formName) { |
| | | this.$refs[formName].resetFields(); |
| | | }, |
| | | |
| | | // ç¾ç
----------------------- |
| | | |
| | | handleCloseillness(tag) { |
| | | this.illnesslist.splice(this.illnesslist.indexOf(tag), 1); |
| | | if (tag.id) { |
| | | this.illnesslistapi.push(tag.id); |
| | | } |
| | | }, |
| | | remoteMethod(value) { |
| | | console.log(value); |
| | | const illnessqueryParams = { |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | | icdname: value, |
| | | }; |
| | | this.loading = true; |
| | | setTimeout(() => { |
| | | this.loading = false; |
| | | getillnesslist(illnessqueryParams).then((response) => { |
| | | this.optionsillness = response.rows; |
| | | }); |
| | | }, 200); |
| | | }, |
| | | illnessConfirm(item) { |
| | | let opeavalue = {}; |
| | | let tagname = this.inputValueillness; |
| | | illnesslistget(item).then((res) => { |
| | | opeavalue = res.data; |
| | | opeavalue.outid = this.id; |
| | | opeavalue.type = 3; |
| | | opeavalue.icd10id = opeavalue.icdid; |
| | | opeavalue.icd10name = opeavalue.icdname; |
| | | opeavalue.icd10code = opeavalue.icdcode; |
| | | if (tagname) { |
| | | this.illnesslist.push(opeavalue); |
| | | } |
| | | }); |
| | | console.log(this.illnesslist); |
| | | this.inputVisibleillness = false; |
| | | this.inputValueillness = ""; |
| | | }, |
| | | // ä¿å |
| | | confirmillness() { |
| | | this.illnesslist.forEach((item, index) => { |
| | | if (!item.id) { |
| | | addtargetillness(item).then((res) => {}); |
| | | } |
| | | }); |
| | | if (this.illnesslistapi.length) { |
| | | deltargetillness(this.illnesslistapi.join(",")).then((res) => {}); |
| | | } |
| | | this.illnessVisible = false; |
| | | this.$modal.msgSuccess("ç¼è¾æå"); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | display: flex; |
| | | } |
| | | .sidecolumn { |
| | | width: 300px; |
| | | width: 250px; |
| | | min-height: 100vh; |
| | | text-align: center; |
| | | // display: flex; |
| | |
| | | class="input-with-select" |
| | | size="medium " |
| | | > |
| | | <el-button |
| | | @click="sidecolumnss" |
| | | slot="append" |
| | | icon="el-icon-search" |
| | | ></el-button> |
| | | </el-input> |
| | | </div> |
| | | <div class="bottom-fl"> |
| | | <!-- <el-tabs tab-position="right"> |
| | | <el-tab-pane :label="`å
¨é¨ (${numberlb})`"></el-tab-pane> |
| | | <el-tab-pane |
| | | class="tab-paness" |
| | | :key="item.title" |
| | | v-for="(item, index) in editableTabs" |
| | | <div class="head-container" style="margin-top: 20px"> |
| | | <el-tree |
| | | :data="deptOptions" |
| | | :props="defaultProps" |
| | | :expand-on-click-node="false" |
| | | :filter-node-method="filterNode" |
| | | ref="tree" |
| | | node-key="id" |
| | | default-expand-all |
| | | highlight-current |
| | | @node-click="handleNodeClick" |
| | | > |
| | | <span slot="label"> |
| | | {{ |
| | | item.title + " (" + item.number + ")" |
| | | }}   <el-popover |
| | | placement="top-start" |
| | | width="100" |
| | | trigger="hover" |
| | | <span class="custom-tree-node" slot-scope="{ node, data }"> |
| | | <span>{{ node.label }}</span> |
| | | <span> |
| | | <el-button |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | circle |
| | | size="mini" |
| | | @click="() => remove(node, data)" |
| | | > |
| | | <div style="text-align: center"> |
| | | <el-button type="text" @click="popoveramend(item)" |
| | | >ä¿®æ¹</el-button |
| | | ><el-button type="text" @click="deletefenlei(item)" |
| | | ><span style="color: rgb(173, 55, 55)" |
| | | >å é¤</span |
| | | ></el-button |
| | | > |
| | | </div> |
| | | <i slot="reference" class="el-icon-share"></i> </el-popover |
| | | ></span> |
| | | </el-tab-pane> |
| | | </el-tabs> --> |
| | | <el-menu |
| | | default-active="3" |
| | | class="el-menu-vertical-demo" |
| | | @open="handleOpen" |
| | | @close="handleClose" |
| | | @select="handleSelect" |
| | | > |
| | | <el-submenu index="1"> |
| | | <template slot="title"> |
| | | <i class="el-icon-location"></i> |
| | | <span>åç±»ä¸</span> |
| | | </template> |
| | | |
| | | <el-menu-item index="1-1">é项1</el-menu-item> |
| | | <el-menu-item index="1-2">é项2</el-menu-item> |
| | | <el-menu-item index="1-3">é项3</el-menu-item> |
| | | <el-menu-item index="1-4">é项3</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="2"> |
| | | <template slot="title"> |
| | | <i class="el-icon-menu"></i> |
| | | <span>åç±»äº</span> |
| | | </template> |
| | | <el-menu-item index="2-1">é项1</el-menu-item> |
| | | <el-menu-item index="2-2">é项2</el-menu-item> |
| | | <el-menu-item index="2-3">é项3</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="3"> |
| | | <template slot="title"> |
| | | <i class="el-icon-document"></i> |
| | | <span>åç±»ä¸</span> |
| | | </template> |
| | | <el-menu-item index="2-1">é项1</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="4"> |
| | | <template slot="title"> |
| | | <i class="el-icon-setting"></i> |
| | | <span>åç±»å</span> |
| | | </template> |
| | | <el-menu-item index="2-1">é项1</el-menu-item> |
| | | </el-submenu> |
| | | </el-menu> |
| | | </el-button> |
| | | </span> |
| | | </span> |
| | | </el-tree> |
| | | </div> |
| | | </div> |
| | | <!-- å³ä¾§æ°æ® --> |
| | |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="50" align="center" /> |
| | | <el-table-column |
| | | label="åºå·" |
| | | align="center" |
| | | key="userId" |
| | | prop="userId" |
| | | /> |
| | | <el-table-column label="åºå·" align="center" key="id" prop="id" /> |
| | | <el-table-column |
| | | label="模çåç§°" |
| | | align="center" |
| | | key="userName" |
| | | prop="userName" |
| | | key="templateName" |
| | | prop="templateName" |
| | | width="200" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="主è¦å
容" |
| | | align="center" |
| | | key="nickName" |
| | | prop="nickName" |
| | | width="300" |
| | | key="note" |
| | | prop="note" |
| | | width="200" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | |
| | |
| | | align="center" |
| | | key="aphonenumber" |
| | | prop="aphonenumber" |
| | | width="400" |
| | | /><el-table-column |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="illnessUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-textxg" |
| | | ><i class="el-icon-date"></i>详æ
</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | label="éç¨ç§å®¤" |
| | | align="center" |
| | | key="bphonenumber" |
| | | prop="bphonenumber" |
| | | key="deptNames" |
| | | prop="deptNames" |
| | | width="120" |
| | | /> |
| | | > |
| | | <template slot-scope="scope"> |
| | | <div v-if="scope.row.deptNames"> |
| | | <span v-for="item in scope.row.deptNames.split(",")" |
| | | >{{ item }} |
| | | </span> |
| | | </div> |
| | | <div v-else>''</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="æ ç¾" |
| | | align="center" |
| | | key="tagList" |
| | | prop="tagList" |
| | | key="labelInfo" |
| | | prop="labelInfo" |
| | | width="160" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span v-for="item in scope.row.tagList">{{ item }} </span> |
| | | <div v-if="scope.row.labelInfo"> |
| | | <span v-for="item in JSON.parse(scope.row.labelInfo)" |
| | | >{{ item.tagname }}</span> |
| | | </div> |
| | | <div v-else> |
| | | <span>æ </span> |
| | | </div> |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="å®£ææ¹å¼" |
| | | label="éç¨é¢åº" |
| | | align="center" |
| | | key="way" |
| | | prop="way" |
| | | width="120" |
| | | /> |
| | | key="campus" |
| | | prop="campus" |
| | | width="160" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope" > |
| | | <div v-if="scope.row.campus"> |
| | | <span v-for="item in JSON.parse(scope.row.campus)">{{ item.label }} </span> |
| | | </div> |
| | | <div v-else> |
| | | <span>æ </span> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | label="èµæå½¢å¼" |
| | | align="center" |
| | | key="formal" |
| | | prop="formal" |
| | | key="playType" |
| | | prop="playType" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag |
| | | :options="precedencetype" |
| | | :value="scope.row.playType" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="çæ¬å·" |
| | | align="center" |
| | |
| | | <el-table-column |
| | | label="æè¿ä¿®æ¹" |
| | | align="center" |
| | | key="Recentrevision" |
| | | prop="Recentrevision" |
| | | key="updateTime" |
| | | prop="updateTime" |
| | | width="120" |
| | | /> |
| | | <el-table-column label="å¯ç¨ç¶æ" align="center" key="status"> |
| | | <el-table-column label="å¯ç¨ç¶æ" align="center" key="usestate"> |
| | | <template slot-scope="scope"> |
| | | <el-switch |
| | | v-model="scope.row.status" |
| | | active-value="0" |
| | | inactive-value="1" |
| | | @change="handleStatusChange(scope.row)" |
| | | ></el-switch> |
| | | <dict-tag :options="qyoptions" :value="scope.row.usestate" /> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | |
| | | /> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | </div> |
| | | </div> |
| | | <!-- æ·»å ç±»å«å¼¹æ¡ --> |
| | | <el-dialog |
| | | :title="amendtag ? 'ä¿®æ¹ç±»å«' : 'æ°å¢ç±»å«'" |
| | | width="30%" |
| | | :visible.sync="dialogFormVisible" |
| | | > |
| | | <el-dialog title="æ°å¢ç±»å«" width="30%" :visible.sync="dialogFormVisible"> |
| | | <div style="text-align: center; margin-bottom: 20px"> |
| | | <el-radio-group v-model="radio"> |
| | | <el-radio-button label="主åç±»"></el-radio-button> |
| | | <el-radio-button label="ååç±»"></el-radio-button> |
| | | </el-radio-group> |
| | | </div> |
| | | <el-divider></el-divider> |
| | | <el-form :model="classifyform"> |
| | | <el-form-item |
| | | :label="amendtag ? '请è¾å
¥æ°çç±»å«åç§°' : '请è¾å
¥ç±»å«åç§°'" |
| | | <el-form-item label="è¯·éæ©é®é¢å¤§ç±»" v-if="radio == 'ååç±»'"> |
| | | <el-select v-model="classifyform.pid" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="item in deptOptions" |
| | | :key="item.id" |
| | | :label="item.indexAssortName" |
| | | :value="item.id" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="请è¾å
¥ç±»å«åç§°"> |
| | | <el-input |
| | | v-model="classifyform.categoryname" |
| | | v-model="classifyform.indexAssortName" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | <el-button type="primary" @click="submitsidecolumn">ç¡® å®</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- å é¤ç±»å«ç¡®è®¤æ¡ --> |
| | | <el-dialog title="è¦å" :visible.sync="deleteVisible" width="40%"> |
| | | <div style="font-size: 20px; color: rgb(247, 76, 76)"> |
| | | æ¯å¦ç¡®è®¤å é¤åç±»ï¼[<span>{{ deletefenl }}</span |
| | | >]? |
| | | <!-- æ·»å ç¾ç
å¯¹è¯æ¡ --> |
| | | <el-dialog title="ææ ç¾ç
" :visible.sync="illnessVisible" width="50%"> |
| | | <div> |
| | | <div class="xinz-infs"> |
| | | <el-tag |
| | | :key="item.icd10name" |
| | | type="warning" |
| | | v-for="item in illnesslist" |
| | | closable |
| | | :disable-transitions="false" |
| | | @close="handleCloseillness(item)" |
| | | > |
| | | {{ item.icd10name }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="inputVisible" |
| | | @change="illnessConfirm" |
| | | :remote-method="remoteMethod" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | default-first-option |
| | | placeholder="è¯·éæ©/æ¥è¯¢" |
| | | :loading="loading" |
| | | > |
| | | <el-option |
| | | v-for="item in optionsillness" |
| | | :key="item.icdid" |
| | | :label="item.icdname" |
| | | :value="item.icdid" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput" |
| | | >+ æ°å¢ç¾ç
</el-button |
| | | > |
| | | </div> |
| | | <div style="font-size: 20px"> |
| | | æ¤æä½ä¼å°è¯¥ç±»å«ä¸æææ¨¡å转移è³[æªåç±»]ï¼æ¯å¦ç»§ç»å 餿¤åç±»ï¼ |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="deleteVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="deletefenlei">ç¡® å®</el-button> |
| | | <el-button @click="illnessVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="confirmillness">ç¡® å®</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import store from "@/store"; |
| | | |
| | | import { |
| | | listUser, |
| | | getUser, |
| | | delUser, |
| | | addUser, |
| | | updateUser, |
| | | } from "@/api/system/user"; |
| | | getFollowupclassify, |
| | | delFollowupclassify, |
| | | addFollowupclassify, |
| | | addtargetillness, |
| | | getvFollowup, |
| | | compileFollowup, |
| | | delFollowupinfo, |
| | | Followupinfo, |
| | | getFollowuplist, |
| | | getillnesslist, |
| | | illnesslistget, |
| | | getillness, |
| | | } from "@/api/AiCentre/index"; |
| | | export default { |
| | | name: "questionnaire", |
| | | dicts: ["sys_normal_disable", "sys_user_sex"], |
| | | name: "templateku", |
| | | data() { |
| | | return { |
| | | topactiveName: "Local", //é¡¶é¨éæ© |
| | |
| | | categoryname: "", |
| | | }, //ç±»å«è¡¨å |
| | | // è¡¨æ ¼æ°æ® |
| | | userList: [ |
| | | { |
| | | userid: 1, |
| | | userName: "è¡å¸¸è§ã尿常è§", |
| | | nickName: "è´«è¡", |
| | | aphonenumber: "(?!ä¸.*|没.*|æª.*)^.*([è´«å¹³åè¡]|è´«è¡|è¯å¦|è¯å¦),10", |
| | | bphonenumber: "éæ©", |
| | | cphonenumber: "æ®éè¯", |
| | | status: "0", |
| | | }, |
| | | ], |
| | | userList: [], |
| | | // å¼¹åºå±æ é¢ |
| | | title: "", |
| | | // æ¯å¦æ¾ç¤ºå¼¹åºå± |
| | |
| | | postOptions: [], |
| | | // è§è²é项 |
| | | roleOptions: [], |
| | | precedencetype: [], |
| | | // æ·»å ãä¿®æ¹åæ° |
| | | indexform: {}, |
| | | numberlb: 22, |
| | |
| | | sidecolumnform: {}, //æ·»å ç±»å«è¡¨å |
| | | dialogFormVisible: false, //æ·»å ç±»å«å¼¹æ¡ |
| | | sidecolumnval: "", //ç±»å«æç´¢ |
| | | indexopen: false, //å¼¹æ¡å±ç¤ºå¦ |
| | | indexopenty: false, //å¼¹æ¡å±ç¤ºå¦ |
| | | propss: { multiple: true }, |
| | | languagelist: [ |
| | | { |
| | | value: 1, |
| | | label: "çä¿¡", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "çµè¯", |
| | | }, |
| | | { |
| | | value: 3, |
| | | label: "å°ç¨åº", |
| | | }, |
| | | ], //è¯è¨å表 |
| | | qyoptions: [ |
| | | { |
| | | value: 1, |
| | | label: "å¯ç¨", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "åç¨", |
| | | }, |
| | | ], |
| | | // ææ¥æ¹å¼ |
| | | qyoptionbo: [ |
| | | { |
| | | value: 1, |
| | | label: "è¯é³ä¼å
", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "æåä¼å
", |
| | | }, |
| | | ], |
| | | qyoptionbo: [], |
| | | //ç±»å«å表 |
| | | editableTabs: [ |
| | | { |
| | | title: "模çåç±»ä¸", |
| | | number: "1", |
| | | }, |
| | | { |
| | | title: "模çåç±»äº", |
| | | number: "2", |
| | | }, |
| | | { |
| | | title: "模çåç±»ä¸", |
| | | number: "2", |
| | | }, |
| | | ], |
| | | editableTabs: [], |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | userName: undefined, |
| | | phonenumber: undefined, |
| | | status: undefined, |
| | | deptId: undefined, |
| | | IDnumber: undefined, |
| | | }, |
| | | // è¡¨åæ ¡éª |
| | | rules: { |
| | | userName: [ |
| | | { required: true, message: "主æ¨ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | { |
| | | min: 2, |
| | | max: 20, |
| | | message: "ç¨æ·åç§°é¿åº¦å¿
é¡»ä»äº 2 å 20 ä¹é´", |
| | | trigger: "blur", |
| | | rules: {}, |
| | | indexid: null, |
| | | inputValue: "", |
| | | radio: "主åç±»", |
| | | inputVisible: false, |
| | | illnessVisible: false, //ææ ç¾ç
å¼¹æ¡ |
| | | deptOptions: [], |
| | | optionsillness: [], |
| | | illnesslistapi: [], |
| | | illnesslist: [], |
| | | defaultProps: { |
| | | children: "ivrLibaTemplateAssortList", |
| | | label: "indexAssortName", |
| | | }, |
| | | ], |
| | | nickName: [ |
| | | { required: true, message: "ç¨æ·æµç§°ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | ], |
| | | password: [ |
| | | { required: true, message: "ç¨æ·å¯ç ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | { |
| | | min: 5, |
| | | max: 20, |
| | | message: "ç¨æ·å¯ç é¿åº¦å¿
é¡»ä»äº 5 å 20 ä¹é´", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | email: [ |
| | | { |
| | | type: "email", |
| | | message: "请è¾å
¥æ£ç¡®çé®ç®±å°å", |
| | | trigger: ["blur", "change"], |
| | | }, |
| | | ], |
| | | phonenumber: [ |
| | | { |
| | | pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, |
| | | message: "请è¾å
¥æ£ç¡®çææºå·ç ", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | IDnumber: [ |
| | | { |
| | | 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)$/, |
| | | message: "请è¾å
¥æ£ç¡®ç身份è¯å·ç ", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | mode: [], |
| | | languagelist: [], |
| | | qyoptions: [], |
| | | }; |
| | | }, |
| | | watch: {}, |
| | | watch: { |
| | | // æ ¹æ®åç§°çéé¨é¨æ |
| | | sidecolumnval(val) { |
| | | this.$refs.tree.filter(val); |
| | | }, |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | this.getDeptTree(); |
| | | this.mode = store.getters.mode; |
| | | this.languagelist = store.getters.languagelist; |
| | | this.qyoptions = store.getters.usable; |
| | | this.precedencetype = store.getters.precedencetype; |
| | | }, |
| | | |
| | | methods: { |
| | | /** æ¥è¯¢ç¨æ·å表 */ |
| | | /** æ¥è¯¢ä¿¡æ¯ */ |
| | | getList() { |
| | | // this.loading = true; |
| | | listUser().then((response) => { |
| | | console.log(response); |
| | | getFollowuplist(this.queryParams).then((res) => { |
| | | console.log(res); |
| | | console.log(this.userList); |
| | | this.userList = res.rows; |
| | | this.total = res.total; |
| | | }); |
| | | }, |
| | | // æ·»å ãä¿®æ¹ç±»å« |
| | | submitsidecolumn() { |
| | | if (this.amendtag) { |
| | | this.classifyform.tagcategoryid = this.idds; |
| | | // toamendtagcategory(this.addDateRange(this.classifyform)).then( |
| | | // (response) => { |
| | | // console.log(response); |
| | | // this.gitclasify(); |
| | | // } |
| | | // ); |
| | | } else { |
| | | // addtagcategory(this.addDateRange(this.classifyform)).then( |
| | | // (response) => { |
| | | // console.log(response); |
| | | // this.gitclasify(); |
| | | // } |
| | | // ); |
| | | } |
| | | this.classifyform = { |
| | | categoryname: "", |
| | | }; |
| | | this.idds = ""; |
| | | this.dialogFormVisible = false; |
| | | }, |
| | | //å é¤åç±» |
| | | deletefenlei(row) { |
| | | if (this.deleteVisible) { |
| | | // deletetagcategory(this.idds).then((response) => { |
| | | // console.log(response); |
| | | // this.gitclasify(); |
| | | // }); |
| | | this.deleteVisible = false; |
| | | this.idds = ""; |
| | | } else { |
| | | this.deleteVisible = true; |
| | | this.idds = row.tagcategoryid; |
| | | this.deletefenl = row.title; |
| | | } |
| | | }, |
| | | |
| | | // å¤å¶æ¨¡ç |
| | | copyfn() {}, |
| | | // ä¸è½½æ¨¡ç |
| | |
| | | compileUpdate(row) { |
| | | this.$router.push({ |
| | | path: "/knowledge/templateku/configurat/", |
| | | query: { id: "1" }, |
| | | }); |
| | | |
| | | // this.$router.push({ |
| | | // path: "/knowledge/templateku/particulars/", |
| | | // query: { id: "1" }, |
| | | // }); |
| | | |
| | | }, |
| | | // é¢ç®ç¶æä¿®æ¹ |
| | | handleStatusChange(row) { |
| | | let text = row.status === "0" ? "å¯ç¨" : "åç¨"; |
| | | this.$modal |
| | | .confirm('确认è¦"' + text + '""' + row.userName + '"ç¨æ·åï¼') |
| | | .then(function () { |
| | | return changeUserStatus(row.userId, row.status); |
| | | }) |
| | | .then(() => { |
| | | this.$modal.msgSuccess(text + "æå"); |
| | | }) |
| | | .catch(function () { |
| | | row.status = row.status === "0" ? "1" : "0"; |
| | | query: { id: row.id }, |
| | | }); |
| | | }, |
| | | // ä¾§è¾¹-------------- |
| | | handleOpen(key, keyPath) { |
| | | console.log(key, keyPath); |
| | | }, |
| | | handleClose(key, keyPath) { |
| | | console.log(key, keyPath); |
| | | }, |
| | | handleSelect(key, keyPath) { |
| | | console.log(key, keyPath); |
| | | }, |
| | | |
| | | //æç´¢ç±»å« |
| | | sidecolumnss() {}, |
| | | // ä¾¿æ·æ ç¾ |
| | |
| | | tophandleClick() {}, |
| | | // åæ¶æé® |
| | | cancel() { |
| | | this.indexopen = false; |
| | | this.indexopenty = false; |
| | | this.reset(); |
| | | }, |
| | | |
| | |
| | | }, |
| | | // å¤éæ¡é䏿°æ® |
| | | handleSelectionChange(selection) { |
| | | this.ids = selection.map((item) => item.userId); |
| | | this.ids = selection.map((item) => item.id); |
| | | this.single = selection.length != 1; |
| | | this.multiple = !selection.length; |
| | | }, |
| | | /** æ°å¢æé®æä½ */ |
| | | handleAdd() { |
| | | this.reset(); |
| | | this.title = "æ°å¢æ¨¡ç"; |
| | | if (this.topactiveName == "Local") { |
| | | this.indexopen = true; |
| | | } else { |
| | | this.indexopenty = true; |
| | | } |
| | | }, |
| | | // ä¿®æ¹åç±»å¼¹æ¡ |
| | | popoveramend(tagcategoryid) { |
| | | this.idds = tagcategoryid; |
| | | this.amendtag = true; |
| | | this.dialogFormVisible = true; |
| | | }, |
| | | handleAdd() {}, |
| | | |
| | | /** å é¤æé®æä½ */ |
| | | handleDelete(row) { |
| | | const userIds = row.userId || this.ids; |
| | | const userids = row.id || this.ids; |
| | | this.$modal |
| | | .confirm('æ¯å¦ç¡®è®¤å é¤ç¨æ·ç¼å·ä¸º"' + userIds + '"çæ°æ®é¡¹ï¼') |
| | | .confirm('æ¯å¦ç¡®è®¤å é¤ç¨æ·ç¼å·ä¸º"' + userids + '"çæ°æ®é¡¹ï¼') |
| | | .then(function () { |
| | | return delUser(userIds); |
| | | return delFollowupinfo(userids); |
| | | }) |
| | | .then(() => { |
| | | this.getList(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }) |
| | | .catch(() => {}); |
| | | }, |
| | | // åç±»æ ----------------------------------------- |
| | | // ä¿®æ¹åç±»å¼¹æ¡ |
| | | popoveramend(tagcategoryid) { |
| | | this.idds = tagcategoryid; |
| | | this.amendtag = true; |
| | | this.dialogFormVisible = true; |
| | | }, |
| | | // æ¥è¯¢æ |
| | | getDeptTree() { |
| | | getFollowupclassify({}).then((res) => { |
| | | this.deptOptions = res.rows; |
| | | console.log(res); |
| | | }); |
| | | }, |
| | | |
| | | // æ·»å ç±»å«æ |
| | | submitsidecolumn() { |
| | | let calssvalue = {}; |
| | | if ( |
| | | this.classifyform.pid && |
| | | this.classifyform.indexAssortName && |
| | | this.radio == "ååç±»" |
| | | ) { |
| | | const index = this.deptOptions.findIndex( |
| | | (obj) => obj.id == this.classifyform.pid |
| | | ); |
| | | calssvalue = this.deptOptions[index]; |
| | | calssvalue.ivrLibaTemplateAssortList.push(this.classifyform); |
| | | } else if (this.radio == "主åç±»" && this.classifyform.indexAssortName) { |
| | | this.classifyform.pid = null; |
| | | this.classifyform.ivrLibaTemplateAssortList = []; |
| | | } else { |
| | | return this.$modal.msgError("请填å宿´ä¿¡æ¯"); |
| | | } |
| | | addFollowupclassify(this.classifyform).then((res) => { |
| | | this.getDeptTree(); |
| | | this.$modal.msgSuccess("æ°å¢æå"); |
| | | }); |
| | | }, |
| | | remove(a, b) { |
| | | if (b.pid) { |
| | | this.$modal |
| | | .confirm('æ¯å¦ç¡®è®¤å é¤å类项为"' + b.indexAssortName + '"çæ°æ®é¡¹ï¼') |
| | | .then(function () { |
| | | return delFollowupclassify(b.id); |
| | | }) |
| | | .then(() => { |
| | | this.getDeptTree(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }) |
| | | .catch(() => {}); |
| | | } else { |
| | | this.$modal |
| | | .confirm( |
| | | 'æ¯å¦ç¡®è®¤å é¤ä¸çº§åç±»"' + |
| | | b.indexAssortName + |
| | | '"ï¼å é¤åå
¶ä¸åç±»å°å½ç±»âæªåç±»â' |
| | | ) |
| | | .then(() => { |
| | | return delFollowupclassify(b.id); |
| | | }) |
| | | .then(() => { |
| | | this.getDeptTree(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }) |
| | | .catch(() => {}); |
| | | } |
| | | }, |
| | | |
| | | // çéèç¹ |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | return data.indexAssortName.indexOf(value) !== -1; |
| | | }, |
| | | handleNodeClick(data) { |
| | | this.queryParams.assortid = data.id; |
| | | this.getList(); |
| | | }, |
| | | // ç¾ç
----------------------- |
| | | illnessUpdate(row) { |
| | | this.illnessVisible = true; |
| | | this.indexid = row.id; |
| | | this.illnesslistapi = []; |
| | | const illnessqueryParams = { |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | | }; |
| | | getillnesslist(illnessqueryParams).then((response) => { |
| | | console.log(response); |
| | | this.optionsillness = response.rows; |
| | | }); |
| | | getillness({ outid: row.id, type: 3 }).then((res) => { |
| | | this.illnesslist = res.rows; |
| | | console.log(res); |
| | | }); |
| | | }, |
| | | handleCloseillness(tag) { |
| | | this.illnesslist.splice(this.illnesslist.indexOf(tag), 1); |
| | | if (tag.id) { |
| | | this.illnesslistapi.push(tag.id); |
| | | } |
| | | }, |
| | | remoteMethod(value) { |
| | | console.log(value); |
| | | const illnessqueryParams = { |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | | icdname: value, |
| | | }; |
| | | this.loading = true; |
| | | setTimeout(() => { |
| | | this.loading = false; |
| | | getillnesslist(illnessqueryParams).then((response) => { |
| | | this.optionsillness = response.rows; |
| | | }); |
| | | }, 200); |
| | | }, |
| | | illnessConfirm(item) { |
| | | let opeavalue = {}; |
| | | let tagname = this.inputValue; |
| | | illnesslistget(item).then((res) => { |
| | | opeavalue = res.data; |
| | | opeavalue.outid = this.indexid; |
| | | opeavalue.type = 3; |
| | | opeavalue.icd10id = opeavalue.icdid; |
| | | opeavalue.icd10name = opeavalue.icdname; |
| | | opeavalue.icd10code = opeavalue.icdcode; |
| | | if (tagname) { |
| | | this.illnesslist.push(opeavalue); |
| | | } |
| | | }); |
| | | console.log(this.illnesslist); |
| | | this.inputVisible = false; |
| | | this.inputValue = ""; |
| | | }, |
| | | confirmillness() { |
| | | this.illnesslist.forEach((item, index) => { |
| | | if (!item.id) { |
| | | addtargetillness(item).then((res) => {}); |
| | | } |
| | | }); |
| | | if (this.illnesslistapi.length) { |
| | | deltargetillness(this.illnesslistapi.join(",")).then((res) => {}); |
| | | } |
| | | this.illnessVisible = false; |
| | | this.$modal.msgSuccess("ç¼è¾æå"); |
| | | }, |
| | | showInput() { |
| | | this.inputVisible = true; |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | font-size: 20px; |
| | | } |
| | | } |
| | | .xinz-infs { |
| | | font-size: 18px; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | |
| | | line-height: 48px; |
| | | |
| | | .el-tag + .el-tag { |
| | | margin-left: 10px; |
| | | } |
| | | .button-new-tag { |
| | | margin-left: 10px; |
| | | height: 32px; |
| | | line-height: 30px; |
| | | padding-top: 0; |
| | | padding-bottom: 0; |
| | | } |
| | | .input-new-tag { |
| | | width: 90px; |
| | | margin-left: 10px; |
| | | vertical-align: bottom; |
| | | } |
| | | } |
| | | .leftvlues { |
| | | // display: flex; |
| | | // flex: 1; |
| | |
| | | font-size: 20px; |
| | | } |
| | | } |
| | | ::v-deep .el-tree-node__content { |
| | | display: -webkit-box; |
| | | display: -ms-flexbox; |
| | | display: flex; |
| | | -webkit-box-align: center; |
| | | -ms-flex-align: center; |
| | | align-items: center; |
| | | height: 46px; |
| | | font-size: 20px; |
| | | cursor: pointer; |
| | | } |
| | | ::v-deep .el-button--mini.is-circle { |
| | | padding: 7px; |
| | | margin: 0; |
| | | color: red; |
| | | } |
| | | .button-text { |
| | | color: rgb(70, 204, 238); |
| | | } |
| | |
| | | class="input-with-select" |
| | | size="medium " |
| | | > |
| | | <el-button |
| | | @click="sidecolumnss" |
| | | slot="append" |
| | | icon="el-icon-search" |
| | | ></el-button> |
| | | </el-input> |
| | | </div> |
| | | <div class="bottom-fl"> |
| | | <el-menu |
| | | default-active="3" |
| | | class="el-menu-vertical-demo" |
| | | @open="handleOpen" |
| | | @close="handleClose" |
| | | @select="handleSelect" |
| | | <div class="head-container" style="margin-top: 20px"> |
| | | <el-tree |
| | | :data="deptOptions" |
| | | :props="defaultProps" |
| | | :expand-on-click-node="false" |
| | | :filter-node-method="filterNode" |
| | | ref="tree" |
| | | node-key="id" |
| | | default-expand-all |
| | | highlight-current |
| | | @node-click="handleNodeClick" |
| | | > |
| | | <el-submenu index="1"> |
| | | <template slot="title"> |
| | | <i class="el-icon-location"></i> |
| | | <span>åç±»ä¸</span> |
| | | </template> |
| | | |
| | | <el-menu-item index="1-1">é项1</el-menu-item> |
| | | <el-menu-item index="1-2">é项2</el-menu-item> |
| | | <el-menu-item index="1-3">é项3</el-menu-item> |
| | | <el-menu-item index="1-4">é项3</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="2"> |
| | | <template slot="title"> |
| | | <i class="el-icon-menu"></i> |
| | | <span>åç±»äº</span> |
| | | </template> |
| | | <el-menu-item index="2-1">é项1</el-menu-item> |
| | | <el-menu-item index="2-2">é项2</el-menu-item> |
| | | <el-menu-item index="2-3">é项3</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="3"> |
| | | <template slot="title"> |
| | | <i class="el-icon-document"></i> |
| | | <span>åç±»ä¸</span> |
| | | </template> |
| | | <el-menu-item index="2-1">é项1</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="4"> |
| | | <template slot="title"> |
| | | <i class="el-icon-setting"></i> |
| | | <span>åç±»å</span> |
| | | </template> |
| | | <el-menu-item index="2-1">é项1</el-menu-item> |
| | | </el-submenu> |
| | | </el-menu> |
| | | <span class="custom-tree-node" slot-scope="{ node, data }"> |
| | | <span>{{ node.label }}</span> |
| | | <span> |
| | | <el-button |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | circle |
| | | size="mini" |
| | | @click="() => remove(node, data)" |
| | | > |
| | | </el-button> |
| | | </span> |
| | | </span> |
| | | </el-tree> |
| | | </div> |
| | | </div> |
| | | <!-- å³ä¾§æ°æ® --> |
| | |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="50" align="center" /> |
| | | <el-table-column |
| | | label="åºå·" |
| | | align="center" |
| | | key="userId" |
| | | prop="userId" |
| | | /> |
| | | <el-table-column label="åºå·" align="center" key="id" prop="id" /> |
| | | <el-table-column |
| | | label="é®é¢ä¸»é¢" |
| | | align="center" |
| | | key="userName" |
| | | prop="userName" |
| | | key="questiontitle" |
| | | prop="questiontitle" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="é®é¢ææ¬" |
| | | align="center" |
| | | key="nickName" |
| | | prop="nickName" |
| | | key="questiontext" |
| | | prop="questiontext" |
| | | width="200" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | |
| | | <el-table-column |
| | | label="é®é¢è¯é³" |
| | | align="center" |
| | | key="aphonenumber" |
| | | prop="aphonenumber" |
| | | key="questionvoice" |
| | | prop="questionvoice" |
| | | width="200" |
| | | /><el-table-column |
| | | label="å
³èææ " |
| | | align="center" |
| | | key="bphonenumbers" |
| | | prop="bphonenumbers" |
| | | key="targetname" |
| | | prop="targetname" |
| | | width="120" |
| | | /> |
| | | /><el-table-column |
| | | label="æ£å¸¸å¼èå´" |
| | | align="center" |
| | | key="scope" |
| | | prop="scope" |
| | | width="120" |
| | | /> |
| | | /><el-table-column |
| | | label="é®é¢æè¿°" |
| | | align="center" |
| | | key="describe" |
| | | prop="describe" |
| | | width="120" |
| | | /> |
| | | |
| | | /><el-table-column |
| | | label="éç¨æ¹å¼" |
| | | align="center" |
| | | key="application" |
| | | prop="application" |
| | | width="120" |
| | | /> |
| | | /><el-table-column |
| | | label="éç¨ç¾ç
" |
| | | align="center" |
| | | key="Applicable" |
| | | prop="Applicable" |
| | | width="120" |
| | | /> |
| | | <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 }} </span> |
| | | <dict-tag :options="mode" :value="scope.row.suitWay" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="éç¨ç¾ç
" |
| | | align="center" |
| | | key="suitDisease" |
| | | prop="suitDisease" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="illnessUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-textxg" |
| | | ><i class="el-icon-date"></i>详æ
</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="è¯è¨" |
| | | align="center" |
| | | key="indicator" |
| | | prop="indicator" |
| | | key="language" |
| | | prop="language" |
| | | width="120" |
| | | /> |
| | | <el-table-column |
| | | label="çæ¬" |
| | | align="center" |
| | | key="versions" |
| | | prop="versions" |
| | | key="version" |
| | | prop="version" |
| | | width="120" |
| | | /> |
| | | <el-table-column |
| | | label="å¯ç¨" |
| | | align="center" |
| | | key="usable" |
| | | prop="usable" |
| | | key="usestate" |
| | | prop="usestate" |
| | | width="120" |
| | | /> |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="qyoptions" :value="scope.row.usestate" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="æè¿ä¿®æ¹" |
| | | align="center" |
| | | key="Recentrevision" |
| | | prop="Recentrevision" |
| | | key="modifytime" |
| | | prop="modifytime" |
| | | width="120" |
| | | /> |
| | | <el-table-column label="æ¯å¦å¯ç¨" align="center" key="status"> |
| | | <template slot-scope="scope"> |
| | | <el-switch |
| | | v-model="scope.row.status" |
| | | active-value="0" |
| | | inactive-value="1" |
| | | @change="handleStatusChange(scope.row)" |
| | | ></el-switch> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | label="æä½" |
| | |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleDelete(scope.row)" |
| | | @click="preview(scope.row)" |
| | | v-hasPermi="['system:user:remove']" |
| | | ><span class="button-text" |
| | | ><i class="el-icon-view"></i>é¢è§</span |
| | |
| | | </div> |
| | | </div> |
| | | <!-- æ·»å ç±»å«å¼¹æ¡ --> |
| | | <el-dialog |
| | | :title="amendtag ? 'ä¿®æ¹ç±»å«' : 'æ°å¢ç±»å«'" |
| | | width="30%" |
| | | :visible.sync="dialogFormVisible" |
| | | > |
| | | <el-dialog title="æ°å¢ç±»å«" width="30%" :visible.sync="dialogFormVisible"> |
| | | <div style="text-align: center; margin-bottom: 20px"> |
| | | <el-radio-group v-model="radio"> |
| | | <el-radio-button label="主åç±»"></el-radio-button> |
| | | <el-radio-button label="ååç±»"></el-radio-button> |
| | | </el-radio-group> |
| | | </div> |
| | | <el-divider></el-divider> |
| | | |
| | | <el-form :model="classifyform"> |
| | | <el-form-item label="è¯·éæ©é®å·å¤§ç±»"> |
| | | <el-select v-model="classifyform.broadheading" placeholder="è¯·éæ©"> |
| | | <el-form-item label="è¯·éæ©é®é¢å¤§ç±»" v-if="radio == 'ååç±»'"> |
| | | <el-select v-model="classifyform.pid" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="item in editableTabs" |
| | | :key="item.title" |
| | | :label="item.title" |
| | | :value="item.title" |
| | | v-for="item in deptOptions" |
| | | :key="item.id" |
| | | :label="item.indexAssortName" |
| | | :value="item.id" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="amendtag ? '请è¾å
¥æ°çç±»å«åç§°' : '请è¾å
¥ç±»å«åç§°'" |
| | | > |
| | | <el-form-item label="请è¾å
¥ç±»å«åç§°"> |
| | | <el-input |
| | | v-model="classifyform.categoryname" |
| | | v-model="classifyform.indexAssortName" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | <el-button type="primary" @click="submitsidecolumn">ç¡® å®</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- å é¤ç±»å«ç¡®è®¤æ¡ --> |
| | | <el-dialog title="è¦å" :visible.sync="deleteVisible" width="40%"> |
| | | <div style="font-size: 20px; color: rgb(247, 76, 76)"> |
| | | æ¯å¦ç¡®è®¤å é¤åç±»ï¼[<span>{{ deletefenl }}</span |
| | | >]? |
| | | <!-- æ·»å ç¾ç
å¯¹è¯æ¡ --> |
| | | <el-dialog title="ææ ç¾ç
" :visible.sync="illnessVisible" width="50%"> |
| | | <div> |
| | | <div class="xinz-infs"> |
| | | <el-tag |
| | | :key="item.icd10name" |
| | | type="warning" |
| | | v-for="item in illnesslist" |
| | | closable |
| | | :disable-transitions="false" |
| | | @close="handleCloseillness(item)" |
| | | > |
| | | {{ item.icd10name }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="inputVisible" |
| | | @change="illnessConfirm" |
| | | :remote-method="remoteMethod" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | default-first-option |
| | | placeholder="è¯·éæ©/æ¥è¯¢" |
| | | :loading="loading" |
| | | > |
| | | <el-option |
| | | v-for="item in optionsillness" |
| | | :key="item.icdid" |
| | | :label="item.icdname" |
| | | :value="item.icdid" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput" |
| | | >+ æ°å¢ç¾ç
</el-button |
| | | > |
| | | </div> |
| | | <div style="font-size: 20px"> |
| | | æ¤æä½ä¼å°è¯¥ç±»å«ä¸æææ¨¡å转移è³[æªåç±»]ï¼æ¯å¦ç»§ç»å 餿¤åç±»ï¼ |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="deleteVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="deletefenlei">ç¡® å®</el-button> |
| | | <el-button @click="illnessVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="confirmillness">ç¡® å®</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import { |
| | | listUser, |
| | | getUser, |
| | | delUser, |
| | | addUser, |
| | | updateUser, |
| | | } from "@/api/system/user"; |
| | | getverbaltricklist, |
| | | verbaltrickinfo, |
| | | delverbaltrickinfo, |
| | | getverbaltrick, |
| | | getillnesslist, |
| | | illnesslistget, |
| | | getillness, |
| | | deltargetillness, |
| | | addtargetillness, |
| | | getbaltrickclassify, |
| | | delbaltrickclassify, |
| | | addbaltrickclassify, |
| | | } from "@/api/AiCentre/index"; |
| | | import store from "@/store"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import Treeselect from "@riophae/vue-treeselect"; |
| | | import "@riophae/vue-treeselect/dist/vue-treeselect.css"; |
| | | export default { |
| | | name: "questionnaire", |
| | | dicts: ["sys_normal_disable", "sys_user_sex"], |
| | | components: { Treeselect }, |
| | | data() { |
| | | return { |
| | |
| | | idds: "", |
| | | amendtag: false, //æ¯å¦ä¿®æ¹ç±»å« |
| | | dialogFormVisible: false, //ä¿®æ¹æ·»å ç±»å«å¼¹æ¡ |
| | | deleteVisible: false, //åç±»å é¤å¼¹æ¡ |
| | | deletefenl: "é«è¡å", //å é¤é¡¹ |
| | | indexid: null, |
| | | inputValue: "", |
| | | inputVisible: false, |
| | | illnessVisible: false, //ææ ç¾ç
å¼¹æ¡ |
| | | deptOptions: [], |
| | | optionsillness: [], |
| | | illnesslistapi: [], |
| | | illnesslist: [], |
| | | defaultProps: { |
| | | children: "ivrLibaScriptAssortList", |
| | | label: "indexAssortName", |
| | | }, |
| | | classifyform: { |
| | | categoryname: "", |
| | | }, //ç±»å«è¡¨å |
| | |
| | | sidecolumnval: "", //ç±»å«æç´¢ |
| | | indexopen: false, //å¼¹æ¡å±ç¤ºå¦ |
| | | propss: { multiple: true }, |
| | | languagelist: [ |
| | | { |
| | | value: 1, |
| | | label: "æ®éè¯", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "粤è¯", |
| | | }, |
| | | { |
| | | value: 3, |
| | | label: "è±è¯", |
| | | }, |
| | | ], //è¯è¨å表 |
| | | qyoptions: [ |
| | | { |
| | | value: 1, |
| | | label: "å¯ç¨", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "ç¦ç¨", |
| | | }, |
| | | ], |
| | | //ç±»å«å表 |
| | | editableTabs: [ |
| | | { |
| | | title: "é®é¢åç±»ä¸", |
| | | number: "1", |
| | | }, |
| | | { |
| | | title: "é®é¢åç±»äº", |
| | | number: "2", |
| | | }, |
| | | { |
| | | title: "é®é¢åç±»ä¸", |
| | | number: "2", |
| | | }, |
| | | { |
| | | title: "é®é¢åç±»å", |
| | | number: "2", |
| | | }, |
| | | { |
| | | title: "é®é¢åç±»äº", |
| | | number: "2", |
| | | }, |
| | | ], |
| | | radio: "主åç±»", |
| | | |
| | | usable: [], |
| | | |
| | | mode: [], |
| | | languagelist: [], |
| | | qyoptions: [], |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | userName: undefined, |
| | | phonenumber: undefined, |
| | | status: undefined, |
| | | deptId: undefined, |
| | | IDnumber: undefined, |
| | | }, |
| | | // è¡¨åæ ¡éª |
| | | rules: { |
| | | userName: [ |
| | | { required: true, message: "主æ¨ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | { |
| | | min: 2, |
| | | max: 20, |
| | | message: "ç¨æ·åç§°é¿åº¦å¿
é¡»ä»äº 2 å 20 ä¹é´", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | nickName: [ |
| | | { required: true, message: "ç¨æ·æµç§°ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | ], |
| | | password: [ |
| | | { required: true, message: "ç¨æ·å¯ç ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | { |
| | | min: 5, |
| | | max: 20, |
| | | message: "ç¨æ·å¯ç é¿åº¦å¿
é¡»ä»äº 5 å 20 ä¹é´", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | email: [ |
| | | { |
| | | type: "email", |
| | | message: "请è¾å
¥æ£ç¡®çé®ç®±å°å", |
| | | trigger: ["blur", "change"], |
| | | }, |
| | | ], |
| | | phonenumber: [ |
| | | { |
| | | pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, |
| | | message: "请è¾å
¥æ£ç¡®çææºå·ç ", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | IDnumber: [ |
| | | { |
| | | 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)$/, |
| | | message: "请è¾å
¥æ£ç¡®ç身份è¯å·ç ", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | rules: {}, |
| | | }; |
| | | }, |
| | | watch: {}, |
| | | watch: { |
| | | // æ ¹æ®åç§°çéé¨é¨æ |
| | | sidecolumnval(val) { |
| | | this.$refs.tree.filter(val); |
| | | }, |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | this.getDeptTree(); |
| | | this.mode = store.getters.mode; |
| | | this.languagelist = store.getters.languagelist; |
| | | this.qyoptions = store.getters.usable; |
| | | }, |
| | | |
| | | methods: { |
| | | /** æ¥è¯¢ç¨æ·å表 */ |
| | | getList() { |
| | | // this.loading = true; |
| | | listUser().then((response) => { |
| | | console.log(response); |
| | | console.log(this.userList); |
| | | this.loading = true; |
| | | getverbaltricklist(this.queryParams).then((res) => { |
| | | this.userList = res.rows; |
| | | this.loading = false; |
| | | this.total=res.total |
| | | }); |
| | | }, |
| | | // æ·»å ãä¿®æ¹ç±»å« |
| | | submitsidecolumn() { |
| | | if (this.amendtag) { |
| | | this.classifyform.tagcategoryid = this.idds; |
| | | // toamendtagcategory(this.addDateRange(this.classifyform)).then( |
| | | // (response) => { |
| | | // console.log(response); |
| | | // this.gitclasify(); |
| | | // } |
| | | // ); |
| | | } else { |
| | | // addtagcategory(this.addDateRange(this.classifyform)).then( |
| | | // (response) => { |
| | | // console.log(response); |
| | | // this.gitclasify(); |
| | | // } |
| | | // ); |
| | | } |
| | | this.classifyform = { |
| | | categoryname: "", |
| | | }; |
| | | this.idds = ""; |
| | | this.dialogFormVisible = false; |
| | | }, |
| | | //å é¤åç±» |
| | | deletefenlei(row) { |
| | | if (this.deleteVisible) { |
| | | // deletetagcategory(this.idds).then((response) => { |
| | | // console.log(response); |
| | | // this.gitclasify(); |
| | | // }); |
| | | this.deleteVisible = false; |
| | | this.idds = ""; |
| | | } else { |
| | | this.deleteVisible = true; |
| | | this.idds = row.tagcategoryid; |
| | | this.deletefenl = row.title; |
| | | } |
| | | }, |
| | | |
| | | compileUpdate(row) { |
| | | this.$router.push({ |
| | | path: "/knowledge/verbaltrick/particulars/", |
| | | query: { id: "1" }, |
| | | query: { id: row.id }, |
| | | }); |
| | | }, |
| | | // é¢ç®ç¶æä¿®æ¹ |
| | | handleStatusChange(row) { |
| | | let text = row.status === "0" ? "å¯ç¨" : "åç¨"; |
| | | /** å é¤æé®æä½ */ |
| | | handleDelete(row) { |
| | | const userIds = row.id || this.ids; |
| | | this.$modal |
| | | .confirm('确认è¦"' + text + '""' + row.userName + '"ç¨æ·åï¼') |
| | | .confirm('æ¯å¦ç¡®è®¤å é¤ç¨æ·ç¼å·ä¸º"' + userIds + '"çæ°æ®é¡¹ï¼') |
| | | .then(function () { |
| | | return changeUserStatus(row.userId, row.status); |
| | | return delverbaltrickinfo(userIds); |
| | | }) |
| | | .then(() => { |
| | | this.$modal.msgSuccess(text + "æå"); |
| | | this.getList(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }) |
| | | .catch(function () { |
| | | row.status = row.status === "0" ? "1" : "0"; |
| | | }); |
| | | .catch(() => {}); |
| | | }, |
| | | // ä¾§è¾¹-------------- |
| | | handleOpen(key, keyPath) { |
| | | console.log(key, keyPath); |
| | | }, |
| | | handleClose(key, keyPath) { |
| | | console.log(key, keyPath); |
| | | }, |
| | | handleSelect(key, keyPath) { |
| | | console.log(key, keyPath); |
| | | }, |
| | | //æç´¢ç±»å« |
| | | sidecolumnss() {}, |
| | | // ä¾¿æ·æ ç¾ |
| | | tsgnameto() {}, |
| | | // åæ¶æé® |
| | | cancel() { |
| | | this.indexopen = false; |
| | | this.reset(); |
| | | }, |
| | | |
| | | // 表åéç½® |
| | | reset() { |
| | | this.form = { |
| | | userId: undefined, |
| | | deptId: undefined, |
| | | userName: undefined, |
| | | nickName: undefined, |
| | | password: undefined, |
| | | phonenumber: undefined, |
| | | email: undefined, |
| | | sex: undefined, |
| | | status: "0", |
| | | remark: undefined, |
| | | postIds: [], |
| | | roleIds: [], |
| | | }; |
| | | this.form = {}; |
| | | this.resetForm("form"); |
| | | }, |
| | | /** æç´¢æé®æä½ */ |
| | |
| | | }, |
| | | // å¤éæ¡é䏿°æ® |
| | | handleSelectionChange(selection) { |
| | | this.ids = selection.map((item) => item.userId); |
| | | this.ids = selection.map((item) => item.id); |
| | | this.single = selection.length != 1; |
| | | this.multiple = !selection.length; |
| | | }, |
| | |
| | | handleAdd() { |
| | | this.$router.push({ |
| | | path: "/knowledge/verbaltrick/particulars/", |
| | | query: { id: "1" }, |
| | | query: { id: "" }, |
| | | }); |
| | | }, |
| | | // åç±»æ ----------------------------------------- |
| | | // ä¿®æ¹åç±»å¼¹æ¡ |
| | | popoveramend(tagcategoryid) { |
| | | this.idds = tagcategoryid; |
| | | this.amendtag = true; |
| | | this.dialogFormVisible = true; |
| | | }, |
| | | |
| | | /** æ´æ°/ä¿®æ¹æäº¤æé® */ |
| | | submitForm: function () { |
| | | this.$refs["form"].validate((valid) => { |
| | | if (valid) { |
| | | if (this.form.userId != undefined) { |
| | | updateUser(this.form).then((response) => { |
| | | this.$modal.msgSuccess("ä¿®æ¹æå"); |
| | | this.indexopen = false; |
| | | this.getList(); |
| | | }); |
| | | } else { |
| | | addUser(this.form).then((response) => { |
| | | this.$modal.msgSuccess("æ°å¢æå"); |
| | | this.indexopen = false; |
| | | this.getList(); |
| | | }); |
| | | } |
| | | } |
| | | // æ¥è¯¢æ |
| | | getDeptTree() { |
| | | getbaltrickclassify({}).then((res) => { |
| | | this.deptOptions = res.rows; |
| | | console.log(res); |
| | | }); |
| | | }, |
| | | /** å é¤æé®æä½ */ |
| | | handleDelete(row) { |
| | | const userIds = row.userId || this.ids; |
| | | |
| | | // æ·»å ç±»å«æ |
| | | submitsidecolumn() { |
| | | let calssvalue = {}; |
| | | if ( |
| | | this.classifyform.pid && |
| | | this.classifyform.indexAssortName && |
| | | this.radio == "ååç±»" |
| | | ) { |
| | | const index = this.deptOptions.findIndex( |
| | | (obj) => obj.id == this.classifyform.pid |
| | | ); |
| | | calssvalue = this.deptOptions[index]; |
| | | calssvalue.ivrLibaScriptAssortList.push(this.classifyform); |
| | | } else if (this.radio == "主åç±»" && this.classifyform.indexAssortName) { |
| | | this.classifyform.pid = null; |
| | | this.classifyform.ivrLibaScriptAssortList = []; |
| | | } else { |
| | | return this.$modal.msgError("请填å宿´ä¿¡æ¯"); |
| | | } |
| | | addbaltrickclassify(this.classifyform).then((res) => { |
| | | this.getDeptTree(); |
| | | this.$modal.msgSuccess("æ°å¢æå"); |
| | | }); |
| | | }, |
| | | remove(a, b) { |
| | | if (b.pid) { |
| | | this.$modal |
| | | .confirm('æ¯å¦ç¡®è®¤å é¤ç¨æ·ç¼å·ä¸º"' + userIds + '"çæ°æ®é¡¹ï¼') |
| | | .confirm('æ¯å¦ç¡®è®¤å é¤å类项为"' + b.indexAssortName + '"çæ°æ®é¡¹ï¼') |
| | | .then(function () { |
| | | return delUser(userIds); |
| | | return delbaltrickclassify(b.id); |
| | | }) |
| | | .then(() => { |
| | | this.getList(); |
| | | this.getDeptTree(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }) |
| | | .catch(() => {}); |
| | | } else { |
| | | this.$modal |
| | | .confirm( |
| | | 'æ¯å¦ç¡®è®¤å é¤ä¸çº§åç±»"' + |
| | | b.indexAssortName + |
| | | '"ï¼å é¤åå
¶ä¸åç±»å°å½ç±»âæªåç±»â' |
| | | ) |
| | | .then(() => { |
| | | return delbaltrickclassify(b.id); |
| | | }) |
| | | .then(() => { |
| | | this.getDeptTree(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }) |
| | | .catch(() => {}); |
| | | } |
| | | }, |
| | | |
| | | // çéèç¹ |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | return data.indexAssortName.indexOf(value) !== -1; |
| | | }, |
| | | handleNodeClick(data) { |
| | | this.queryParams.assortid = data.id; |
| | | this.getList(); |
| | | }, |
| | | |
| | | // é¢è§ |
| | | preview(row) {}, |
| | | // ç¾ç
----------------------- |
| | | illnessUpdate(row) { |
| | | this.illnessVisible = true; |
| | | this.indexid = row.id; |
| | | this.illnesslistapi = []; |
| | | const illnessqueryParams = { |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | | }; |
| | | getillnesslist(illnessqueryParams).then((response) => { |
| | | console.log(response); |
| | | this.optionsillness = response.rows; |
| | | }); |
| | | getillness({ outid: row.id, type: 2 }).then((res) => { |
| | | this.illnesslist = res.rows; |
| | | console.log(res); |
| | | }); |
| | | }, |
| | | handleCloseillness(tag) { |
| | | this.illnesslist.splice(this.illnesslist.indexOf(tag), 1); |
| | | if (tag.id) { |
| | | this.illnesslistapi.push(tag.id); |
| | | } |
| | | }, |
| | | remoteMethod(value) { |
| | | console.log(value); |
| | | const illnessqueryParams = { |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | | icdname: value, |
| | | }; |
| | | this.loading = true; |
| | | setTimeout(() => { |
| | | this.loading = false; |
| | | getillnesslist(illnessqueryParams).then((response) => { |
| | | this.optionsillness = response.rows; |
| | | }); |
| | | }, 200); |
| | | }, |
| | | illnessConfirm(item) { |
| | | let opeavalue = {}; |
| | | let tagname = this.inputValue; |
| | | illnesslistget(item).then((res) => { |
| | | opeavalue = res.data; |
| | | opeavalue.outid = this.indexid; |
| | | opeavalue.type = 2; |
| | | opeavalue.icd10id = opeavalue.icdid; |
| | | opeavalue.icd10name = opeavalue.icdname; |
| | | opeavalue.icd10code = opeavalue.icdcode; |
| | | if (tagname) { |
| | | this.illnesslist.push(opeavalue); |
| | | } |
| | | }); |
| | | console.log(this.illnesslist); |
| | | this.inputVisible = false; |
| | | this.inputValue = ""; |
| | | }, |
| | | confirmillness() { |
| | | this.illnesslist.forEach((item, index) => { |
| | | if (!item.id) { |
| | | addtargetillness(item).then((res) => {}); |
| | | } |
| | | }); |
| | | if (this.illnesslistapi.length) { |
| | | deltargetillness(this.illnesslistapi.join(",")).then((res) => {}); |
| | | } |
| | | this.illnessVisible = false; |
| | | this.$modal.msgSuccess("ç¼è¾æå"); |
| | | }, |
| | | showInput() { |
| | | this.inputVisible = true; |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | .bottom-fl { |
| | | margin-top: 30px; |
| | | display: center !important; |
| | | } |
| | | } |
| | | .xinz-infs { |
| | | font-size: 18px; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | |
| | | line-height: 48px; |
| | | |
| | | .el-tag + .el-tag { |
| | | margin-left: 10px; |
| | | } |
| | | .button-new-tag { |
| | | margin-left: 10px; |
| | | height: 32px; |
| | | line-height: 30px; |
| | | padding-top: 0; |
| | | padding-bottom: 0; |
| | | } |
| | | .input-new-tag { |
| | | width: 90px; |
| | | margin-left: 10px; |
| | | vertical-align: bottom; |
| | | } |
| | | } |
| | | .qrcode-dialo { |
| | |
| | | display: block; |
| | | font-size: 20px; |
| | | } |
| | | ::v-deep .el-tree-node__content { |
| | | display: -webkit-box; |
| | | display: -ms-flexbox; |
| | | display: flex; |
| | | -webkit-box-align: center; |
| | | -ms-flex-align: center; |
| | | align-items: center; |
| | | height: 46px; |
| | | font-size: 20px; |
| | | cursor: pointer; |
| | | } |
| | | ::v-deep .el-button--mini.is-circle { |
| | | padding: 7px; |
| | | margin: 0; |
| | | color: red; |
| | | } |
| | | .leftvlue { |
| | | // display: flex; |
| | | // flex: 1; |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="å¯ç¨ç¶æ" prop="status"> |
| | | <el-select v-model="indexform.status" placeholder="è¯·éæ©ç¶æ"> |
| | | <el-select |
| | | v-model="indexform.isAvailable" |
| | | placeholder="è¯·éæ©ç¶æ" |
| | | > |
| | | <el-option |
| | | v-for="item in qyoptions" |
| | | :key="item.value" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="é®é¢ä¸»æ¨" prop="nickName"> |
| | | <el-input |
| | | v-model="indexform.nickName" |
| | | placeholder="请è¾å
¥é®é¢ä¸»æ¨" |
| | | maxlength="80" |
| | | /> |
| | | <el-form-item label="é®é¢åç±»" prop="status"> |
| | | <el-select |
| | | v-model="indexform.assortid" |
| | | placeholder="è¯·éæ©ç¶æ" |
| | | > |
| | | <el-option |
| | | v-for="item in questionclass" |
| | | :key="item.id" |
| | | :label="item.indexAssortName" |
| | | :value="item.id" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <el-col :span="5"> |
| | | <el-form-item label="çæ¬å·" prop="nickName"> |
| | | <el-form-item label="çæ¬å·" prop="version"> |
| | | <el-input |
| | | v-model="indexform.nickName" |
| | | v-model="indexform.version" |
| | | placeholder="请è¾å
¥" |
| | | maxlength="80" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <div |
| | | style="display: flex; margin-left: 100px; margin-bottom: 10px" |
| | | <el-row :gutter="20"> |
| | | <el-col :span="20"> |
| | | <el-form-item label="é®é¢ä¸»æ¨" prop="questiontitle"> |
| | | <el-input |
| | | v-model="indexform.questiontitle" |
| | | placeholder="请è¾å
¥é®é¢ä¸»æ¨" |
| | | maxlength="80" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-form-item label="æ ç¾" prop="desc"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="tag.tagname" |
| | | type="success" |
| | | v-for="tag in dynamicTags" |
| | | closable |
| | | :disable-transitions="false" |
| | | @close="handleClosetag(tag)" |
| | | > |
| | | <div class="tsgname" @click="tsgnameto()">å»é¢åç§°</div> |
| | | <div class="tsgname" @click="tsgnameto()">å»é¢çµè¯</div> |
| | | <div class="tsgname" @click="tsgnameto()">å»é¢å§å</div> |
| | | <div class="tsgname" @click="tsgnameto()">é访å§å</div> |
| | | <div class="tsgname" @click="tsgnameto()">é访çµè¯</div> |
| | | <div class="tsgname" @click="tsgnameto()">æ§å«</div> |
| | | <div class="tsgname" @click="tsgnameto()">å¹´é¾</div> |
| | | <div class="tsgname" @click="tsgnameto()">å°å</div> |
| | | {{ tag.tagname }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="inputVisible" |
| | | @change="handleInputConfirm" |
| | | filterable |
| | | remote |
| | | reserve-keyword |
| | | default-first-option |
| | | :remote-method="remoteMethodtag" |
| | | :loading="loading" |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | v-for="item in optionstag" |
| | | :key="item.tagid" |
| | | :label="item.tagname" |
| | | :value="item.tagname" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput" |
| | | >+ æ°å¢æ ç¾</el-button |
| | | > |
| | | </div> |
| | | </el-col></el-row |
| | | > |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="é®é¢ææ¬" prop="verbaltricktext"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model="indexform.userName" |
| | | maxlength="30" |
| | | /> |
| | | </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="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | <!-- <el-input v-model="indexform.userName" maxlength="30" /> --> |
| | | </el-form-item> |
| | | </el-col></el-row |
| | | > |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="æ å¹é
ææ¬" prop="matchtext"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model="indexform.userName" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="æ å¹é
è¯é³" prop="matchyy"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col></el-row |
| | | > |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="æ å£°ææ¬" prop="silenttext"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model="indexform.userName" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="æ 声è¯é³" prop="silentyy"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col></el-row |
| | | > |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="éç¨åºææ¬" prop="librarytext"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model="indexform.userName" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="éç¨åºè¯é³" prop="libraryy"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col></el-row |
| | | > |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="å¬ä¸æ¸
ææ¬" prop="vaguetext"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model="indexform.userName" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="å¬ä¸æ¸
è¯é³" prop="vagueyy"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col></el-row |
| | | > |
| | | <el-form-item label="éç¥åé" prop="name"> |
| | | <el-row v-for="item in variablelist"> |
| | | <el-col :span="4"> |
| | | <el-input v-model="item.variable"></el-input> |
| | | <el-input |
| | | v-model="item.name" |
| | | placeholder="请è¾å
¥åéå" |
| | | ></el-input> |
| | | </el-col> |
| | | <el-col :span="8" :offset="1"> |
| | | <el-input v-model="item.value"></el-input> |
| | | <el-input |
| | | v-model="item.value" |
| | | placeholder="请è¾å
¥åéå
容" |
| | | ></el-input> |
| | | </el-col> |
| | | <el-col :span="4" :offset="1"> |
| | | <el-button |
| | |
| | | @click="addvariable(item)" |
| | | ></el-button> |
| | | <el-button |
| | | v-if="item" |
| | | type="danger" |
| | | icon="el-icon-delete" |
| | | circle |
| | |
| | | </el-row> |
| | | </el-form-item> |
| | | |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="ææ è¯´æ"> |
| | | <el-input |
| | | v-model="indexform.remark" |
| | | type="textarea" |
| | | placeholder="请è¾å
¥å
容" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="ä»
éé¢åº" prop="region"> |
| | |
| | | <el-col :span="12"> |
| | | <el-form-item label="å
³èææ " prop="region"> |
| | | <el-select |
| | | v-model="indexform.relevance" |
| | | size="medium" |
| | | v-model="indexform.targetid" |
| | | filterable |
| | | placeholder="è¯·éæ©åç±»" |
| | | remote |
| | | reserve-keyword |
| | | placeholder="请è¾å
¥å
³é®è¯" |
| | | :remote-method="remoteMethod" |
| | | :loading="loading" |
| | | > |
| | | <el-option |
| | | class="indexformaa" |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | v-for="item in targetlist" |
| | | :key="item.targetid" |
| | | :label="item.targetname" |
| | | :value="item.targetid" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <div |
| | | style="display: flex; margin-left: 100px; margin-bottom: 10px" |
| | | > |
| | | <div |
| | | v-for="item in variablelist" |
| | | class="tsgname" |
| | | @click="tsgnameto(item)" |
| | | > |
| | | {{ item.name }} |
| | | </div> |
| | | </div> |
| | | </el-col></el-row |
| | | > |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="é®é¢ææ¬" prop="questiontext"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请è¾å
¥å
容" |
| | | id="questiontext" |
| | | v-model.sync="indexform.questiontext" |
| | | @focus="handleInput('questiontext')" |
| | | maxlength="30" |
| | | /> |
| | | </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="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | <!-- <el-input v-model="indexform.userName" maxlength="30" /> --> |
| | | </el-form-item> |
| | | </el-col></el-row |
| | | > |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="æ å¹é
ææ¬" prop="nomatchtext"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | id="nomatchtext" |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model.sync="indexform.nomatchtext" |
| | | @focus="handleInput('nomatchtext')" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="æ å¹é
è¯é³" prop="matchyy"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col></el-row |
| | | > |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="æ å£°ææ¬" prop="sliencetext"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | id="sliencetext" |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model.sync="indexform.sliencetext" |
| | | @focus="handleInput('sliencetext')" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="æ 声è¯é³" prop="silentyy"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col></el-row |
| | | > |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="éç¨åºææ¬" prop="submoduletext"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | id="submoduletext" |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model.sync="indexform.submoduletext" |
| | | @focus="handleInput('submoduletext')" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="éç¨åºè¯é³" prop="libraryy"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col></el-row |
| | | > |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="å¬ä¸æ¸
ææ¬" prop="noclearlytext"> |
| | | <el-input |
| | | type="textarea" |
| | | id="noclearlytext" |
| | | :rows="2" |
| | | placeholder="请è¾å
¥å
容" |
| | | @focus="handleInput('noclearlytext')" |
| | | v-model.sync="indexform.noclearlytext" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="å¬ä¸æ¸
è¯é³" prop="vagueyy"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col></el-row |
| | | > |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="nextstep">ç¡® å®</el-button> |
| | |
| | | <el-col :span="12"> |
| | | <el-form-item label="ææ åç§°" prop="deptId"> |
| | | <el-input |
| | | v-model="indexform.name" |
| | | placeholder="请è¾å
¥ææ ç§ç±»" |
| | | maxlength="40" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="çæ¬å·" prop="deptId"> |
| | | <el-input |
| | | v-model="indexform.versions" |
| | | placeholder="请è¾å
¥ææ ç§ç±»" |
| | | v-model="indexform.targetname" |
| | | placeholder="请è¾å
¥ææ åç§°" |
| | | maxlength="40" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="è¯è¨" prop="deptId"> |
| | | <el-select |
| | | v-model="indexform.language" |
| | | placeholder="è¯·éæ©è¯è¨" |
| | | > |
| | | <el-option |
| | | v-for="index in languagelist" |
| | | :key="index.value" |
| | | :label="index.label" |
| | | :value="index.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="æ¯å¦å¯ç¨" prop="deptId"> |
| | | <el-select v-model="indexform.useofstate" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="index in qyoptions" |
| | | :key="index.value" |
| | | :label="index.label" |
| | | :value="index.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="ææ æè¿°" prop="nickName"> |
| | | <el-input |
| | | v-model="indexform.nickName" |
| | | placeholder="请è¾å
¥ææ æè¿°" |
| | | maxlength="40" |
| | | /> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | <el-form-item label="æ ç¾" prop="desc"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="tag" |
| | | type="success" |
| | | v-for="tag in dynamicTags" |
| | | closable |
| | | :disable-transitions="false" |
| | | @close="handleClose(tag)" |
| | | > |
| | | {{ tag }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="inputVisible" |
| | | @change="handleInputConfirm" |
| | | filterable |
| | | allow-create |
| | | default-first-option |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | v-for="item in optionstag" |
| | | :key="item.tagname" |
| | | :label="item.tagname" |
| | | :value="item.tagname" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput" |
| | | >+ æ°å¢æ ç¾</el-button |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="å¼ç±»å"> |
| | | <el-radio-group v-model="indexform.resource"> |
| | | <el-radio label="é项"></el-radio> |
| | | <el-radio label="ææ¬"></el-radio> |
| | | <el-radio label="æ°å¼"></el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="éç¨ç¾ç
" prop="userName"> |
| | | <el-select v-model="indexform.useofstate" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="index in qyoptions" |
| | | :key="index.value" |
| | | :label="index.label" |
| | | :value="index.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> </el-col |
| | | ></el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="éç¨æ¹å¼" prop="email"> |
| | | <el-select v-model="indexform.useofstate" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="index in qyoptions" |
| | | :key="index.value" |
| | | :label="index.label" |
| | | :value="index.value" |
| | | ></el-option> |
| | | </el-select> |
| | | <el-form-item label="å¼ç±»å"> |
| | | <el-radio-group v-model="indexform.isenable"> |
| | | <el-radio :label="1">é项</el-radio> |
| | | <el-radio :label="2">ææ¬</el-radio> |
| | | <el-radio :label="3">æ°å¼</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-col></el-row |
| | | > |
| | | |
| | | <el-card class="box-card" style="margin-bottom: 20px"> |
| | | <el-table v-loading="loading" :data="testuserList"> |
| | | <el-table |
| | | v-loading="loading" |
| | | :data="indexform.ivrLibaScriptTargetoptionList" |
| | | > |
| | | <el-table-column |
| | | label="åºå·" |
| | | align="center" |
| | | key="userid" |
| | | prop="userid" |
| | | key="guid" |
| | | prop="guid" |
| | | width="50" |
| | | /> |
| | | <el-table-column |
| | | label="ææ é项" |
| | | align="center" |
| | | key="nickName" |
| | | prop="nickName" |
| | | key="targetvalue" |
| | | prop="targetvalue" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | v-model="scope.row.nickName" |
| | | v-model="scope.row.targetvalue" |
| | | placeholder="请è¾å
¥å
容" |
| | | ></el-input> |
| | | </template> |
| | |
| | | <el-table-column |
| | | label="è§£æè§å" |
| | | align="center" |
| | | key="aphonenumber" |
| | | prop="aphonenumber" |
| | | key="targetregex" |
| | | prop="targetregex" |
| | | width="460" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | v-model="scope.row.aphonenumber" |
| | | v-model="scope.row.targetregex" |
| | | placeholder="请è¾å
¥å
容" |
| | | ></el-input> |
| | | </template> |
| | |
| | | </el-card> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="æµè¯è¾å
¥" prop="nickName"> |
| | | <el-form-item label="æµè¯è¾å
¥" prop="targetvalue"> |
| | | <el-input |
| | | v-model="testvalue" |
| | | placeholder="请è¾å
¥æµè¯å
容" |
| | |
| | | </el-input> |
| | | </div> |
| | | <el-button type="primary" @click="laststep()">ä¸ä¸æ¥</el-button> |
| | | <el-button type="info" @click="closeFm('ruleForm')">å
³é</el-button> |
| | | <el-button @click="Saveproblem('ruleForm')">ä¿åææ æ°æ®</el-button> |
| | | <el-button type="info" @click="closeFm()">å
³é</el-button> |
| | | <el-button @click="Saveproblem()">ä¿åææ æ°æ®</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import { listtag } from "@/api/system/label"; |
| | | import { |
| | | getverbaltricklist, |
| | | verbaltrickinfo, |
| | | delverbaltrickinfo, |
| | | compileverbaltrick, |
| | | getverbaltrick, |
| | | getbaltrickclassify, |
| | | gettargetInfolist, |
| | | gettargetInfo, |
| | | } from "@/api/AiCentre/index"; |
| | | import store from "@/store"; |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | radio: "false", //åéé¢éä¸ |
| | | radios: [], //å¤éé¢éä¸ |
| | | radioas: "", //填空é¢çæ¡ |
| | | dynamicTags: ["æ ç¾ä¸", "æ ç¾äº", "æ ç¾ä¸"], |
| | | dynamicTags: [], |
| | | inputVisible: false, |
| | | inputValue: "", |
| | | testvalue: "", |
| | | testgovalue: "", |
| | | topicobj: {}, |
| | | indexform: {}, |
| | | mode: [], |
| | | questionclass: [], |
| | | currentInputId: "", |
| | | |
| | | // æ»æ¡æ° |
| | | total: 1, |
| | | ruleForm: { |
| | | name: "", |
| | | region: "", |
| | | date1: "", |
| | | date2: "", |
| | | delivery: false, |
| | | type: [], |
| | | resource: "", |
| | | desc: "", |
| | | templatevalue: "", |
| | | data2: "", |
| | | }, |
| | | rules: {}, |
| | | rulesa: {}, |
| | | optionstag: [], |
| | | xjxsoptions: [ |
| | | |
| | | targetlist: [ |
| | | { |
| | | value: "é项1", |
| | | label: "徿", |
| | | }, |
| | | { |
| | | value: "é项2", |
| | | label: "è§é¢", |
| | | }, |
| | | { |
| | | value: "é项3", |
| | | label: "é³é¢", |
| | | }, |
| | | ], |
| | | rules: {}, |
| | | rulesa: {}, |
| | | optionstag: [], |
| | | |
| | | fileList: [ |
| | | { |
| | | name: "food.jpeg", |
| | | url: "https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100", |
| | | }, |
| | | ], |
| | | qyoptions: [ |
| | | { |
| | | value: 1, |
| | | label: "å¯ç¨", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "ç¦ç¨", |
| | | }, |
| | | ], |
| | | options: [ |
| | | { |
| | | value: "é项1", |
| | | label: "ç¾ç
ææ ", |
| | | }, |
| | | { |
| | | value: "é项2", |
| | | label: "å
¥é¢ææ ", |
| | | }, |
| | | { |
| | | value: "é项3", |
| | | label: "ææ¯ææ ", |
| | | }, |
| | | { |
| | | value: "é项4", |
| | | label: "æ¤çææ ", |
| | | }, |
| | | ], |
| | | qyoptions: [], |
| | | options: [], |
| | | variablelist: [ |
| | | { |
| | | variable: "paitent", |
| | | value: "表示æ£è
çæ è¯", |
| | | }, |
| | | ], |
| | | testuserList: [ |
| | | { |
| | | userid: 1, |
| | | nickName: "è´«è¡", |
| | | aphonenumber: "(?!ä¸.*|没.*|æª.*)^.*([è´«å¹³åè¡]|è´«è¡|è¯å¦|è¯å¦),10", |
| | | }, |
| | | { |
| | | userid: 2, |
| | | nickName: "æ£å¸¸", |
| | | aphonenumber: "(?!ä¸.*|没.*|æª.*)^.*([è´«å¹³åè¡]|è´«è¡|è¯å¦|è¯å¦),10", |
| | | }, |
| | | { |
| | | userid: 55, |
| | | nickName: "鿣叏", |
| | | aphonenumber: "(?!ä¸.*|没.*|æª.*)^.*([è´«å¹³åè¡]|è´«è¡|è¯å¦|è¯å¦),10", |
| | | }, |
| | | { |
| | | userid: 4, |
| | | nickName: "aæ£å¸¸", |
| | | aphonenumber: "(?!ä¸.*|没.*|æª.*)^.*([è´«å¹³åè¡]|è´«è¡|è¯å¦|è¯å¦),10", |
| | | status: "0", |
| | | }, |
| | | |
| | | ], |
| | | |
| | | addvalue: "æ·»å é¢ç®", |
| | | // é¢ç®è¡¨æ ¼æ°æ® |
| | | userList: [ |
| | | { |
| | | userid: "1", |
| | | userName: "ä¸å·ææ ", |
| | | }, |
| | | { |
| | | userid: "2", |
| | | userName: "äºå·ææ ", |
| | | }, |
| | | { |
| | | userid: "3", |
| | | userName: "ä¸å·ææ ", |
| | | }, |
| | | { |
| | | userid: "4", |
| | | userName: "åå·ææ ", |
| | | }, |
| | | ], |
| | | languagelist: [ |
| | | { |
| | | value: 1, |
| | | label: "æ®éè¯", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "粤è¯", |
| | | }, |
| | | { |
| | | value: 3, |
| | | label: "è±è¯", |
| | | }, |
| | | ], //è¯è¨å表 |
| | | languagelist: [], //è¯è¨å表 |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | | pageNum: 1, |
| | |
| | | |
| | | created() { |
| | | this.gettabList(); |
| | | this.getverbaltrick(); |
| | | this.mode = store.getters.mode; |
| | | this.valuetype = store.getters.valuetype; |
| | | this.languagelist = store.getters.languagelist; |
| | | this.qyoptions = store.getters.usable; |
| | | }, |
| | | |
| | | methods: { |
| | | submitForm(formName) { |
| | | this.rules = this.rulesa; |
| | | // æäº¤ |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert("submit!"); |
| | | } else { |
| | | console.log("error submit!!"); |
| | | return false; |
| | | } |
| | | // è·å详æ
æ°æ® |
| | | getverbaltrick() { |
| | | let id = this.$route.query.id; |
| | | getverbaltrick({ id: id }).then((res) => { |
| | | this.indexform = res.data; |
| | | this.indexform.assortid = parseInt(this.indexform.assortid); |
| | | this.variablelist = JSON.parse(this.indexform.parameter)?JSON.parse(this.indexform.parameter):[{name:'',value:''}]; |
| | | this.dynamicTags = this.indexform.ivrLibaScriptTagList.map( |
| | | this.processElement |
| | | ); |
| | | this.targetlist = [ |
| | | { |
| | | targetid: this.indexform.targetid, |
| | | targetname: this.indexform.targetname, |
| | | }, |
| | | ]; |
| | | console.log(this.targetlist); |
| | | }); |
| | | // æ |
| | | getbaltrickclassify({}).then((res) => { |
| | | this.questionclass = res.rows; |
| | | console.log(res); |
| | | }); |
| | | }, |
| | | |
| | | // ä¿å详ç»ä¿¡æ¯ |
| | | Saveproblem() { |
| | | if (this.indexform.id) { |
| | | this.indexform.isoperation = 2; |
| | | this.indexform.parameter = JSON.stringify(this.variablelist); |
| | | compileverbaltrick(this.indexform).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("ä¿®æ¹æå"); |
| | | } |
| | | }); |
| | | } else { |
| | | this.indexform.isoperation = 1; |
| | | compileverbaltrick(this.indexform).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("æ°å¢æå"); |
| | | } |
| | | }); |
| | | } |
| | | }, |
| | | remoteMethod(query) { |
| | | if (query !== "") { |
| | | this.loading = true; |
| | | setTimeout(() => { |
| | | this.loading = false; |
| | | gettargetInfolist({ targetname: query }).then((res) => { |
| | | this.targetlist = res.rows; |
| | | }); |
| | | }, 200); |
| | | } else { |
| | | this.targetlist = []; |
| | | } |
| | | }, |
| | | |
| | | // ä¸ä¸æ¥ |
| | | nextstep() { |
| | | if (this.Editprogress <= 1 && this.indexform.relevance) { |
| | | if (this.Editprogress <= 1 && this.indexform.targetid) { |
| | | if (this.indexform.ivrLibaScriptTargetoptionList.length) { |
| | | return this.Editprogress++; |
| | | } |
| | | gettargetInfo({ targetID: this.indexform.targetid }).then((res) => { |
| | | this.indexform.isenable = res.rows[0].isenable; |
| | | this.indexform.targetname = res.rows[0].targetname; |
| | | res.rows[0].targetoptionList.forEach((item) => { |
| | | item.isoperation = 1; |
| | | this.indexform.ivrLibaScriptTargetoptionList.push(item); |
| | | }); |
| | | }); |
| | | return this.Editprogress++; |
| | | } else { |
| | | this.$message.warning("请å
éæ©å
³èææ "); |
| | |
| | | }); |
| | | }); |
| | | }, |
| | | // ä¿åé¢ç®ä¿¡æ¯ |
| | | Saveproblem() {}, |
| | | /** æ¥è¯¢é¢ç®å表 */ |
| | | getList() { |
| | | // this.loading = true; |
| | | listUser().then((response) => { |
| | | console.log(response); |
| | | // this.userList = response.data; |
| | | // this.total = response.total; |
| | | // this.loading = false; |
| | | console.log(this.userList); |
| | | }); |
| | | // const { rows } = await listUser(); |
| | | // console.log(rows); |
| | | // this.list = rows; |
| | | }, |
| | | // ä¿®æ¹é¢ç®ä¿¡æ¯ |
| | | Submittopicobj() {}, |
| | | // æ°å¢åé |
| | | addvariable() { |
| | | this.variablelist.push({ |
| | | variable: "", |
| | | value: "", |
| | | }); |
| | | }, |
| | | // å é¤åé |
| | | delvariable(item) { |
| | | const index = this.variablelist.indexOf(item); |
| | | if (index !== -1) { |
| | | this.variablelist.splice(index, 1); // ä»ç´¢å¼ä½ç½®å é¤ä¸ä¸ªå
ç´ |
| | | } else { |
| | | console.log("æªæ¾å°è¯¥å¯¹è±¡"); |
| | | } |
| | | }, |
| | | // æä»¶---------------------- |
| | | // æ§å¶æä»¶ |
| | | handleChange(file, fileList) { |
| | | this.fileList = fileList.slice(-3); |
| | |
| | | this.optionstag = response.rows; |
| | | }); |
| | | }, |
| | | handleClose(tag) { |
| | | handleClosetag(tag) { |
| | | console.log(tag); |
| | | console.log(this.dynamicTags.indexOf(tag)); |
| | | const lindex = this.dynamicTags.indexOf(tag); |
| | | this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1); |
| | | this.indexform.ivrLibaScriptTagList[lindex].isoperation = 3; |
| | | }, |
| | | handleInputConfirm() { |
| | | let inputValue = this.inputValue; |
| | | if (inputValue) { |
| | | this.dynamicTags.push(inputValue); |
| | | let tagvalue = {}; |
| | | let tagname = this.inputValue; |
| | | if (tagname) { |
| | | listtag({ |
| | | pageNum: 1, |
| | | pageSize: 1000, |
| | | tagcategoryid: "0", |
| | | tagname: tagname, |
| | | }).then((res) => { |
| | | if (res.rows[0]) { |
| | | tagvalue = res.rows[0]; |
| | | tagvalue.isoperation = 1; |
| | | } else { |
| | | tagvalue = { |
| | | tagname: tagname, |
| | | isoperation: 1, |
| | | }; |
| | | } |
| | | this.indexform.ivrLibaScriptTagList.push(tagvalue); |
| | | this.dynamicTags.push(tagvalue); |
| | | }); |
| | | } |
| | | this.inputVisible = false; |
| | | this.inputValue = ""; |
| | | }, |
| | | remoteMethodtag(query) { |
| | | if (query !== "") { |
| | | this.loading = true; |
| | | setTimeout(() => { |
| | | this.loading = false; |
| | | listtag({ tagname: query, tagcategoryid: "0" }).then((res) => { |
| | | this.optionstag = res.rows; |
| | | }); |
| | | }, 200); |
| | | } else { |
| | | this.optionstag = []; |
| | | } |
| | | }, |
| | | showInput() { |
| | | this.inputVisible = true; |
| | | // èªå¨è·åç¦ç¹ |
| | | // this.$nextTick((_) => { |
| | | // this.$refs.saveTagInput.$refs.input.focus(); |
| | | // }); |
| | | }, |
| | | // -------------------------- |
| | | //æµè¯è¡¨å -------------------------- |
| | | gettagerlist() { |
| | | gettagerlist({ targetname: this.targetname }).then((response) => { |
| | | console.log(response); |
| | | this.optionstag = response.rows; |
| | | }); |
| | | }, |
| | | addoption() { |
| | | this.testuserList.push({ |
| | | userid: 1, |
| | | nickName: "è´«è¡", |
| | | aphonenumber: "(?!ä¸.*|没.*|æª.*)^.*([è´«å¹³åè¡]|è´«è¡|è¯å¦|è¯å¦),10", |
| | | this.indexform.ivrLibaScriptTargetoptionList.push({ |
| | | guid: 1, |
| | | isoperation: 1, |
| | | targetvalue: "", |
| | | targetregex: "", |
| | | }); |
| | | this.sortFn(); |
| | | }, |
| | | deloption() { |
| | | const index = this.testuserList.indexOf(item); |
| | | const index = this.indexform.ivrLibaScriptTargetoptionList.indexOf(item); |
| | | if (index !== -1) { |
| | | this.testuserList.splice(index, 1); // ä»ç´¢å¼ä½ç½®å é¤ä¸ä¸ªå
ç´ |
| | | this.indexform.ivrLibaScriptTargetoptionList.splice(index, 1); // ä»ç´¢å¼ä½ç½®å é¤ä¸ä¸ªå
ç´ |
| | | this.sortFn(); |
| | | } else { |
| | | console.log("æªæ¾å°è¯¥å¯¹è±¡"); |
| | | } |
| | | }, |
| | | getIndexInArray(arr, obj) { |
| | | return arr.indexOf(obj); |
| | | }, |
| | | processElement(element) { |
| | | return { ...element, isoperation: 1 }; |
| | | }, |
| | | syioption(row) { |
| | | const index = this.getIndexInArray(this.testuserList, row); |
| | | const item = this.testuserList.splice(index, 1)[0]; // ç§»é¤æå®ç´¢å¼å¤çå
ç´ ï¼å¹¶ä¿åå°itemåéä¸ |
| | | this.testuserList.splice(index - 1, 0, item); // å°itemæå
¥å°ç´¢å¼ä½ç½®çåä¸ä½ |
| | | const index = this.getIndexInArray( |
| | | this.indexform.ivrLibaScriptTargetoptionList, |
| | | row |
| | | ); |
| | | const item = this.indexform.ivrLibaScriptTargetoptionList.splice( |
| | | index, |
| | | 1 |
| | | )[0]; // ç§»é¤æå®ç´¢å¼å¤çå
ç´ ï¼å¹¶ä¿åå°itemåéä¸ |
| | | this.indexform.ivrLibaScriptTargetoptionList.splice(index - 1, 0, item); // å°itemæå
¥å°ç´¢å¼ä½ç½®çåä¸ä½ |
| | | this.sortFn(); |
| | | }, |
| | | xiayioption(row) { |
| | | const index = this.getIndexInArray(this.testuserList, row); |
| | | const item = this.testuserList.splice(index, 1)[0]; // ç§»é¤æå®ç´¢å¼å¤çå
ç´ ï¼å¹¶ä¿åå°itemåéä¸ |
| | | this.testuserList.splice(index + 1, 0, item); // å°itemæå
¥å°ç´¢å¼ä½ç½®çåä¸ä½ |
| | | const index = this.getIndexInArray( |
| | | this.indexform.ivrLibaScriptTargetoptionList, |
| | | row |
| | | ); |
| | | const item = this.indexform.ivrLibaScriptTargetoptionList.splice( |
| | | index, |
| | | 1 |
| | | )[0]; // ç§»é¤æå®ç´¢å¼å¤çå
ç´ ï¼å¹¶ä¿åå°itemåéä¸ |
| | | this.indexform.ivrLibaScriptTargetoptionList.splice(index + 1, 0, item); // å°itemæå
¥å°ç´¢å¼ä½ç½®çåä¸ä½ |
| | | this.sortFn(); |
| | | }, |
| | | sortFn() { |
| | | this.testuserList = this.testuserList.map((item, index) => { |
| | | this.indexform.ivrLibaScriptTargetoptionList = |
| | | this.indexform.ivrLibaScriptTargetoptionList.map((item, index) => { |
| | | return { |
| | | userid: index + 1, |
| | | nickName: item.nickName, |
| | | aphonenumber: item.aphonenumber, |
| | | guid: index + 1, |
| | | targetvalue: item.targetvalue, |
| | | targetregex: item.targetregex, |
| | | }; |
| | | }); |
| | | console.log(this.testuserList); |
| | | console.log(this.indexform.ivrLibaScriptTargetoptionList); |
| | | }, |
| | | // --------------------- |
| | | // æ¥è¯¢é¢åº |
| | | handleQuery() {}, |
| | | resetQuery() {}, |
| | | resetForm(formName) { |
| | | this.$refs[formName].resetFields(); |
| | | }, |
| | | // ä¾¿æ·æ ç¾ |
| | | tsgnameto() {}, |
| | | tsgnameto(row) { |
| | | let inputValueArr = ""; |
| | | let el = document.querySelector("#" + this.currentInputId); |
| | | //el.selectionStart; è¿å°±æ¯å½åå
æ æå¨çä½ç½®ï¼å符串ä¸å符çindexï¼ |
| | | if (this.currentInputId == "questiontext") { |
| | | inputValueArr = this.indexform.questiontext.split(""); |
| | | } else if (this.currentInputId == "nomatchtext") { |
| | | inputValueArr = this.indexform.nomatchtext.split(""); |
| | | } else if (this.currentInputId == "sliencetext") { |
| | | inputValueArr = this.indexform.sliencetext.split(""); |
| | | } else if (this.currentInputId == "noclearlytext") { |
| | | inputValueArr = this.indexform.noclearlytext.split(""); |
| | | } else if (this.currentInputId == "submoduletext") { |
| | | inputValueArr = this.indexform.submoduletext.split(""); |
| | | } else { |
| | | return; |
| | | } |
| | | //å°è¾å
¥æ¡å
容忿°ç»ï¼æ¹ä¾¿åç»æä½ |
| | | // inputValueArr = this.inputValue.split(""); |
| | | // æ¿å°é䏿åçé¿åº¦ï¼åç»å¯ä»¥ç¨æ¥æ¿æ¢éä¸çæåï¼ |
| | | let selectLength = el.selectionEnd - el.selectionStart; |
| | | // å°è¦æå
¥/æ¿æ¢çæåæå
¥/æ¿æ¢ï¼value.nameæ¯è¦æå
¥/æ¿æ¢çåç¬¦ä¸²ï¼ |
| | | inputValueArr.splice(el.selectionStart, selectLength, `${row.value}`); |
| | | // ææ°ç»éæ°è½¬æ¢ä¸ºå符串并èµå¼ |
| | | inputValueArr = inputValueArr.join(""); |
| | | console.log(inputValueArr); |
| | | if (this.currentInputId == "questiontext") { |
| | | this.indexform.questiontext = inputValueArr; |
| | | } else if (this.currentInputId == "nomatchtext") { |
| | | this.indexform.nomatchtext = inputValueArr; |
| | | } else if (this.currentInputId == "sliencetext") { |
| | | this.indexform.sliencetext = inputValueArr; |
| | | } else if (this.currentInputId == "noclearlytext") { |
| | | this.indexform.noclearlytext = inputValueArr; |
| | | } else if (this.currentInputId == "submoduletext") { |
| | | this.indexform.submoduletext = inputValueArr; |
| | | } else { |
| | | return; |
| | | } |
| | | }, |
| | | |
| | | // æ°å¢åé |
| | | addvariable() { |
| | | this.variablelist.push({ |
| | | variable: "", |
| | | value: "", |
| | | }); |
| | | }, |
| | | // å é¤åé |
| | | delvariable(item) { |
| | | const index = this.variablelist.indexOf(item); |
| | | if (index !== -1) { |
| | | this.variablelist.splice(index, 1); // ä»ç´¢å¼ä½ç½®å é¤ä¸ä¸ªå
ç´ |
| | | } else { |
| | | console.log("æªæ¾å°è¯¥å¯¹è±¡"); |
| | | } |
| | | }, |
| | | // è¾å
¥è·åid |
| | | handleInput(id) { |
| | | this.currentInputId = id; |
| | | console.log("è¾å
¥æ¡çå¼å·²æ´æ°:", this.currentInputId); |
| | | // å¨è¿éæ§è¡æ´æ°æ°æ®çé»è¾ |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |