马宇豪
2024-11-15 d8b570430066fae42d6884671cef541fc820de1c
src/views/safetyReview/expertManage/postEvaluation/index.vue
@@ -61,18 +61,18 @@
          v-model:limit="queryParams.pageSize"
          @pagination="getList"
      />
      <expert-list ref="expertListRef" @getList="getList"></expert-list>
      <expert-dialog ref="expertListRef" @getList="getList"></expert-dialog>
    </div>
</template>
<script setup>
import {getCurrentInstance, onMounted, onUnmounted, reactive, ref, toRefs} from "vue";
import {ElMessage, ElMessageBox} from "element-plus";
import ExpertList from "./components/expertList";
import ExpertDialog from "./components/expertList";
import {delExpert, getExpertsList, getExpertTypes} from "../../../../api/form";
import { Plus } from '@element-plus/icons-vue'
const loading = ref(false);
const loading = ref(false)
const data = reactive({
  showSearch: true,
  total: 0,
@@ -98,8 +98,8 @@
const expertListRef = ref()
onMounted(()=>{
  getList()
  getTypes()
  // getList()
  // getTypes()
})
onUnmounted(()=>{
@@ -170,7 +170,6 @@
}
const openDialog = async (type, value) => {
  console.log(expertListRef.value,888)
  expertListRef.value.openDialog(type, value)
}