This commit is contained in:
duanxiaohai 2024-10-24 11:58:56 +08:00
parent fa07b4fad1
commit 0d5dc84248
2 changed files with 13 additions and 4 deletions

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -708,9 +708,18 @@ const listAssignment = () => {
data.tableData = [];
data.tableData1 = [];
data.tableData2 = [];
pagination.url = "/api/ggfwyth/pg/fwdxqd";
pagination1.url = "/api/ggfwyth/pg/fwnrqd";
pagination2.url = "/api/ggfwyth/pg/fwjgqd";
pagination.url = "";
pagination1.url = "";
pagination2.url = "";
if (data.name == "食品安全监管" || data.name == "药品安全监管") {
pagination.url = "/api/ggfwyth/pg/spypqy";
pagination1.url = "/api/ggfwyth/pg/fwnrqd";
pagination2.url = "/api/ggfwyth/pg/spypqy";
} else {
pagination.url = "/api/ggfwyth/pg/fwdxqd";
pagination1.url = "/api/ggfwyth/pg/fwnrqd";
pagination2.url = "/api/ggfwyth/pg/fwjgqd";
}
getTable(pagination);
getTable(pagination1);
getTable(pagination2);
@ -753,7 +762,7 @@ const rowState = (row) => {
onMounted(() => {
if (routers.query.name) {
data.name = routers.query.name;
if (data.name == "食品安全监管") {
if (data.name == "食品安全监管" || data.name == "药品安全监管") {
data.columns = [];
data.column_2 = [];
data.columns = [