This commit is contained in:
yuping
2022-12-01 02:23:32 +08:00
parent 99ea3719f0
commit 07be52e211
2 changed files with 49 additions and 17 deletions

View File

@@ -114,11 +114,12 @@
</template>
<script>
import { toRefs, reactive } from "vue";
import {toRefs, reactive, onMounted} from "vue";
import { getTask } from "../../api/indexTaskadd";
import { toDate } from "../../api/method";
import { auditView } from "../../api/indexAudit";
import { message } from "ant-design-vue";
import * as api1 from "@/api/index1";
export default {
name: "ProjectAudit",
@@ -284,7 +285,14 @@ export default {
message.warning("提交失败");
});
};
const getDictList = async (param) => api1.getDict({
pageNo: 1,
pageSize: 20,
setCode: param
}).then((res) => res.data.data.rows)
onMounted(async () => {
state.calssifyList = (await getDictList("faceclassClass")).map(e => ({ label: e.dictName, value: e.dictCode }))
});
return {
...toRefs(state),
closeDrawer,