|
@@ -28,8 +28,8 @@
|
|
|
</el-col>
|
|
|
<!-- 授权范围 -->
|
|
|
<el-col :span="10">
|
|
|
- <scopeOfauth style="margin-left:10px;" :defaultData="defaultData" appid="sat_sharematerialid"
|
|
|
- @onChecked="onChecked" />
|
|
|
+ <scopeOfauth style="margin-left:10px;" :defaultData="defaultData" :dataid="authId"
|
|
|
+ appidname="sat_sharematerialid" @onChecked="onChecked" />
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -80,6 +80,7 @@ export default {
|
|
|
/* 授权使用 */
|
|
|
defaultData: {},
|
|
|
authData: {},
|
|
|
+ authId: 0,
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
@@ -118,6 +119,7 @@ export default {
|
|
|
this.$refs.set.ruleForm.category = data.sat_sharematerial_classid;
|
|
|
this.uploadCacheData.sat_sharematerialid = data.sat_sharematerialid;
|
|
|
this.uploadCacheData.attinfos = data.attinfos;
|
|
|
+ this.authId = this.$route.query.id;
|
|
|
setTimeout(this.randerData, 100);
|
|
|
if (data.title != '') this.uploadCacheData.status = "完成";
|
|
|
this.query_auth();
|
|
@@ -242,7 +244,7 @@ export default {
|
|
|
}
|
|
|
let result = await this.$api.requested(param)
|
|
|
console.log(result);
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
//重置所有数据
|