| | |
| | | // 疾病----------------------- |
| | | illnessUpdate(row) { |
| | | this.illnessVisible = true; |
| | | this.indexid = row.topicid; |
| | | this.indexid = row.id; |
| | | this.illnesslistapi = []; |
| | | const illnessqueryParams = { |
| | | pageNum: 1, |
| | |
| | | console.log(response); |
| | | this.optionsillness = response.rows; |
| | | }); |
| | | getillness({ outid: row.topicid, type: 4 }).then((res) => { |
| | | getillness({ outid: row.id, type: 4 }).then((res) => { |
| | | this.illnesslist = res.rows; |
| | | console.log(res); |
| | | }); |
| | |
| | | // 表单重置 |
| | | reset() { |
| | | this.form = { |
| | | topicid: undefined, |
| | | id: undefined, |
| | | deptId: undefined, |
| | | userName: undefined, |
| | | nickName: undefined, |
| | |
| | | }, |
| | | // 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | this.ids = selection.map((item) => item.topicid); |
| | | this.ids = selection.map((item) => item.id); |
| | | this.single = selection.length != 1; |
| | | this.multiple = !selection.length; |
| | | }, |
| | |
| | | |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | const topicids = row.topicid || this.ids; |
| | | console.log(this.ids); |
| | | const topicids = row.id || this.ids; |
| | | this.$modal |
| | | .confirm('是否确认删除用户编号为"' + topicids + '"的数据项?') |
| | | .then(function () { |
| | |
| | | >+新增</el-button |
| | | ></span |
| | | > |
| | | <span style="margin-left: 30px">选中指标:{{topicobj.scriptTopic}}</span> |
| | | <span style="margin-left: 30px" |
| | | ><el-button type="success" round @click="gettargetInfo" |
| | | >+选择指标</el-button |
| | |
| | | v-if="item.scriptType == 2" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ item.sort }}、[多选]<span>{{ item.wssd }}</span> |
| | | {{ item.sort }}、[多选]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-checkbox-group v-model="item.remark"> |
| | | <el-checkbox-group v-model="qremark"> |
| | | <el-checkbox |
| | | v-for="(items, index) in item.svyLibTemplateTargetoptions" |
| | | :key="index" |
| | |
| | | v-if="item.scriptType == 3" |
| | | > |
| | | <div class="dev-text"> |
| | | {{ item.sort }}、[填空]<span>{{ item.optioncontent }}</span> |
| | | {{ item.sort }}、[填空]<span>{{ item.scriptContent }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-input placeholder="请输入答案" v-model="radioas" clearable> |
| | |
| | | tempDetpRelevanceslist: [], |
| | | optionstag: [], |
| | | valuetype: [], |
| | | qremark: [], |
| | | usable: [ |
| | | { value: "0", label: "可用" }, |
| | | { value: "1", label: "停用" }, |