初始化转改

This commit is contained in:
gengxin
2025-02-21 17:35:28 +08:00
parent cf84a12ac5
commit d74eab17fd

View File

@@ -508,7 +508,7 @@
</div> </div>
</template> </template>
<script lang="jsx"> <script lang="jsx">
import { reactive, toRefs, ref, watch } from "vue"; import { reactive, toRefs, ref, watch,onUnmounted } from "vue";
import { FolderAddOutlined } from "@ant-design/icons-vue"; import { FolderAddOutlined } from "@ant-design/icons-vue";
import { message } from "ant-design-vue"; import { message } from "ant-design-vue";
import dialog from "@/utils/dialog"; import dialog from "@/utils/dialog";
@@ -612,6 +612,13 @@ export default {
} }
state.formParam.code = null; state.formParam.code = null;
}; };
onUnmounted(() => {
//初始化时
state.searchParam.status = 2
});
const columns = ref([ const columns = ref([
// { // {
// title: '培训发生组织编号 ', // title: '培训发生组织编号 ',