This commit is contained in:
parent
fa07b4fad1
commit
0d5dc84248
|
@ -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 = [
|
||||
|
|
Loading…
Reference in New Issue