| | |
| | | label="题目标题" |
| | | fixed |
| | | align="center" |
| | | key="script" |
| | | prop="script" |
| | | key="scriptTopic" |
| | | prop="scriptTopic" |
| | | width="200" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span v-for="item in scope.row.tag.split(',')" |
| | | >{{ item }}、 |
| | | <span v-for="item in scope.row.svyLibScriptTagList" |
| | | >{{ item.tagname }}、 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | <span>{{ topicform.scriptContent }}</span> |
| | | </div> |
| | | |
| | | <div class="dev-xx" v-if="topicform.valueType == 1"> |
| | | <div |
| | | class="dev-xx" |
| | | v-if="topicform.scriptType != 3 && topicform.scriptType != 4" |
| | | > |
| | | <el-radio-group v-model="topicform.asrtext"> |
| | | <el-radio |
| | | v-for="(topicforms, index) in topicform.svyLibScriptOptions" |
| | |
| | | haoquestionnaire: "", |
| | | idds: "", |
| | | topicform: { |
| | | questionText: "", |
| | | scriptContent: "", |
| | | }, |
| | | amendtag: false, //是否修改类别 |
| | | dialogFormVisible: false, //修改添加类别弹框 |
| | |
| | | // 疾病----------------------- |
| | | 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 () { |