fix: BUG修改
This commit is contained in:
parent
6febe6169d
commit
bdf5cf5ead
@ -2,10 +2,10 @@
|
||||
NODE_ENV = 'development'
|
||||
|
||||
# 本地环境接口地址(/api/index.ts文件中使用)
|
||||
VITE_API_URL = 'http://192.168.34.155:6688'
|
||||
# VITE_API_URL = 'http://192.168.34.155:6688'
|
||||
# VITE_API_URL = 'http://2xliv7gs.shenzhuo.vip:55296'
|
||||
VITE_WPAPI_URL = "http://182.90.224.147:8081"
|
||||
# VITE_API_URL = "http://182.90.224.147:9013"
|
||||
VITE_API_URL = "http://182.90.224.147:9013"
|
||||
|
||||
# 上传
|
||||
# VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
||||
|
||||
@ -4,13 +4,19 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
.leftMenu {
|
||||
width: 300px;
|
||||
// width: 290px;
|
||||
// 页面的项目工程
|
||||
:deep(.item) {
|
||||
height: 78px !important;
|
||||
}
|
||||
:deep(.content) {
|
||||
height: calc(100% - 170px) !important;
|
||||
:deep() {
|
||||
.item {
|
||||
height: 78px !important;
|
||||
}
|
||||
.content {
|
||||
height: calc(100% - 170px) !important;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.leftProject {
|
||||
// padding: 5px 8px;
|
||||
|
||||
@ -99,7 +99,7 @@ const pages = ref({
|
||||
total: 0
|
||||
});
|
||||
const records = ref<ResAiProjectPage[] | ResAiEngineerPage[]>([]);
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const store = GlobalStore();
|
||||
interface formData {
|
||||
title: string;
|
||||
@ -254,7 +254,7 @@ watch(
|
||||
);
|
||||
onMounted(async () => {
|
||||
getVideoData();
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = (records.value as ResAiProjectPage[])[0].projectSn;
|
||||
searchName.value = (records.value as ResAiProjectPage[])[0].projectName;
|
||||
|
||||
@ -144,7 +144,7 @@ const headerList = reactive([
|
||||
{ label: "暂停状态", color: "#C13F5B" }
|
||||
]);
|
||||
const colors = ref(["#D0A530", "#35e5fd", "#f1d520", "#4fd389", "#F80840", "#fc6f8e", "#C13F5B"]);
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const records = ref<ResAiProjectPage[] | ResAiEngineerPage[]>([]);
|
||||
const projects = ref([]);
|
||||
const pages = ref({
|
||||
@ -360,7 +360,7 @@ const getEngPage = async () => {
|
||||
onBeforeMount(() => {});
|
||||
onMounted(async () => {
|
||||
getDataList();
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = (records.value as ResAiProjectPage[])[0].projectSn;
|
||||
searchName.value = (records.value as ResAiProjectPage[])[0].projectName;
|
||||
@ -595,6 +595,9 @@ watch(
|
||||
.tab.active {
|
||||
color: #0bc4f0;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
.isActive {
|
||||
background-color: #09314e;
|
||||
}
|
||||
|
||||
@ -6,11 +6,16 @@
|
||||
.leftMenu {
|
||||
// width: 290px;
|
||||
// 页面的项目工程
|
||||
:deep(.item) {
|
||||
height: 78px !important;
|
||||
}
|
||||
:deep(.content) {
|
||||
height: calc(100% - 160px) !important;
|
||||
:deep() {
|
||||
.item {
|
||||
height: 78px !important;
|
||||
}
|
||||
.content {
|
||||
height: calc(100% - 160px) !important;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.leftProject {
|
||||
// padding: 5px 8px;
|
||||
|
||||
@ -254,7 +254,7 @@ const pages = ref({
|
||||
total: 0
|
||||
});
|
||||
const records = ref<ResAiProjectPage[] | ResAiEngineerPage[]>([]);
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const baseUrl = import.meta.env.VITE_API_URL;
|
||||
const globalStore = GlobalStore();
|
||||
const fileList = ref([]);
|
||||
@ -380,23 +380,6 @@ const searchSn = ref("");
|
||||
|
||||
// 项目或者工程名字
|
||||
const searchName = ref<string>("");
|
||||
// dataCallback 是对于返回的表格数据做处理,如果你后台返回的数据不是 list && total && pageNum && pageSize 这些字段,那么你可以在这里进行处理成这些字段
|
||||
// 或者直接去 hooks/useTable.ts 文件中把字段改为你后端对应的就行
|
||||
const dataCallback = (data: any) => {
|
||||
// console.log(data);
|
||||
return {
|
||||
list: data.records,
|
||||
total: Number(data.total),
|
||||
pageNo: Number(data.current),
|
||||
pageSize: Number(data.size)
|
||||
};
|
||||
};
|
||||
// 如果你想在请求之前对当前请求参数做一些操作,可以自定义如下函数:params 为当前所有的请求参数(包括分页),最后返回请求列表接口
|
||||
// 默认不做操作就直接在 ProTable 组件上绑定 :requestApi="getUserList"
|
||||
const getTableList = (params: any) => {
|
||||
let newParams = JSON.parse(JSON.stringify(params));
|
||||
return getRealTimePage(newParams);
|
||||
};
|
||||
// 页面的项目名称和工程名称的div点击事件
|
||||
const onSearch = async (params: ResAiProjectPage | ResAiEngineerPage) => {
|
||||
const { result } = await getAIQuestionPage(
|
||||
@ -500,7 +483,7 @@ watch(
|
||||
);
|
||||
onMounted(async () => {
|
||||
getVideoData();
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = (records.value as ResAiProjectPage[])[0].projectSn;
|
||||
searchName.value = (records.value as ResAiProjectPage[])[0].projectName;
|
||||
|
||||
@ -7,11 +7,16 @@
|
||||
width: 300px;
|
||||
// width: 290px;
|
||||
// 页面的项目工程
|
||||
:deep(.item) {
|
||||
height: 78px !important;
|
||||
}
|
||||
:deep(.content) {
|
||||
height: calc(100% - 160px) !important;
|
||||
:deep() {
|
||||
.item {
|
||||
height: 78px !important;
|
||||
}
|
||||
.content {
|
||||
height: calc(100% - 160px) !important;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.leftProject {
|
||||
// padding: 5px 8px;
|
||||
|
||||
@ -89,7 +89,7 @@ const pages = ref({
|
||||
total: 0
|
||||
});
|
||||
const records = ref([]);
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const store = GlobalStore();
|
||||
const headers = ref({ Authorization: "Bearer " + store.token });
|
||||
const baseUrl = import.meta.env.VITE_API_URL;
|
||||
@ -236,7 +236,7 @@ watch(
|
||||
}
|
||||
);
|
||||
onMounted(async () => {
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = records.value[0].projectSn;
|
||||
searchName.value = records.value[0].projectName;
|
||||
|
||||
@ -7,11 +7,16 @@
|
||||
width: 300px;
|
||||
// width: 290px;
|
||||
// 页面的项目工程
|
||||
:deep(.item) {
|
||||
height: 78px !important;
|
||||
}
|
||||
:deep(.content) {
|
||||
height: calc(100% - 160px) !important;
|
||||
:deep() {
|
||||
.item {
|
||||
height: 78px !important;
|
||||
}
|
||||
.content {
|
||||
height: calc(100% - 160px) !important;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.leftProject {
|
||||
// padding: 5px 8px;
|
||||
|
||||
@ -110,7 +110,7 @@ const pages = ref({
|
||||
total: 0
|
||||
});
|
||||
const records = ref([]);
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const fileList = ref([]);
|
||||
const store = GlobalStore();
|
||||
// {
|
||||
@ -445,7 +445,7 @@ watch(
|
||||
}
|
||||
);
|
||||
onMounted(async () => {
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = records.value[0].projectSn;
|
||||
searchName.value = records.value[0].projectName;
|
||||
|
||||
@ -7,11 +7,16 @@
|
||||
width: 300px;
|
||||
// width: 290px;
|
||||
// 页面的项目工程
|
||||
:deep(.item) {
|
||||
height: 78px !important;
|
||||
}
|
||||
:deep(.content) {
|
||||
height: calc(100% - 160px) !important;
|
||||
:deep() {
|
||||
.item {
|
||||
height: 78px !important;
|
||||
}
|
||||
.content {
|
||||
height: calc(100% - 160px) !important;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.leftProject {
|
||||
// padding: 5px 8px;
|
||||
|
||||
@ -94,7 +94,7 @@ const pages = ref({
|
||||
});
|
||||
const records = ref<ResAiProjectPage[] | ResAiEngineerPage[]>([]);
|
||||
const DicMainList = ref([]);
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const store = GlobalStore();
|
||||
// 表格配置项
|
||||
const columns: ColumnProps[] = [
|
||||
@ -510,7 +510,7 @@ watch(
|
||||
);
|
||||
onMounted(async () => {
|
||||
getDicMainList();
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = (records.value as ResAiProjectPage[])[0].projectSn;
|
||||
searchName.value = (records.value as ResAiProjectPage[])[0].projectName;
|
||||
|
||||
@ -7,11 +7,16 @@
|
||||
width: 300px;
|
||||
// width: 290px;
|
||||
// 页面的项目工程
|
||||
:deep(.item) {
|
||||
height: 78px !important;
|
||||
}
|
||||
:deep(.content) {
|
||||
height: calc(100% - 160px) !important;
|
||||
:deep() {
|
||||
.item {
|
||||
height: 78px !important;
|
||||
}
|
||||
.content {
|
||||
height: calc(100% - 160px) !important;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.leftProject {
|
||||
// padding: 5px 8px;
|
||||
|
||||
@ -92,7 +92,7 @@ const relativeId = ref("");
|
||||
const detailsDialog = ref(false);
|
||||
const globalStore = GlobalStore();
|
||||
const openVisible = ref(false);
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const records = ref([]);
|
||||
// 弹窗中的配置
|
||||
const formConfig = {
|
||||
@ -333,7 +333,7 @@ watch(
|
||||
}
|
||||
);
|
||||
onMounted(async () => {
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = records.value[0].projectSn;
|
||||
searchName.value = records.value[0].projectName;
|
||||
|
||||
@ -7,11 +7,16 @@
|
||||
width: 300px;
|
||||
// width: 290px;
|
||||
// 页面的项目工程
|
||||
:deep(.item) {
|
||||
height: 78px !important;
|
||||
}
|
||||
:deep(.content) {
|
||||
height: calc(100% - 160px) !important;
|
||||
:deep() {
|
||||
.item {
|
||||
height: 78px !important;
|
||||
}
|
||||
.content {
|
||||
height: calc(100% - 160px) !important;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.leftProject {
|
||||
// padding: 5px 8px;
|
||||
|
||||
@ -127,7 +127,7 @@ const pages = ref({
|
||||
});
|
||||
const router = useRouter();
|
||||
const records = ref<ResAiProjectPage[] | ResAiEngineerPage[]>([]);
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const fileList = ref([]);
|
||||
const store = GlobalStore();
|
||||
// {
|
||||
@ -442,7 +442,7 @@ watch(
|
||||
);
|
||||
onMounted(async () => {
|
||||
getVideoData();
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = (records.value as ResAiProjectPage[])[0].projectSn;
|
||||
searchName.value = (records.value as ResAiProjectPage[])[0].projectName;
|
||||
|
||||
@ -6,11 +6,16 @@
|
||||
.leftMenu {
|
||||
// width: 290px;
|
||||
// 页面的项目工程
|
||||
:deep(.item) {
|
||||
height: 78px !important;
|
||||
}
|
||||
:deep(.content) {
|
||||
height: calc(100% - 160px) !important;
|
||||
:deep() {
|
||||
.item {
|
||||
height: 78px !important;
|
||||
}
|
||||
.content {
|
||||
height: calc(100% - 160px) !important;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.leftProject {
|
||||
// padding: 5px 8px;
|
||||
|
||||
@ -201,7 +201,7 @@ const pageable = ref({
|
||||
pageSize: 12,
|
||||
total: 0
|
||||
});
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const detailsDialog = ref(false);
|
||||
const orderDialog = ref(false);
|
||||
const relativeId = ref("");
|
||||
@ -333,7 +333,7 @@ watch(
|
||||
}
|
||||
);
|
||||
onMounted(async () => {
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = (records.value as ResAiProjectPage[])[0].projectSn;
|
||||
searchName.value = (records.value as ResAiProjectPage[])[0].projectName;
|
||||
|
||||
@ -6,11 +6,16 @@
|
||||
.leftMenu {
|
||||
// width: 290px;
|
||||
// 页面的项目工程
|
||||
:deep(.item) {
|
||||
height: 78px !important;
|
||||
}
|
||||
:deep(.content) {
|
||||
height: calc(100% - 160px) !important;
|
||||
:deep() {
|
||||
.item {
|
||||
height: 78px !important;
|
||||
}
|
||||
.content {
|
||||
height: calc(100% - 160px) !important;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.leftProject {
|
||||
// padding: 5px 8px;
|
||||
|
||||
@ -170,7 +170,7 @@ const pageable = ref({
|
||||
pageSize: 12,
|
||||
total: 0
|
||||
});
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const detailsDialog = ref(false);
|
||||
const orderDialog = ref(false);
|
||||
const relativeId = ref("");
|
||||
@ -301,7 +301,7 @@ watch(
|
||||
}
|
||||
);
|
||||
onMounted(async () => {
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = (records.value as ResAiProjectPage[])[0].projectSn;
|
||||
searchName.value = (records.value as ResAiProjectPage[])[0].projectName;
|
||||
|
||||
@ -6,11 +6,16 @@
|
||||
.leftMenu {
|
||||
// width: 290px;
|
||||
// 页面的项目工程
|
||||
:deep(.item) {
|
||||
height: 78px !important;
|
||||
}
|
||||
:deep(.content) {
|
||||
height: calc(100% - 160px) !important;
|
||||
:deep() {
|
||||
.item {
|
||||
height: 78px !important;
|
||||
}
|
||||
.content {
|
||||
height: calc(100% - 160px) !important;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.leftProject {
|
||||
// padding: 5px 8px;
|
||||
|
||||
@ -77,7 +77,7 @@ const pages = ref({
|
||||
total: 0
|
||||
});
|
||||
const records = ref<ResAiProjectPage[] | ResAiEngineerPage[]>([]);
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const fileList = ref([]);
|
||||
const store = GlobalStore();
|
||||
// 表格配置项
|
||||
@ -294,7 +294,7 @@ watch(
|
||||
);
|
||||
onMounted(async () => {
|
||||
getVideoData();
|
||||
await getProPage();
|
||||
await getEngPage();
|
||||
onSearch(records.value[0]);
|
||||
searchSn.value = (records.value as ResAiProjectPage[])[0].projectSn;
|
||||
searchName.value = (records.value as ResAiProjectPage[])[0].projectName;
|
||||
|
||||
@ -57,7 +57,7 @@ const pageable = reactive({
|
||||
total: 0
|
||||
});
|
||||
|
||||
const active = ref("first");
|
||||
const active = ref("two");
|
||||
const parentTitle = ref<string>("");
|
||||
const rightForm = ref<rightFormList>({
|
||||
createTime: "",
|
||||
@ -245,4 +245,12 @@ onMounted(async () => {
|
||||
:deep(.btn-next) {
|
||||
border: 1px solid #e5e5e5;
|
||||
}
|
||||
:deep() {
|
||||
.el-tabs__header {
|
||||
display: none;
|
||||
}
|
||||
.el-tabs__content {
|
||||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -227,6 +227,9 @@
|
||||
.tab.active {
|
||||
color: #0bc4f0;
|
||||
}
|
||||
.tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
.isActive {
|
||||
background-color: #09314e;
|
||||
}
|
||||
|
||||
@ -138,7 +138,7 @@ const BDMaps = ref<any>({});
|
||||
const router = useRouter();
|
||||
const globalStore = GlobalStore();
|
||||
|
||||
const active = ref(0);
|
||||
const active = ref(1);
|
||||
const pages = ref({
|
||||
pageNo: 1,
|
||||
pageSize: 7,
|
||||
@ -397,7 +397,7 @@ onMounted(async () => {
|
||||
getproList();
|
||||
await mapData();
|
||||
addMarker();
|
||||
await getAIproPage();
|
||||
await getAIengPage();
|
||||
onSearch(records.value[0]);
|
||||
// addMarker();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user