Merge branch 'master' of http://61.139.16.27:26684/maojiacai/ba_web
This commit is contained in:
@ -3,6 +3,6 @@ ENV='development'
|
|||||||
|
|
||||||
# base api
|
# base api
|
||||||
# VUE_APP_BASE_API = '/api'
|
# VUE_APP_BASE_API = '/api'
|
||||||
VUE_APP_GATEWAY_API = '/bagl/mosty-base'
|
VUE_APP_GATEWAY_API = '/mosty-base'
|
||||||
VUE_APP_GATEWAY_BASE_URL = 'http://123.60.110.230'
|
VUE_APP_GATEWAY_BASE_URL = 'http://123.60.110.230'
|
||||||
VUE_APP_GATEWAY_HOST = '123.60.110.230'
|
VUE_APP_GATEWAY_HOST = '123.60.110.230'
|
||||||
@ -3,6 +3,6 @@ ENV = 'production'
|
|||||||
|
|
||||||
# base api
|
# base api
|
||||||
# VUE_APP_BASE_API = '/api'
|
# VUE_APP_BASE_API = '/api'
|
||||||
VUE_APP_GATEWAY_API = '/bagl/mosty-base'
|
VUE_APP_GATEWAY_API = '/mosty-base'
|
||||||
VUE_APP_GATEWAY_BASE_URL = 'http://123.60.67.142'
|
VUE_APP_GATEWAY_BASE_URL = 'http://123.60.67.142'
|
||||||
VUE_APP_GATEWAY_HOST = '123.60.67.142'
|
VUE_APP_GATEWAY_HOST = '123.60.67.142'
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1143165c"],{"0918":function(e,t,c){"use strict";c.r(t);var o=c("7a23"),n=c("6605"),a=c("5d2d");const d=e=>(Object(o["pushScopeId"])("data-v-a3e803fa"),e=e(),Object(o["popScopeId"])(),e),s={class:"sso-redirect-container"},r=d(()=>Object(o["createElementVNode"])("div",{class:"loading-wrapper"},[Object(o["createElementVNode"])("div",{class:"loading-text"},"正在跳转...")],-1)),b=[r];var i={__name:"sso_redirect",setup(e){const t=Object(n["c"])(),c=Object(n["d"])(),d=()=>t.query.url||"",r=()=>{const e=d(),t=Object(a["a"])("SSOTOKEN")||Object(a["a"])("token");t?e?c.push(e):c.push("/"):(Object(a["c"])("FounderUrl",e),window.location.href="http://localhost:8006/bagl/mosty-base/fzSsoLogin")};return Object(o["onMounted"])(()=>{r()}),(e,t)=>(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",s,b))}},p=(c("5dbe"),c("d959")),l=c.n(p);const u=l()(i,[["__scopeId","data-v-a3e803fa"]]);t["default"]=u},"5dbe":function(e,t,c){"use strict";c("8ddc")},"8ddc":function(e,t,c){}}]);
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-1143165c"], { "0918": function (e, t, c) { "use strict"; c.r(t); var o = c("7a23"), n = c("6605"), a = c("5d2d"); const d = e => (Object(o["pushScopeId"])("data-v-a3e803fa"), e = e(), Object(o["popScopeId"])(), e), s = { class: "sso-redirect-container" }, r = d(() => Object(o["createElementVNode"])("div", { class: "loading-wrapper" }, [Object(o["createElementVNode"])("div", { class: "loading-text" }, "正在跳转...")], -1)), b = [r]; var i = { __name: "sso_redirect", setup(e) { const t = Object(n["c"])(), c = Object(n["d"])(), d = () => t.query.url || "", r = () => { const e = d(), t = Object(a["a"])("SSOTOKEN") || Object(a["a"])("token"); t ? e ? c.push(e) : c.push("/") : (Object(a["c"])("FounderUrl", e), window.location.href = "http://localhost:8006/mosty-base/fzSsoLogin") }; return Object(o["onMounted"])(() => { r() }), (e, t) => (Object(o["openBlock"])(), Object(o["createElementBlock"])("div", s, b)) } }, p = (c("5dbe"), c("d959")), l = c.n(p); const u = l()(i, [["__scopeId", "data-v-a3e803fa"]]); t["default"] = u }, "5dbe": function (e, t, c) { "use strict"; c("8ddc") }, "8ddc": function (e, t, c) { } }]);
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@ import request from "@/utils/request";
|
|||||||
//获取用户所属区域数据
|
//获取用户所属区域数据
|
||||||
export function getUserArea(params = {}) {
|
export function getUserArea(params = {}) {
|
||||||
return request({
|
return request({
|
||||||
url: "/bagl/mosty-base/other/getGajg",
|
url: "/mosty-base/other/getGajg",
|
||||||
method: "post",
|
method: "post",
|
||||||
params
|
params
|
||||||
});
|
});
|
||||||
@ -21,7 +21,7 @@ export function getUserArea(params = {}) {
|
|||||||
// 获取方正cokie
|
// 获取方正cokie
|
||||||
export function getCokie(params) {
|
export function getCokie(params) {
|
||||||
return request({
|
return request({
|
||||||
url: `/bagl/mosty-base/fzmsg/getCokie`,
|
url: `/mosty-base/fzmsg/getCokie`,
|
||||||
method: "get",
|
method: "get",
|
||||||
params
|
params
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import request from "@/utils/request";
|
import request from "@/utils/request";
|
||||||
const api = "/bagl/mosty-base";
|
const api = "/mosty-base";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 消息列表
|
* 消息列表
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import request from "@/utils/request";
|
import request from "@/utils/request";
|
||||||
const api = "/bagl/mosty-base";
|
const api = "/mosty-base";
|
||||||
/*
|
/*
|
||||||
* 登录
|
* 登录
|
||||||
* return promise 实例对象
|
* return promise 实例对象
|
||||||
|
|||||||
@ -11,7 +11,7 @@ export const cyryPage = (data) => {
|
|||||||
};
|
};
|
||||||
// 查询公司下的年检人员
|
// 查询公司下的年检人员
|
||||||
|
|
||||||
// /bagl/mosty-base/baxx / njry / list
|
// /mosty-base/baxx / njry / list
|
||||||
export const njryList = (data) => {
|
export const njryList = (data) => {
|
||||||
return request({
|
return request({
|
||||||
url: api + "/baxx/njry/list",
|
url: api + "/baxx/njry/list",
|
||||||
|
|||||||
@ -4,17 +4,17 @@ const api = "/bagl";
|
|||||||
const egisSpace = "/egis-space";
|
const egisSpace = "/egis-space";
|
||||||
|
|
||||||
// 选择站口名称
|
// 选择站口名称
|
||||||
export function egisSpaceGet(fun,coords){
|
export function egisSpaceGet(fun, coords) {
|
||||||
let params = {
|
let params = {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
keyword: "",
|
keyword: "",
|
||||||
geometry: `{"type":"Polygon","coordinates":${JSON.stringify(coords)}}`,
|
geometry: `{"type":"Polygon","coordinates":${JSON.stringify(coords)}}`,
|
||||||
};
|
};
|
||||||
params.geometry = encodeURIComponent(params.geometry)
|
params.geometry = encodeURIComponent(params.geometry)
|
||||||
|
|
||||||
let url = egisSpace + '/space/search/custom/ms-dy-intersections'
|
let url = egisSpace + '/space/search/custom/ms-dy-intersections'
|
||||||
axios.get(url,{params}).then((res) => {
|
axios.get(url, { params }).then((res) => {
|
||||||
fun(res.data)
|
fun(res.data)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
//不巡防申请
|
//不巡防申请
|
||||||
import request from "@/utils/request";
|
import request from "@/utils/request";
|
||||||
const api = "/mosty-api/mosty-jmxf";
|
const api = "/mosty-api/mosty-jmxf";
|
||||||
const api2 = "/bagl/mosty-base";
|
const api2 = "/mosty-base";
|
||||||
//新增
|
//新增
|
||||||
export function addRw(data) {
|
export function addRw(data) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import request from "@/utils/request";
|
import request from "@/utils/request";
|
||||||
const api = "/bagl/mosty-base";
|
const api = "/mosty-base";
|
||||||
/*
|
/*
|
||||||
* 登录
|
* 登录
|
||||||
* return promise 实例对象
|
* return promise 实例对象
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import request from "@/utils/request";
|
import request from "@/utils/request";
|
||||||
const api = "/bagl/mosty-base";
|
const api = "/mosty-base";
|
||||||
// 查询生成表数据
|
// 查询生成表数据
|
||||||
export function listTable(params) {
|
export function listTable(params) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import request from "@/utils/request";
|
import request from "@/utils/request";
|
||||||
const api = "/bagl/mosty-base";
|
const api = "/mosty-base";
|
||||||
/*
|
/*
|
||||||
* 登录
|
* 登录
|
||||||
* return promise 实例对象
|
* return promise 实例对象
|
||||||
|
|||||||
@ -127,7 +127,7 @@ function delFile(index) {
|
|||||||
}
|
}
|
||||||
// 文件下载
|
// 文件下载
|
||||||
function downloadFile(url) {
|
function downloadFile(url) {
|
||||||
window.open('/bagl/mosty-base/minio/image/download/'+url, "_blank");
|
window.open('/mosty-base/minio/image/download/'+url, "_blank");
|
||||||
}
|
}
|
||||||
// 选择文件
|
// 选择文件
|
||||||
function fileChange(e) {
|
function fileChange(e) {
|
||||||
@ -136,7 +136,7 @@ function fileChange(e) {
|
|||||||
let formData = new FormData();
|
let formData = new FormData();
|
||||||
formData.append("file", file);
|
formData.append("file", file);
|
||||||
axios
|
axios
|
||||||
.post("/bagl/mosty-base/minio/image/upload/id", formData, {
|
.post("/mosty-base/minio/image/upload/id", formData, {
|
||||||
"Content-type": "multipart/form-data"
|
"Content-type": "multipart/form-data"
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|||||||
@ -100,18 +100,18 @@ watch(() => props.modelValue,(val) => {
|
|||||||
if(arr.length == 0 ) return fileList.value = [];
|
if(arr.length == 0 ) return fileList.value = [];
|
||||||
fileList.value = arr.map((el) => {
|
fileList.value = arr.map((el) => {
|
||||||
if (Object.prototype.toString.call(el) === "[object Object]") {
|
if (Object.prototype.toString.call(el) === "[object Object]") {
|
||||||
return props.isAll ? { url: `/bagl/mosty-base/minio/image/download/` + el.id, name: el.name } : { url:el,name:el.name};
|
return props.isAll ? { url: `/mosty-base/minio/image/download/` + el.id, name: el.name } : { url:el,name:el.name};
|
||||||
} else {
|
} else {
|
||||||
return { url: `/bagl/mosty-base/minio/image/download/` + el };
|
return { url: `/mosty-base/minio/image/download/` + el };
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},{ immediate: true,deep:true });
|
},{ immediate: true,deep:true });
|
||||||
|
|
||||||
const actionUrl = computed(() => {
|
const actionUrl = computed(() => {
|
||||||
if (props.isAll) {
|
if (props.isAll) {
|
||||||
return "/bagl/mosty-base/minio/image/upload/id";
|
return "/mosty-base/minio/image/upload/id";
|
||||||
} else {
|
} else {
|
||||||
return props.isImg ? "/bagl/mosty-base/minio/image/upload/id": "/bagl/mosty-base/minio/file/upload";
|
return props.isImg ? "/mosty-base/minio/image/upload/id": "/mosty-base/minio/file/upload";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ const getSuffix = (fileName) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handlerSuccess = (res, file) => {
|
const handlerSuccess = (res, file) => {
|
||||||
// file.url = `/bagl/mosty-base/minio/image/download/` + res.data;
|
// file.url = `/mosty-base/minio/image/download/` + res.data;
|
||||||
file.id = res.data;
|
file.id = res.data;
|
||||||
fileList.value.push(file);
|
fileList.value.push(file);
|
||||||
console.log(fileList.value,'=========999');
|
console.log(fileList.value,'=========999');
|
||||||
|
|||||||
@ -106,7 +106,7 @@ const open = (row = {}, type = 'add') => {
|
|||||||
const save = () => {
|
const save = () => {
|
||||||
FormRef.value.submit(() => {
|
FormRef.value.submit(() => {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
const url = !formData.value?.id ? `/bagl/mosty-base/baxx/cyry/add` : `/bagl/mosty-base/baxx/cyry/edit`;
|
const url = !formData.value?.id ? `/mosty-base/baxx/cyry/add` : `/mosty-base/baxx/cyry/edit`;
|
||||||
qcckPost(formData.value, url).then(() => {
|
qcckPost(formData.value, url).then(() => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
proxy.$message.success("保存成功");
|
proxy.$message.success("保存成功");
|
||||||
|
|||||||
@ -83,7 +83,7 @@ const pageData = reactive({
|
|||||||
// 初始化数据
|
// 初始化数据
|
||||||
const init = async (type, id) => {
|
const init = async (type, id) => {
|
||||||
dialogForm.value = true;
|
dialogForm.value = true;
|
||||||
const res = await qcckGet({},`/bagl/mosty-base/baxx/njpx/getInfo/${id}`)
|
const res = await qcckGet({},`/mosty-base/baxx/njpx/getInfo/${id}`)
|
||||||
console.log(res,'=========');
|
console.log(res,'=========');
|
||||||
listQuery.value.pxkcList = res.pxkcList || []
|
listQuery.value.pxkcList = res.pxkcList || []
|
||||||
pageData.tableData = res.pxryList || []
|
pageData.tableData = res.pxryList || []
|
||||||
|
|||||||
@ -93,7 +93,7 @@ const changeSize = (val) => {
|
|||||||
const getList = () => {
|
const getList = () => {
|
||||||
pageData.tableConfiger.loading = true;
|
pageData.tableConfiger.loading = true;
|
||||||
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
||||||
qcckPost(data, "/bagl/mosty-base/baxx/njpx/page").then((res) => {
|
qcckPost(data, "/mosty-base/baxx/njpx/page").then((res) => {
|
||||||
pageData.tableData = res.records || [];
|
pageData.tableData = res.records || [];
|
||||||
pageData.total = res.total;
|
pageData.total = res.total;
|
||||||
pageData.tableConfiger.loading = false;
|
pageData.tableConfiger.loading = false;
|
||||||
|
|||||||
@ -124,7 +124,7 @@ const init = (type, row) => {
|
|||||||
console.log(row);
|
console.log(row);
|
||||||
|
|
||||||
changeType(row.type);
|
changeType(row.type);
|
||||||
qcckPost({},`/bagl/mosty-base/baxx/tkgl/getInfo/${row.id}`).then(res=>{
|
qcckPost({},`/mosty-base/baxx/tkgl/getInfo/${row.id}`).then(res=>{
|
||||||
res.correctAnswer = res.type == '02'? res.correctAnswer.split(','):res.correctAnswer;
|
res.correctAnswer = res.type == '02'? res.correctAnswer.split(','):res.correctAnswer;
|
||||||
multiple.value = res.type == '02' ? true:false;
|
multiple.value = res.type == '02' ? true:false;
|
||||||
listQuery.value = res
|
listQuery.value = res
|
||||||
@ -154,7 +154,7 @@ const save = () => {
|
|||||||
FormRef.value.validate((valid)=>{
|
FormRef.value.validate((valid)=>{
|
||||||
if (!valid) return;
|
if (!valid) return;
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
let url = title.value == '新增' ? `/bagl/mosty-base/baxx/tkgl/add` : `/bagl/mosty-base/baxx/tkgl/edit`;
|
let url = title.value == '新增' ? `/mosty-base/baxx/tkgl/add` : `/mosty-base/baxx/tkgl/edit`;
|
||||||
let params = { ...listQuery.value }
|
let params = { ...listQuery.value }
|
||||||
params.correctAnswer = Array.isArray(params.correctAnswer) ? params.correctAnswer.join(','):params.correctAnswer;
|
params.correctAnswer = Array.isArray(params.correctAnswer) ? params.correctAnswer.join(','):params.correctAnswer;
|
||||||
qcckPost(params, url).then(() => {
|
qcckPost(params, url).then(() => {
|
||||||
|
|||||||
@ -130,7 +130,7 @@ const changeSize = (val) => {
|
|||||||
const getList = () => {
|
const getList = () => {
|
||||||
pageData.tableConfiger.loading = true;
|
pageData.tableConfiger.loading = true;
|
||||||
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
||||||
qcckPost(data, "/bagl/mosty-base/baxx/tkgl/page").then((res) => {
|
qcckPost(data, "/mosty-base/baxx/tkgl/page").then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
|
||||||
let arr = res.records || []
|
let arr = res.records || []
|
||||||
@ -149,7 +149,7 @@ const getList = () => {
|
|||||||
// 删除
|
// 删除
|
||||||
const handleDelete = (ids) => {
|
const handleDelete = (ids) => {
|
||||||
proxy.$modal.confirm("是否确认删除该题目?").then(() => {
|
proxy.$modal.confirm("是否确认删除该题目?").then(() => {
|
||||||
qcckPost({idList:ids}, "/bagl/mosty-base/baxx/tkgl/remove").then(() => {
|
qcckPost({idList:ids}, "/mosty-base/baxx/tkgl/remove").then(() => {
|
||||||
proxy.$modal.msgSuccess("删除成功");
|
proxy.$modal.msgSuccess("删除成功");
|
||||||
getList();
|
getList();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -72,7 +72,7 @@ function getDateById (id) {
|
|||||||
const save = () => {
|
const save = () => {
|
||||||
FormRef.value.submit((val)=>{
|
FormRef.value.submit((val)=>{
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
let url = title.value == '新增' ? `/bagl/mosty-base/baxx/jxda/add` : `/bagl/mosty-base/baxx/jxda/edit`;
|
let url = title.value == '新增' ? `/mosty-base/baxx/jxda/add` : `/mosty-base/baxx/jxda/edit`;
|
||||||
let params = { ...val }
|
let params = { ...val }
|
||||||
params.fj = params.fj ? JSON.stringify(params.fj):''
|
params.fj = params.fj ? JSON.stringify(params.fj):''
|
||||||
|
|
||||||
|
|||||||
@ -108,7 +108,7 @@ const changeSize = (val) => {
|
|||||||
const getList = () => {
|
const getList = () => {
|
||||||
pageData.tableConfiger.loading = true;
|
pageData.tableConfiger.loading = true;
|
||||||
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
||||||
qcckPost(data, "/bagl/mosty-base/baxx/jxda/page").then((res) => {
|
qcckPost(data, "/mosty-base/baxx/jxda/page").then((res) => {
|
||||||
pageData.tableData = res.records || [];
|
pageData.tableData = res.records || [];
|
||||||
pageData.total = res.total;
|
pageData.total = res.total;
|
||||||
pageData.tableConfiger.loading = false;
|
pageData.tableConfiger.loading = false;
|
||||||
@ -121,7 +121,7 @@ const getList = () => {
|
|||||||
// 删除
|
// 删除
|
||||||
const handleDelete = (ids) => {
|
const handleDelete = (ids) => {
|
||||||
proxy.$modal.confirm("是否确认删除?").then(() => {
|
proxy.$modal.confirm("是否确认删除?").then(() => {
|
||||||
qcckPost(ids, "/bagl/mosty-base/baxx/jxda/remove").then(() => {
|
qcckPost(ids, "/mosty-base/baxx/jxda/remove").then(() => {
|
||||||
proxy.$modal.msgSuccess("删除成功");
|
proxy.$modal.msgSuccess("删除成功");
|
||||||
getList();
|
getList();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -49,7 +49,7 @@ const init = (type, row = {}) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const getDateById = (id) =>{
|
const getDateById = (id) =>{
|
||||||
qcckPost({},'/bagl/mosty-base/baxx/sok/getInfo/'+id).then(res=>{
|
qcckPost({},'/mosty-base/baxx/sok/getInfo/'+id).then(res=>{
|
||||||
res.fjid = res.fjid ? JSON.parse(res.fjid):[];
|
res.fjid = res.fjid ? JSON.parse(res.fjid):[];
|
||||||
listQuery.value = res || {}
|
listQuery.value = res || {}
|
||||||
})
|
})
|
||||||
@ -58,7 +58,7 @@ const getDateById = (id) =>{
|
|||||||
const save = () => {
|
const save = () => {
|
||||||
FormRef.value.submit((val)=>{
|
FormRef.value.submit((val)=>{
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
let url = title.value == '新增' ? `/bagl/mosty-base/baxx/sok/add` : `/bagl/mosty-base/baxx/sok/edit`;
|
let url = title.value == '新增' ? `/mosty-base/baxx/sok/add` : `/mosty-base/baxx/sok/edit`;
|
||||||
let params = {...val }
|
let params = {...val }
|
||||||
params.fjid = params.fjid ? JSON.stringify(params.fjid):''
|
params.fjid = params.fjid ? JSON.stringify(params.fjid):''
|
||||||
qcckPost(params, url).then(() => {
|
qcckPost(params, url).then(() => {
|
||||||
|
|||||||
@ -102,7 +102,7 @@ const changeSize = (val) => {
|
|||||||
const getList = () => {
|
const getList = () => {
|
||||||
pageData.tableConfiger.loading = true;
|
pageData.tableConfiger.loading = true;
|
||||||
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
||||||
qcckPost(data, "/bagl/mosty-base/baxx/sok/page").then((res) => {
|
qcckPost(data, "/mosty-base/baxx/sok/page").then((res) => {
|
||||||
pageData.tableData = res.records || [];
|
pageData.tableData = res.records || [];
|
||||||
pageData.total = res.total;
|
pageData.total = res.total;
|
||||||
pageData.tableConfiger.loading = false;
|
pageData.tableConfiger.loading = false;
|
||||||
@ -115,7 +115,7 @@ const getList = () => {
|
|||||||
// 删除
|
// 删除
|
||||||
const handleDelete = (ids) => {
|
const handleDelete = (ids) => {
|
||||||
proxy.$modal.confirm("是否确认删除该视频?").then(() => {
|
proxy.$modal.confirm("是否确认删除该视频?").then(() => {
|
||||||
qcckPost(ids, "/bagl/mosty-base/baxx/sok/remove").then(() => {
|
qcckPost(ids, "/mosty-base/baxx/sok/remove").then(() => {
|
||||||
proxy.$modal.msgSuccess("删除成功");
|
proxy.$modal.msgSuccess("删除成功");
|
||||||
getList();
|
getList();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -52,12 +52,12 @@
|
|||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-image
|
<el-image
|
||||||
style="width=80px;height:90px"
|
style="width=80px;height:90px"
|
||||||
:preview-src-list="[`/bagl/mosty-base/minio/image/download/${row.fjdz}`]"
|
:preview-src-list="[`/mosty-base/minio/image/download/${row.fjdz}`]"
|
||||||
v-if="row.fjdz"
|
v-if="row.fjdz"
|
||||||
hide-on-click-modal
|
hide-on-click-modal
|
||||||
preview-teleported
|
preview-teleported
|
||||||
fit="cover"
|
fit="cover"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${row.fjdz}`"/>
|
:src="`/mosty-base/minio/image/download/${row.fjdz}`"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|||||||
@ -189,7 +189,7 @@
|
|||||||
<div style=" width: 25%; display: flex; justify-content: center;margin-bottom: 10px;">
|
<div style=" width: 25%; display: flex; justify-content: center;margin-bottom: 10px;">
|
||||||
<div style="position: relative; width: 90px; height: 100px">
|
<div style="position: relative; width: 90px; height: 100px">
|
||||||
<el-upload
|
<el-upload
|
||||||
action="/bagl/mosty-base/minio/image/upload/id"
|
action="/mosty-base/minio/image/upload/id"
|
||||||
:on-change="upImgFile"
|
:on-change="upImgFile"
|
||||||
:on-success="upImg"
|
:on-success="upImg"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
@ -538,7 +538,7 @@ import {
|
|||||||
defineExpose,
|
defineExpose,
|
||||||
defineEmits
|
defineEmits
|
||||||
} from "vue";
|
} from "vue";
|
||||||
const urlImg = ref("/bagl/mosty-base/minio/image/download/");
|
const urlImg = ref("/mosty-base/minio/image/download/");
|
||||||
const searchBox = ref(null); // 搜索盒子
|
const searchBox = ref(null); // 搜索盒子
|
||||||
const tableHeight = ref(); // 表格高度
|
const tableHeight = ref(); // 表格高度
|
||||||
const tableHeight1 = ref(); // 表格高度
|
const tableHeight1 = ref(); // 表格高度
|
||||||
|
|||||||
@ -109,7 +109,7 @@
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
">
|
">
|
||||||
<div style="position: relative; width: 90px; height: 100px">
|
<div style="position: relative; width: 90px; height: 100px">
|
||||||
<el-upload action="/bagl/mosty-base/minio/image/upload/id" :on-change="upImgFile" :on-success="upImg"
|
<el-upload action="/mosty-base/minio/image/upload/id" :on-change="upImgFile" :on-success="upImg"
|
||||||
:show-file-list="false">
|
:show-file-list="false">
|
||||||
<el-image v-if="imgUrl" :src="imgUrl" fit="cover" />
|
<el-image v-if="imgUrl" :src="imgUrl" fit="cover" />
|
||||||
<el-icon v-else>
|
<el-icon v-else>
|
||||||
@ -350,7 +350,7 @@ const tableLeftData = ref([]);
|
|||||||
const leftdata = ref([]);
|
const leftdata = ref([]);
|
||||||
//右边选中数据
|
//右边选中数据
|
||||||
const rightData = ref([]);
|
const rightData = ref([]);
|
||||||
const urlImg = ref("/bagl/mosty-base/minio/image/download/");
|
const urlImg = ref("/mosty-base/minio/image/download/");
|
||||||
const zqjlData = ref([
|
const zqjlData = ref([
|
||||||
{
|
{
|
||||||
zqbm: "xxx部门",
|
zqbm: "xxx部门",
|
||||||
|
|||||||
@ -228,7 +228,7 @@
|
|||||||
>
|
>
|
||||||
<div style="position: relative; width: 90px; height: 100px">
|
<div style="position: relative; width: 90px; height: 100px">
|
||||||
<el-upload
|
<el-upload
|
||||||
action="/bagl/mosty-base/minio/image/upload/id"
|
action="/mosty-base/minio/image/upload/id"
|
||||||
:on-change="upImgFile"
|
:on-change="upImgFile"
|
||||||
:on-success="upImg"
|
:on-success="upImg"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
@ -568,7 +568,7 @@ import {
|
|||||||
RellBackZnzb,
|
RellBackZnzb,
|
||||||
ReportLossZnzb
|
ReportLossZnzb
|
||||||
} from "@/api/basicsmanage/intelligence";
|
} from "@/api/basicsmanage/intelligence";
|
||||||
const urlImg = ref("/bagl/mosty-base/minio/image/download/");
|
const urlImg = ref("/mosty-base/minio/image/download/");
|
||||||
const { proxy } = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
const { D_BZ_ZNZBFL, D_ZDY_SBZT, D_BZ_SF, D_BZ_ZBLX_LZ } = proxy.$dict(
|
const { D_BZ_ZNZBFL, D_ZDY_SBZT, D_BZ_SF, D_BZ_ZBLX_LZ } = proxy.$dict(
|
||||||
"D_BZ_ZNZBFL",
|
"D_BZ_ZNZBFL",
|
||||||
|
|||||||
@ -266,7 +266,7 @@
|
|||||||
>
|
>
|
||||||
<div style="position: relative; width: 90px; height: 100px">
|
<div style="position: relative; width: 90px; height: 100px">
|
||||||
<el-upload
|
<el-upload
|
||||||
action="/bagl/mosty-base/minio/image/upload/id"
|
action="/mosty-base/minio/image/upload/id"
|
||||||
:on-change="upImgFile"
|
:on-change="upImgFile"
|
||||||
:on-success="upImg"
|
:on-success="upImg"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
@ -639,7 +639,7 @@ import {
|
|||||||
} from "@/api/basicsmanage/equipment";
|
} from "@/api/basicsmanage/equipment";
|
||||||
import Person from "@/assets/images/default_male.png";
|
import Person from "@/assets/images/default_male.png";
|
||||||
import { ref, reactive, onMounted, getCurrentInstance, onUnmounted } from "vue";
|
import { ref, reactive, onMounted, getCurrentInstance, onUnmounted } from "vue";
|
||||||
const urlImg = ref("/bagl/mosty-base/minio/image/download/");
|
const urlImg = ref("/mosty-base/minio/image/download/");
|
||||||
const multipleSelection = ref([]); //批量数据
|
const multipleSelection = ref([]); //批量数据
|
||||||
const { proxy } = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
const isImport = ref(false);
|
const isImport = ref(false);
|
||||||
|
|||||||
@ -209,7 +209,7 @@ import {
|
|||||||
const { proxy } = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
const emits = defineEmits(["updateChange"]);
|
const emits = defineEmits(["updateChange"]);
|
||||||
const imgList = ref([]);
|
const imgList = ref([]);
|
||||||
const urlImg = ref("/bagl/mosty-base/minio/image/download/");
|
const urlImg = ref("/mosty-base/minio/image/download/");
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
dic: { type: Object, default: {} }
|
dic: { type: Object, default: {} }
|
||||||
});
|
});
|
||||||
|
|||||||
@ -137,7 +137,7 @@ const ams = async (pramas) => {
|
|||||||
closed();
|
closed();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const urlImg = ref("/bagl/mosty-base/minio/image/download/");
|
const urlImg = ref("/mosty-base/minio/image/download/");
|
||||||
const showMc = (val, vale) => {
|
const showMc = (val, vale) => {
|
||||||
const stack = [...val];
|
const stack = [...val];
|
||||||
while (stack.length) {
|
while (stack.length) {
|
||||||
|
|||||||
@ -328,7 +328,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="巡访照片" style="width: 100%">
|
<el-form-item label="巡访照片" style="width: 100%">
|
||||||
<el-upload
|
<el-upload
|
||||||
action="/bagl/mosty-base/minio/image/upload/id"
|
action="/mosty-base/minio/image/upload/id"
|
||||||
v-model:file-list="fileList"
|
v-model:file-list="fileList"
|
||||||
list-type="picture-card"
|
list-type="picture-card"
|
||||||
:on-remove="handleRemove"
|
:on-remove="handleRemove"
|
||||||
@ -435,7 +435,7 @@ const rules = reactive({
|
|||||||
const roleIdsPeo = ref([]);
|
const roleIdsPeo = ref([]);
|
||||||
|
|
||||||
const imgList = ref([]);
|
const imgList = ref([]);
|
||||||
const urlImg = ref("/bagl/mosty-base/minio/image/download/");
|
const urlImg = ref("/mosty-base/minio/image/download/");
|
||||||
const fileList = ref([]);
|
const fileList = ref([]);
|
||||||
|
|
||||||
// 初始化数据
|
// 初始化数据
|
||||||
|
|||||||
@ -66,7 +66,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="附件上传" style="width: 100%" prop="fjmc">
|
<el-form-item label="附件上传" style="width: 100%" prop="fjmc">
|
||||||
<el-input v-model="aggrenSubmt.fjmc" placeholder="请选择上传文件" style="width: 80%"/>
|
<el-input v-model="aggrenSubmt.fjmc" placeholder="请选择上传文件" style="width: 80%"/>
|
||||||
<el-upload action="/bagl/mosty-base/minio/image/upload/id" :on-change="upImgFile" :on-success="upImg" :show-file-list="false">
|
<el-upload action="/mosty-base/minio/image/upload/id" :on-change="upImgFile" :on-success="upImg" :show-file-list="false">
|
||||||
<el-button type="primary" style="padding: 0 14px">上传</el-button>
|
<el-button type="primary" style="padding: 0 14px">上传</el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@ -59,8 +59,8 @@
|
|||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div v-if="row.tpList?.[0]">
|
<div v-if="row.tpList?.[0]">
|
||||||
<el-image :append-to-body="true" :preview-src-list="[
|
<el-image :append-to-body="true" :preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`
|
`/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`
|
||||||
]" style="width: 75px" :src="`/bagl/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`"
|
]" style="width: 75px" :src="`/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`"
|
||||||
fit="cover" lazy />
|
fit="cover" lazy />
|
||||||
</div>
|
</div>
|
||||||
<el-image style="width: 75px" :append-to-body="true" v-else :src="Person" :preview-src-list="[Person]"
|
<el-image style="width: 75px" :append-to-body="true" v-else :src="Person" :preview-src-list="[Person]"
|
||||||
@ -201,7 +201,7 @@
|
|||||||
<div v-if="detailList.tpList && detailList.tpList.length > 0">
|
<div v-if="detailList.tpList && detailList.tpList.length > 0">
|
||||||
<el-form ref="elform" :model="detailList" :rules="rules" :inline="true" label-position="top">
|
<el-form ref="elform" :model="detailList" :rules="rules" :inline="true" label-position="top">
|
||||||
<el-image v-for="(item, index) in detailList.tpList" :key="index"
|
<el-image v-for="(item, index) in detailList.tpList" :key="index"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${item.fjid}`" style="
|
:src="`/mosty-base/minio/image/download/${item.fjid}`" style="
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
margin: 10px 0 10px 20px;
|
margin: 10px 0 10px 20px;
|
||||||
@ -218,7 +218,7 @@
|
|||||||
<el-form-item label="物品图片" prop="name">
|
<el-form-item label="物品图片" prop="name">
|
||||||
<div style="height: 120px; display: inline-block">
|
<div style="height: 120px; display: inline-block">
|
||||||
<el-image v-for="(item, index) in detailList.wpVoList[0]?.wpTpIdList" :key="index"
|
<el-image v-for="(item, index) in detailList.wpVoList[0]?.wpTpIdList" :key="index"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${item}`" style="
|
:src="`/mosty-base/minio/image/download/${item}`" style="
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
margin: 10px 0 10px 20px;
|
margin: 10px 0 10px 20px;
|
||||||
|
|||||||
@ -70,10 +70,10 @@
|
|||||||
<el-image
|
<el-image
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:preview-src-list="[
|
:preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`
|
`/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`
|
||||||
]"
|
]"
|
||||||
style="width: 75px"
|
style="width: 75px"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`"
|
:src="`/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`"
|
||||||
fit="cover"
|
fit="cover"
|
||||||
lazy
|
lazy
|
||||||
/>
|
/>
|
||||||
@ -320,7 +320,7 @@
|
|||||||
<el-image
|
<el-image
|
||||||
v-for="(item, index) in form.tpList"
|
v-for="(item, index) in form.tpList"
|
||||||
:key="index"
|
:key="index"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${item.fjid}`"
|
:src="`/mosty-base/minio/image/download/${item.fjid}`"
|
||||||
style="
|
style="
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
@ -346,7 +346,7 @@
|
|||||||
<el-image
|
<el-image
|
||||||
v-for="(item, index) in form.wpVoList[0]?.wpTpIdList"
|
v-for="(item, index) in form.wpVoList[0]?.wpTpIdList"
|
||||||
:key="index"
|
:key="index"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${item}`"
|
:src="`/mosty-base/minio/image/download/${item}`"
|
||||||
style="
|
style="
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
|
|||||||
@ -92,10 +92,10 @@
|
|||||||
<el-image
|
<el-image
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:preview-src-list="[
|
:preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`
|
`/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`
|
||||||
]"
|
]"
|
||||||
style="width: 75px"
|
style="width: 75px"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`"
|
:src="`/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`"
|
||||||
fit="cover"
|
fit="cover"
|
||||||
lazy
|
lazy
|
||||||
/>
|
/>
|
||||||
@ -343,7 +343,7 @@
|
|||||||
<el-image
|
<el-image
|
||||||
v-for="(item, index) in detailList.tpList"
|
v-for="(item, index) in detailList.tpList"
|
||||||
:key="index"
|
:key="index"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${item.fjid}`"
|
:src="`/mosty-base/minio/image/download/${item.fjid}`"
|
||||||
style="
|
style="
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
@ -370,7 +370,7 @@
|
|||||||
<el-image
|
<el-image
|
||||||
v-for="(item, index) in detailList.wpVoList[0]?.wpTpIdList"
|
v-for="(item, index) in detailList.wpVoList[0]?.wpTpIdList"
|
||||||
:key="index"
|
:key="index"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${item}`"
|
:src="`/mosty-base/minio/image/download/${item}`"
|
||||||
style="
|
style="
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
|
|||||||
@ -104,10 +104,10 @@
|
|||||||
<el-image
|
<el-image
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:preview-src-list="[
|
:preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`
|
`/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`
|
||||||
]"
|
]"
|
||||||
style="width: 75px"
|
style="width: 75px"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`"
|
:src="`/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`"
|
||||||
fit="cover"
|
fit="cover"
|
||||||
lazy
|
lazy
|
||||||
/>
|
/>
|
||||||
@ -282,11 +282,11 @@
|
|||||||
<div v-if="form.tpList?.[0]">
|
<div v-if="form.tpList?.[0]">
|
||||||
<el-image
|
<el-image
|
||||||
:preview-src-list="[
|
:preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${form.tpList?.[0].fjid}`
|
`/mosty-base/minio/image/download/${form.tpList?.[0].fjid}`
|
||||||
]"
|
]"
|
||||||
style="width: 100px"
|
style="width: 100px"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${form.tpList?.[0].fjid}`"
|
:src="`/mosty-base/minio/image/download/${form.tpList?.[0].fjid}`"
|
||||||
fit="cover"
|
fit="cover"
|
||||||
lazy
|
lazy
|
||||||
/>
|
/>
|
||||||
@ -373,9 +373,9 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:preview-src-list="[
|
:preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${item.fjid}`
|
`/mosty-base/minio/image/download/${item.fjid}`
|
||||||
]"
|
]"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${item.fjid}`"
|
:src="`/mosty-base/minio/image/download/${item.fjid}`"
|
||||||
style="
|
style="
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
@ -406,9 +406,9 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:preview-src-list="[
|
:preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${item}`
|
`/mosty-base/minio/image/download/${item}`
|
||||||
]"
|
]"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${item}`"
|
:src="`/mosty-base/minio/image/download/${item}`"
|
||||||
style="
|
style="
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
|
|||||||
@ -74,10 +74,10 @@
|
|||||||
<el-image
|
<el-image
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:preview-src-list="[
|
:preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`
|
`/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`
|
||||||
]"
|
]"
|
||||||
style="width: 75px"
|
style="width: 75px"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`"
|
:src="`/mosty-base/minio/image/download/${row.tpList?.[0].fjid}`"
|
||||||
fit="cover"
|
fit="cover"
|
||||||
lazy
|
lazy
|
||||||
/>
|
/>
|
||||||
@ -262,11 +262,11 @@
|
|||||||
<div v-if="form.tpList && form.tpList.length > 0">
|
<div v-if="form.tpList && form.tpList.length > 0">
|
||||||
<el-image
|
<el-image
|
||||||
:preview-src-list="[
|
:preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${form.tpList?.[0].fjid}`
|
`/mosty-base/minio/image/download/${form.tpList?.[0].fjid}`
|
||||||
]"
|
]"
|
||||||
style="width: 100px"
|
style="width: 100px"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${form.tpList?.[0].fjid}`"
|
:src="`/mosty-base/minio/image/download/${form.tpList?.[0].fjid}`"
|
||||||
fit="cover"
|
fit="cover"
|
||||||
lazy
|
lazy
|
||||||
/>
|
/>
|
||||||
@ -343,9 +343,9 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:preview-src-list="[
|
:preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${item.fjid}`
|
`/mosty-base/minio/image/download/${item.fjid}`
|
||||||
]"
|
]"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${item.fjid}`"
|
:src="`/mosty-base/minio/image/download/${item.fjid}`"
|
||||||
style="
|
style="
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
@ -379,9 +379,9 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:preview-src-list="[
|
:preview-src-list="[
|
||||||
`/bagl/mosty-base/minio/image/download/${item}`
|
`/mosty-base/minio/image/download/${item}`
|
||||||
]"
|
]"
|
||||||
:src="`/bagl/mosty-base/minio/image/download/${item}`"
|
:src="`/mosty-base/minio/image/download/${item}`"
|
||||||
style="
|
style="
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
|
|||||||
@ -225,7 +225,7 @@ const handleSelectionChange = (val) => {
|
|||||||
//批量删除数据
|
//批量删除数据
|
||||||
const batchDelete = () => {
|
const batchDelete = () => {
|
||||||
proxy.$confirm("确定要删除", "警告", { type: "warning" }).then(() => {
|
proxy.$confirm("确定要删除", "警告", { type: "warning" }).then(() => {
|
||||||
qcckPost(ids.value,'/bagl/mosty-base/sys-dict-item/deleteSysDictItemBatch').then(res=>{
|
qcckPost(ids.value,'/mosty-base/sys-dict-item/deleteSysDictItemBatch').then(res=>{
|
||||||
proxy.$message({ message: "删除成功",type: "success"});
|
proxy.$message({ message: "删除成功",type: "success"});
|
||||||
getListData();
|
getListData();
|
||||||
})
|
})
|
||||||
|
|||||||
@ -307,7 +307,7 @@ const onSave = () => {
|
|||||||
// 导出
|
// 导出
|
||||||
function exportExcel() {
|
function exportExcel() {
|
||||||
proxy.$confirm(`当前数据${total.value}条,确定是否导出全部数据?`, "警告", {type: "warning"}).then(() => {
|
proxy.$confirm(`当前数据${total.value}条,确定是否导出全部数据?`, "警告", {type: "warning"}).then(() => {
|
||||||
download('/bagl/mosty-base/other/exportLoginLog',listQuery.value , `人员核查日志_${new Date().getTime()}.xlsx`)
|
download('/mosty-base/other/exportLoginLog',listQuery.value , `人员核查日志_${new Date().getTime()}.xlsx`)
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
proxy.$message.info("已取消");
|
proxy.$message.info("已取消");
|
||||||
});
|
});
|
||||||
|
|||||||
@ -407,7 +407,7 @@ const tabHeightFn = () => {
|
|||||||
// 导出
|
// 导出
|
||||||
function exportExcel() {
|
function exportExcel() {
|
||||||
proxy.$confirm(`当前数据${total.value}条,确定是否导出全部数据?`, "警告", {type: "warning"}).then(() => {
|
proxy.$confirm(`当前数据${total.value}条,确定是否导出全部数据?`, "警告", {type: "warning"}).then(() => {
|
||||||
download('/bagl/mosty-base/other/exportOperlog',listQuery.value , `人员核查日志_${new Date().getTime()}.xlsx`)
|
download('/mosty-base/other/exportOperlog',listQuery.value , `人员核查日志_${new Date().getTime()}.xlsx`)
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
proxy.$message.info("已取消");
|
proxy.$message.info("已取消");
|
||||||
});
|
});
|
||||||
|
|||||||
@ -151,7 +151,7 @@
|
|||||||
<el-upload
|
<el-upload
|
||||||
v-model:file-list="fileList"
|
v-model:file-list="fileList"
|
||||||
:limit="1"
|
:limit="1"
|
||||||
action="/bagl/mosty-base/minio/image/upload/id"
|
action="/mosty-base/minio/image/upload/id"
|
||||||
:on-change="upImgFile"
|
:on-change="upImgFile"
|
||||||
:on-success="upImg"
|
:on-success="upImg"
|
||||||
:show-file-list="false">
|
:show-file-list="false">
|
||||||
@ -197,7 +197,7 @@ const visible = ref(false);
|
|||||||
const visibleJz = ref(false);
|
const visibleJz = ref(false);
|
||||||
const zxrDtoList = ref([])
|
const zxrDtoList = ref([])
|
||||||
|
|
||||||
const baseUrl = '/bagl/mosty-base/minio/image/download/'
|
const baseUrl = '/mosty-base/minio/image/download/'
|
||||||
const fileList = ref([]);
|
const fileList = ref([]);
|
||||||
const imgLx = ["png", "jpg", "jpeg", "bmp", "gif"];//图片格式
|
const imgLx = ["png", "jpg", "jpeg", "bmp", "gif"];//图片格式
|
||||||
//音频格式
|
//音频格式
|
||||||
@ -364,7 +364,7 @@ function getZxjl() {
|
|||||||
//获取视频音频地址
|
//获取视频音频地址
|
||||||
function _getAudioAndVideoUrl(fjid) {
|
function _getAudioAndVideoUrl(fjid) {
|
||||||
return new Promise((ok) => {
|
return new Promise((ok) => {
|
||||||
axios.get(`/bagl/mosty-base/minio/file/download/${fjid}`, {params: {}}).then((res) => {
|
axios.get(`/mosty-base/minio/file/download/${fjid}`, {params: {}}).then((res) => {
|
||||||
if (res) ok(res.data.data.url);
|
if (res) ok(res.data.data.url);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -38,10 +38,10 @@
|
|||||||
<el-carousel-item v-for="itChild in item.fjid" :key="itChild">
|
<el-carousel-item v-for="itChild in item.fjid" :key="itChild">
|
||||||
<el-image
|
<el-image
|
||||||
preview-teleported
|
preview-teleported
|
||||||
:preview-src-list="[`/bagl/mosty-base/obs/download?id=${itChild}`]"
|
:preview-src-list="[`/mosty-base/obs/download?id=${itChild}`]"
|
||||||
:initial-index="0"
|
:initial-index="0"
|
||||||
fit="cover"
|
fit="cover"
|
||||||
:src="`/bagl/mosty-base/obs/download?id=${itChild}`"
|
:src="`/mosty-base/obs/download?id=${itChild}`"
|
||||||
/>
|
/>
|
||||||
</el-carousel-item>
|
</el-carousel-item>
|
||||||
</el-carousel>
|
</el-carousel>
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
<el-form-item label="附件上传" style="width: 100%" prop="fjmc">
|
<el-form-item label="附件上传" style="width: 100%" prop="fjmc">
|
||||||
<el-input v-model="formInfo.fjmc" placeholder="请选择上传文件" style="width: 80%"/>
|
<el-input v-model="formInfo.fjmc" placeholder="请选择上传文件" style="width: 80%"/>
|
||||||
<el-upload :limit="1" action="/bagl/mosty-base/minio/image/upload/id" :on-change="upImgFile" :on-success="upImg" :show-file-list="false">
|
<el-upload :limit="1" action="/mosty-base/minio/image/upload/id" :on-change="upImgFile" :on-success="upImg" :show-file-list="false">
|
||||||
<el-button type="primary" style="padding: 0 14px">上传</el-button>
|
<el-button type="primary" style="padding: 0 14px">上传</el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@ -461,7 +461,7 @@ onMounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
<div class="text">图片:`;
|
<div class="text">图片:`;
|
||||||
val.tp.forEach((it) => {
|
val.tp.forEach((it) => {
|
||||||
html += `<img style="width:60px; height:60px; margin-left:2px;" src="/bagl/mosty-base/minio/image/download/${it}" />`;
|
html += `<img style="width:60px; height:60px; margin-left:2px;" src="/mosty-base/minio/image/download/${it}" />`;
|
||||||
});
|
});
|
||||||
html += ` </div></div>`;
|
html += ` </div></div>`;
|
||||||
ElNotification({
|
ElNotification({
|
||||||
|
|||||||
@ -566,7 +566,7 @@ function _yjRltList() {
|
|||||||
|
|
||||||
// 获取范围中心的
|
// 获取范围中心的
|
||||||
function getCenterPoint(dm, text, id) {
|
function getCenterPoint(dm, text, id) {
|
||||||
qcckPost(dm, '/bagl/mosty-base/other/getZxd').then(res => {
|
qcckPost(dm, '/mosty-base/other/getZxd').then(res => {
|
||||||
let points = [res.x, res.y]
|
let points = [res.x, res.y]
|
||||||
emitter.emit("addTEXT", { points, text, id });
|
emitter.emit("addTEXT", { points, text, id });
|
||||||
})
|
})
|
||||||
|
|||||||
@ -312,7 +312,7 @@ function getXfqData() {
|
|||||||
|
|
||||||
// 获取范围中心的
|
// 获取范围中心的
|
||||||
function getCenterPoint(dm, text) {
|
function getCenterPoint(dm, text) {
|
||||||
qcckPost(dm, "/bagl/mosty-base/other/getZxd").then((res) => {
|
qcckPost(dm, "/mosty-base/other/getZxd").then((res) => {
|
||||||
let points = [res.x, res.y];
|
let points = [res.x, res.y];
|
||||||
emitter.emit("addTEXT", { points, text });
|
emitter.emit("addTEXT", { points, text });
|
||||||
});
|
});
|
||||||
|
|||||||
@ -154,7 +154,7 @@ const getSfzhByGsid = (sfzh) => {
|
|||||||
|
|
||||||
onMounted(() => { });
|
onMounted(() => { });
|
||||||
const getKaptchaImg = () => {
|
const getKaptchaImg = () => {
|
||||||
const res = `${process.env.VUE_APP_GATEWAY_BASE_URL}/bagl/mosty-base/kaptcha?date=` + new Date();
|
const res = `${process.env.VUE_APP_GATEWAY_BASE_URL}/mosty-base/kaptcha?date=` + new Date();
|
||||||
kaptchaUrl.value = res;
|
kaptchaUrl.value = res;
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -39,7 +39,7 @@ const checkTokenAndRedirect = () => {
|
|||||||
} else {
|
} else {
|
||||||
setItem("FounderUrl", redirectUrl);
|
setItem("FounderUrl", redirectUrl);
|
||||||
// 如果不存在token,跳转到SSO登录地址
|
// 如果不存在token,跳转到SSO登录地址
|
||||||
window.location.href = "http://localhost:8006/bagl/mosty-base/fzSsoLogin";
|
window.location.href = "http://localhost:8006/mosty-base/fzSsoLogin";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -126,7 +126,7 @@ const open = (row = {}, type = 'add') => {
|
|||||||
const save = () => {
|
const save = () => {
|
||||||
FormRef.value.submit(() => {
|
FormRef.value.submit(() => {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
const url = !formData.value?.id ? `/bagl/mosty-base/baxx/cyry/add` : `/bagl/mosty-base/baxx/cyry/edit`;
|
const url = !formData.value?.id ? `/mosty-base/baxx/cyry/add` : `/mosty-base/baxx/cyry/edit`;
|
||||||
let params = { ...formData.value }
|
let params = { ...formData.value }
|
||||||
params.tp = params.tp ? params.tp.join(','):''
|
params.tp = params.tp ? params.tp.join(','):''
|
||||||
params.bazzp =params.bazzp ? params.bazzp.join(','):''
|
params.bazzp =params.bazzp ? params.bazzp.join(','):''
|
||||||
|
|||||||
@ -127,7 +127,7 @@ const handleResignation = async ({ xm = '', id = "" }) => {
|
|||||||
await proxy.$modal.confirm(`是否确认处理${xm}离职吗?`)
|
await proxy.$modal.confirm(`是否确认处理${xm}离职吗?`)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await qcckPost({ id, sflz: 1 }, "/bagl/mosty-base/baxx/cyry/szlzzt")
|
await qcckPost({ id, sflz: 1 }, "/mosty-base/baxx/cyry/szlzzt")
|
||||||
proxy.$modal.msgSuccess("离职成功");
|
proxy.$modal.msgSuccess("离职成功");
|
||||||
await getList();
|
await getList();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@ -113,7 +113,7 @@ const close = () => {
|
|||||||
const getList = async ({ id = "" }, type = '') => {
|
const getList = async ({ id = "" }, type = '') => {
|
||||||
const res = await qcckPost({
|
const res = await qcckPost({
|
||||||
pxxmid: id
|
pxxmid: id
|
||||||
}, `/bagl/mosty-base/baxx/ksry/list`)
|
}, `/mosty-base/baxx/ksry/list`)
|
||||||
if (res) {
|
if (res) {
|
||||||
pageData.tableData = res || [];
|
pageData.tableData = res || [];
|
||||||
if (!type) emits("refresh");
|
if (!type) emits("refresh");
|
||||||
@ -141,7 +141,7 @@ const addEdit = (type, row) => {
|
|||||||
// 申请保安证
|
// 申请保安证
|
||||||
const handleCertificate = async ({ pxryid = ''}) => {
|
const handleCertificate = async ({ pxryid = ''}) => {
|
||||||
try {
|
try {
|
||||||
await qcckPost({ id: pxryid }, `/bagl/mosty-base/baxx/pxry/sqzj`)
|
await qcckPost({ id: pxryid }, `/mosty-base/baxx/pxry/sqzj`)
|
||||||
proxy.$message.success("申请证件成功")
|
proxy.$message.success("申请证件成功")
|
||||||
emits("refresh");
|
emits("refresh");
|
||||||
close();
|
close();
|
||||||
|
|||||||
@ -111,7 +111,7 @@ const getList = async () => {
|
|||||||
const res = await qcckPost({
|
const res = await qcckPost({
|
||||||
...pageData.pageConfiger,
|
...pageData.pageConfiger,
|
||||||
...queryFrom.value
|
...queryFrom.value
|
||||||
}, `/bagl/mosty-base/baxx/ksgl/page`)
|
}, `/mosty-base/baxx/ksgl/page`)
|
||||||
|
|
||||||
if(res) {
|
if(res) {
|
||||||
pageData.tableData = res.records || [];
|
pageData.tableData = res.records || [];
|
||||||
|
|||||||
@ -67,7 +67,7 @@ const open = (row = {}, type = 'add') => {
|
|||||||
const save = () => {
|
const save = () => {
|
||||||
FormRef.value.submit(() => {
|
FormRef.value.submit(() => {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
const url = !formData.value?.id ? `/bagl/mosty-base/baxx/cyry/add` : `/bagl/mosty-base/baxx/cyry/edit`;
|
const url = !formData.value?.id ? `/mosty-base/baxx/cyry/add` : `/mosty-base/baxx/cyry/edit`;
|
||||||
qcckPost(formData.value, url).then(() => {
|
qcckPost(formData.value, url).then(() => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
proxy.$message.success("保存成功");
|
proxy.$message.success("保存成功");
|
||||||
|
|||||||
@ -125,7 +125,7 @@ const handleDelete = async (ids) => {
|
|||||||
await proxy.$modal.confirm("是否确认删除该培训人员?")
|
await proxy.$modal.confirm("是否确认删除该培训人员?")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await qcckPost({ idList: ids }, "/bagl/mosty-base/baxx/pxry/remove")
|
await qcckPost({ idList: ids }, "/mosty-base/baxx/pxry/remove")
|
||||||
proxy.$modal.msgSuccess("删除成功");
|
proxy.$modal.msgSuccess("删除成功");
|
||||||
await getList();
|
await getList();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@ -140,7 +140,7 @@ const getList = async () => {
|
|||||||
const res = await qcckPost({
|
const res = await qcckPost({
|
||||||
...pageData.pageConfiger,
|
...pageData.pageConfiger,
|
||||||
...queryFrom.value
|
...queryFrom.value
|
||||||
}, `/bagl/mosty-base/baxx/pxry/page`)
|
}, `/mosty-base/baxx/pxry/page`)
|
||||||
|
|
||||||
if(res) {
|
if(res) {
|
||||||
pageData.tableData = res.records || [];
|
pageData.tableData = res.records || [];
|
||||||
|
|||||||
@ -217,10 +217,10 @@ const save = () => {
|
|||||||
FormRef.value.validate( async (valid) => {
|
FormRef.value.validate( async (valid) => {
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
// 新增项目、修改项目
|
// 新增项目、修改项目
|
||||||
const url = !formData.value?.id ? `/bagl/mosty-base/baxx/pxxm/add` : `/bagl/mosty-base/baxx/pxxm/edit`
|
const url = !formData.value?.id ? `/mosty-base/baxx/pxxm/add` : `/mosty-base/baxx/pxxm/edit`
|
||||||
const res = await qcckPost({ ...rest }, url)
|
const res = await qcckPost({ ...rest }, url)
|
||||||
// 新增课程、修改课程
|
// 新增课程、修改课程
|
||||||
await qcckPost({ pxkcList: formData.value.pxkcList, pxxmid: res?.id, ryidList }, !formData.value?.id ? `/bagl/mosty-base/baxx/pxkc/saveList` : `/bagl/mosty-base/baxx/pxkc/updateList`)
|
await qcckPost({ pxkcList: formData.value.pxkcList, pxxmid: res?.id, ryidList }, !formData.value?.id ? `/mosty-base/baxx/pxkc/saveList` : `/mosty-base/baxx/pxkc/updateList`)
|
||||||
proxy.$message.success('新增培训项目成功')
|
proxy.$message.success('新增培训项目成功')
|
||||||
emits("refresh");
|
emits("refresh");
|
||||||
close()
|
close()
|
||||||
|
|||||||
@ -116,7 +116,7 @@ const close = () => {
|
|||||||
|
|
||||||
// 根据项目id获取培训课程
|
// 根据项目id获取培训课程
|
||||||
const getPxkcList = async ({ id }) => {
|
const getPxkcList = async ({ id }) => {
|
||||||
const res = await qcckPost({ pxxmid: id }, `/bagl/mosty-base/baxx/pxkc/list`)
|
const res = await qcckPost({ pxxmid: id }, `/mosty-base/baxx/pxkc/list`)
|
||||||
if (res) {
|
if (res) {
|
||||||
pageData.pxkcList = res
|
pageData.pxkcList = res
|
||||||
}
|
}
|
||||||
@ -124,7 +124,7 @@ const getPxkcList = async ({ id }) => {
|
|||||||
|
|
||||||
// 获取保安信息培训课程管理详情
|
// 获取保安信息培训课程管理详情
|
||||||
const getbaInfo = async ({ id = '' }) => {
|
const getbaInfo = async ({ id = '' }) => {
|
||||||
const res = await qcckPost({ id }, `/bagl/mosty-base/baxx/pxkc/getInfo/${id}`)
|
const res = await qcckPost({ id }, `/mosty-base/baxx/pxkc/getInfo/${id}`)
|
||||||
if (res) {
|
if (res) {
|
||||||
courseInfo.value = res
|
courseInfo.value = res
|
||||||
}
|
}
|
||||||
@ -134,7 +134,7 @@ const getbaInfo = async ({ id = '' }) => {
|
|||||||
const getList = async ({ id = "" }) => {
|
const getList = async ({ id = "" }) => {
|
||||||
const res = await qcckPost({
|
const res = await qcckPost({
|
||||||
pxxmid: id
|
pxxmid: id
|
||||||
}, `/bagl/mosty-base/baxx/pxkc/pxryList`)
|
}, `/mosty-base/baxx/pxkc/pxryList`)
|
||||||
if (res) {
|
if (res) {
|
||||||
pageData.tableData = res || [];
|
pageData.tableData = res || [];
|
||||||
}
|
}
|
||||||
@ -156,7 +156,7 @@ const open = (row = {}, type = 'view') => {
|
|||||||
const save = () => {
|
const save = () => {
|
||||||
FormRef.value.submit(() => {
|
FormRef.value.submit(() => {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
const url = !formData.value?.id ? `/bagl/mosty-base/baxx/cyry/add` : `/bagl/mosty-base/baxx/cyry/edit`;
|
const url = !formData.value?.id ? `/mosty-base/baxx/cyry/add` : `/mosty-base/baxx/cyry/edit`;
|
||||||
qcckPost(formData.value, url).then(() => {
|
qcckPost(formData.value, url).then(() => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
proxy.$message.success("保存成功");
|
proxy.$message.success("保存成功");
|
||||||
|
|||||||
@ -96,7 +96,7 @@ const getList = async () => {
|
|||||||
try {
|
try {
|
||||||
const res = await qcckPost({
|
const res = await qcckPost({
|
||||||
...pageData.pageConfiger,
|
...pageData.pageConfiger,
|
||||||
}, `/bagl/mosty-base/baxx/pxry/page`)
|
}, `/mosty-base/baxx/pxry/page`)
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
pageData.tableData = res.records || []
|
pageData.tableData = res.records || []
|
||||||
|
|||||||
@ -124,7 +124,7 @@ const getList = async () => {
|
|||||||
const res = await qcckPost({
|
const res = await qcckPost({
|
||||||
...pageData.pageConfiger,
|
...pageData.pageConfiger,
|
||||||
...queryFrom.value
|
...queryFrom.value
|
||||||
}, `/bagl/mosty-base/baxx/pxxm/page`)
|
}, `/mosty-base/baxx/pxxm/page`)
|
||||||
|
|
||||||
if(res) {
|
if(res) {
|
||||||
pageData.tableData = res.records || [];
|
pageData.tableData = res.records || [];
|
||||||
|
|||||||
@ -39,8 +39,8 @@ module.exports = {
|
|||||||
proxyReq.setHeader("Connection", "Keep-Alive"); //设置长连接
|
proxyReq.setHeader("Connection", "Keep-Alive"); //设置长连接
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'/bagl/mosty-base': {
|
'/mosty-base': {
|
||||||
target: 'http://192.168.1.32:8066', // 后端服务器地址
|
target: serverHost, // 后端服务器地址
|
||||||
changeOrigin: true, // 允许跨域
|
changeOrigin: true, // 允许跨域
|
||||||
secure: false, // 如果是https,需要设置为false
|
secure: false, // 如果是https,需要设置为false
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|||||||
Reference in New Issue
Block a user