| | |
| | | import request from "@/utils/request"; |
| | | import { param } from "jquery"; |
| | | |
| | | // 查询问卷模版列表 |
| | | export function getQtemplatelist(data) { |
| | |
| | | // 新增或修改问卷模版详情 |
| | | export function compileQtemplate(data) { |
| | | return request({ |
| | | url: "/smartor/svyTemplate/saveOrUpdateTitle", |
| | | url: "/smartor/svyTemplate/saveOrUpdateTemplate", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | |
| | | data: data, |
| | | }); |
| | | } |
| | | // 查询问卷模版分类树 |
| | | export function getQRcode(data) { |
| | | return request({ |
| | | url: "/qrcode/getQRcode", |
| | | method: "post", |
| | | params: data, |
| | | }); |
| | | } |
| | |
| | | <div class="qrcode-text"> |
| | | {{ namequestionnaire }}<span>{{ haoquestionnaire }}</span> |
| | | </div> |
| | | <div class="qrcode-img"></div> |
| | | <div class="qrcode-img"> |
| | | <el-image |
| | | src="D:/qrcode/fc9a1fa37e394ac3ac606bf6b77b17c3" |
| | | fit="cover" |
| | | ></el-image> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | getillnesslist, |
| | | illnesslistget, |
| | | getillness, |
| | | getQRcode, |
| | | } from "@/api/AiCentre/index"; |
| | | import { listDept } from "@/api/system/dept"; |
| | | |
| | |
| | | total: 0, |
| | | namequestionnaire: "", |
| | | haoquestionnaire: "", |
| | | QRcodeurl: "", |
| | | // 用户表格数据 |
| | | userList: [], |
| | | |
| | |
| | | }, |
| | | |
| | | goQRCode(row) { |
| | | getQRcode({ |
| | | url: "/outsideChain?param1=KHRYDSSuTpwGWDhAS6OnpfxObRZf8fd/TIagYWPvDuyku+MjtrWt1efC1htoBDc+G4QP2UOWPNitAO4TwH4oIQ==¶m2=CP/xYqwqDhWACt2aQ/HOwhgRM62Lh4/1upwYDl7dmKSuiaa4zRzMgu7rmRztiwQj2YvJ1KAX1zBTpUAIdxPvUA==", |
| | | }).then((res) => { |
| | | console.log(res); |
| | | this.QRcodeurl = "D:/qrcode/fc9a1fa37e394ac3ac606bf6b77b17c3"; |
| | | }); |
| | | this.goQRCodeVisible = true; |
| | | this.namequestionnaire = row.userName; |
| | | this.haoquestionnaire = row.nickName; |
| | |
| | | } |
| | | }, |
| | | 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插入到索引位置的前一位 |
| | |
| | | <el-col :span="12"> |
| | | <el-form-item label="指标描述" prop="deptId"> |
| | | <el-input |
| | | v-model="indexform.targetname" |
| | | v-model="indexform.targetdesc" |
| | | placeholder="请输入指标描述" |
| | | maxlength="60" |
| | | /> |