智能排查

main
zhangqun 11 months ago
parent 234f0e6ac4
commit 69cc513417
  1. 2
      pages.json
  2. 12
      pages/index/detail.vue

@ -39,7 +39,7 @@
{
"path": "pages/index/detail",
"style": {
"navigationBarTitleText": "智排查",
"navigationBarTitleText": "智排查",
"navigationStyle": "default",
"navigationBarBackgroundColor": "#3567c1",
"navigationBarTextStyle": "white",

@ -93,7 +93,7 @@
>
</view>
<view
v-if="item.answerOptions && item.answerOptions.length > 0 && item.optionType == 0"
v-if="item.answerOptions && item.answerOptions.length > 0 && item.optionType == 1"
style="display: flex; flex-wrap: wrap;"
>
<u-checkbox-group
@ -114,7 +114,7 @@
</u-checkbox-group>
</view>
<view
v-if="item.answerOptions && item.answerOptions.length > 0 && item.optionType == 1"
v-if="item.answerOptions && item.answerOptions.length > 0 && item.optionType == 0"
style="display: flex; flex-wrap: wrap;"
>
<view v-for="(item, index) in item.answerOptions" :key="index"
@ -141,7 +141,7 @@
</view>
<view
class="btnBox"
v-if="item.answerOptions && item.answerOptions.length > 0 && item.optionType == 0"
v-if="item.answerOptions && item.answerOptions.length > 0 && item.optionType == 1"
>
<view class="btn" @click="handleGroup(item)">确认</view>
<view class="btn" @click="handleGroup2(i)">清空</view>
@ -643,10 +643,10 @@ console.log({
handleGroup(item) {
console.log(item)
let text = "";
if (this.optionType) {
} else {
if (item.optionType) {
text = item.checkboxValue1.join(",");
// text = item;
} else {
text = item;
}
this.handleSend(text);
},

Loading…
Cancel
Save