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

修改样表系统上传

parent 1c16cb10
......@@ -184,8 +184,8 @@ export default {
data() {
return {
searchVal: "",
siteId: local.getLocal("writeSiteId")
? local.getLocal("writeSiteId")
siteId: local.getLocal("sampleSiteId")
? local.getLocal("sampleSiteId")
: "",
tableData: [],
pageSizes: [10, 20, 30, 40, 50, 100, 200],
......
......@@ -71,8 +71,8 @@ export default {
// 获取部门列表
async getdeptList() {
let res = await getdeptList({
siteId: local.getLocal("writeSiteId")
? local.getLocal("writeSiteId")
siteId: local.getLocal("sampleSiteId")
? local.getLocal("sampleSiteId")
: "",
});
let { code, data } = res.data;
......
......@@ -178,7 +178,7 @@ export default {
// siteName: obj.label,
// siteid: obj.id,
// };
local.setLocal("writeSiteId", obj.id);
local.setLocal("sampleSiteId", obj.id);
this.show = false;
if (location.href.search(/token/gi) >= 0) {
setTimeout(() => {
......
......@@ -286,8 +286,8 @@ export default {
},
data() {
return {
siteId: local.getLocal("writeSiteId")
? local.getLocal("writeSiteId")
siteId: local.getLocal("sampleSiteId")
? local.getLocal("sampleSiteId")
: "",
departmentLeft: "",
departmentRight: "",
......
......@@ -273,8 +273,8 @@ export default {
},
data() {
return {
siteId: local.getLocal("writeSiteId")
? local.getLocal("writeSiteId")
siteId: local.getLocal("sampleSiteId")
? local.getLocal("sampleSiteId")
: "",
departmentLeft: "",
departmentRight: "",
......@@ -442,7 +442,7 @@ export default {
},
// 右边加入
async handleJoin(id) {
let res = await createMatter({ ids: id });
let res = await createMatter({ ids: id,siteId:this.siteId });
let { code, msg } = res.data;
if (code === 1) {
this.$message.success(msg);
......
......@@ -85,8 +85,8 @@ export default {
matterName: "", // 事项简称
deptId: "", // 部门id
matterNo: "", // 事项编号
siteId: local.getLocal("writeSiteId")
? local.getLocal("writeSiteId")
siteId: local.getLocal("sampleSiteId")
? local.getLocal("sampleSiteId")
: "",
source: 0,
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