沈丘营商办后台前端项目
wjt
2024-06-19 f0320494eb4a10a618e8dc57a29cffb7f37aa7a5
评价项目
2个文件已修改
16 ■■■■■ 已修改文件
src/views/index/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/infomanger/banner/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/index/index.vue
@@ -1,7 +1,7 @@
<template>
  <div class="app-container">
    <el-row>
    </el-row>
    <div class="content">
      div.box*7>div{153}+div{入住总数}
    </div>
  </div>
</template>
src/views/infomanger/banner/index.vue
@@ -11,7 +11,9 @@
            评价项{{ index + 1 }}
          </div> -->
          <div class="close-icon" @click="removeList(index)">
            <el-icon><Close /></el-icon>
            <el-tooltip content="移除评价项">
              <el-icon><Close color="red"/></el-icon>
            </el-tooltip>
          </div>
          <el-row>
            <el-col :span="12">
@@ -125,9 +127,9 @@
    questionName: name
  })
}
function save() {
function save(item?: string) {
  saveEvaluate({questionList: form.value.questionList}).then(val => {
    ElMessage.success('保存成功')
    ElMessage.success(item||'保存成功')
  })
}
function changeValue(event, index, childIndex) {
@@ -144,7 +146,7 @@
      type: 'danger',
    }).then(val => {
      form.value.questionList.splice(index, 1)
      save()
      save('删除成功')
    })
 
}