Commit a2a86dc4 authored by 赵啸非's avatar 赵啸非

修改样表系统上传

parent 1c16cb10
...@@ -184,8 +184,8 @@ export default { ...@@ -184,8 +184,8 @@ export default {
data() { data() {
return { return {
searchVal: "", searchVal: "",
siteId: local.getLocal("writeSiteId") siteId: local.getLocal("sampleSiteId")
? local.getLocal("writeSiteId") ? local.getLocal("sampleSiteId")
: "", : "",
tableData: [], tableData: [],
pageSizes: [10, 20, 30, 40, 50, 100, 200], pageSizes: [10, 20, 30, 40, 50, 100, 200],
......
...@@ -71,8 +71,8 @@ export default { ...@@ -71,8 +71,8 @@ export default {
// 获取部门列表 // 获取部门列表
async getdeptList() { async getdeptList() {
let res = await getdeptList({ let res = await getdeptList({
siteId: local.getLocal("writeSiteId") siteId: local.getLocal("sampleSiteId")
? local.getLocal("writeSiteId") ? local.getLocal("sampleSiteId")
: "", : "",
}); });
let { code, data } = res.data; let { code, data } = res.data;
......
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
// siteName: obj.label, // siteName: obj.label,
// siteid: obj.id, // siteid: obj.id,
// }; // };
local.setLocal("writeSiteId", obj.id); local.setLocal("sampleSiteId", obj.id);
this.show = false; this.show = false;
if (location.href.search(/token/gi) >= 0) { if (location.href.search(/token/gi) >= 0) {
setTimeout(() => { setTimeout(() => {
......
...@@ -286,8 +286,8 @@ export default { ...@@ -286,8 +286,8 @@ export default {
}, },
data() { data() {
return { return {
siteId: local.getLocal("writeSiteId") siteId: local.getLocal("sampleSiteId")
? local.getLocal("writeSiteId") ? local.getLocal("sampleSiteId")
: "", : "",
departmentLeft: "", departmentLeft: "",
departmentRight: "", departmentRight: "",
......
...@@ -273,8 +273,8 @@ export default { ...@@ -273,8 +273,8 @@ export default {
}, },
data() { data() {
return { return {
siteId: local.getLocal("writeSiteId") siteId: local.getLocal("sampleSiteId")
? local.getLocal("writeSiteId") ? local.getLocal("sampleSiteId")
: "", : "",
departmentLeft: "", departmentLeft: "",
departmentRight: "", departmentRight: "",
...@@ -442,7 +442,7 @@ export default { ...@@ -442,7 +442,7 @@ export default {
}, },
// 右边加入 // 右边加入
async handleJoin(id) { async handleJoin(id) {
let res = await createMatter({ ids: id }); let res = await createMatter({ ids: id,siteId:this.siteId });
let { code, msg } = res.data; let { code, msg } = res.data;
if (code === 1) { if (code === 1) {
this.$message.success(msg); this.$message.success(msg);
......
...@@ -85,8 +85,8 @@ export default { ...@@ -85,8 +85,8 @@ export default {
matterName: "", // 事项简称 matterName: "", // 事项简称
deptId: "", // 部门id deptId: "", // 部门id
matterNo: "", // 事项编号 matterNo: "", // 事项编号
siteId: local.getLocal("writeSiteId") siteId: local.getLocal("sampleSiteId")
? local.getLocal("writeSiteId") ? local.getLocal("sampleSiteId")
: "", : "",
source: 0, source: 0,
deptName: "", deptName: "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment