|
|
@@ -192,20 +192,20 @@
|
|
|
<el-form-item label="应用id" prop="serverAgentId" >
|
|
|
<el-input v-model="form.serverAgentId" placeholder="请输入serverAgentId" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="小程序id" prop="miniAppId" >
|
|
|
- <el-select
|
|
|
- v-model="form.miniAppId"
|
|
|
- placeholder="请选择"
|
|
|
- size="small"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in miniAppList"
|
|
|
- :key="item.appId"
|
|
|
- :label="item.appName"
|
|
|
- :value="item.appId"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
+<!-- <el-form-item label="小程序id" prop="miniAppId" >-->
|
|
|
+<!-- <el-select-->
|
|
|
+<!-- v-model="form.miniAppId"-->
|
|
|
+<!-- placeholder="请选择"-->
|
|
|
+<!-- size="small"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="item in miniAppList"-->
|
|
|
+<!-- :key="item.appId"-->
|
|
|
+<!-- :label="item.appName"-->
|
|
|
+<!-- :value="item.appId"-->
|
|
|
+<!-- />-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
<el-form-item label="企业可信IP" >
|
|
|
<div>42.194.245.189;119.29.195.254;129.204.130.233;43.138.187.210;129.204.76.229;159.75.239.132119.29.249.66;122.152.230.82</div>
|
|
|
</el-form-item>
|
|
|
@@ -277,8 +277,8 @@
|
|
|
|
|
|
<script>
|
|
|
import { listQwCompany, getQwCompany, delQwCompany, addQwCompany, updateQwCompany, exportQwCompany ,setTenant} from "@/api/qw/qwCompany";
|
|
|
-import { getCompanyList } from "@/api/company/company";
|
|
|
-import { listAll } from '@/api/course/coursePlaySourceConfig'
|
|
|
+// import { getCompanyList } from "@/api/company/company";
|
|
|
+// import { listAll } from '@/api/course/coursePlaySourceConfig'
|
|
|
import { tenantList } from "@/api/tenant/tenant";
|
|
|
export default {
|
|
|
name: "QwCompany",
|
|
|
@@ -370,10 +370,10 @@ export default {
|
|
|
this.getDicts("sys_company_status").then(response => {
|
|
|
this.statusOptions = response.data;
|
|
|
});
|
|
|
- getCompanyList().then(response => {
|
|
|
- this.companys = response.data;
|
|
|
-
|
|
|
- });
|
|
|
+ // getCompanyList().then(response => {
|
|
|
+ // this.companys = response.data;
|
|
|
+ //
|
|
|
+ // });
|
|
|
tenantList({status:1}).then(response => {
|
|
|
this.tenantInfos = response.rows;
|
|
|
});
|
|
|
@@ -446,27 +446,27 @@ export default {
|
|
|
this.resetForm("queryForm");
|
|
|
this.handleQuery();
|
|
|
},
|
|
|
- getAppList() {
|
|
|
- this.maAppList = []
|
|
|
- this.miniAppList = []
|
|
|
- this.customAppList = []
|
|
|
- listAll().then(response => {
|
|
|
- const { code, data } = response
|
|
|
- if (code === 200) {
|
|
|
- if (data) {
|
|
|
- this.maAppList = data.filter(v => v.type == 2).map(v => {
|
|
|
- return { appId: v.appid, appName: v.name }
|
|
|
- })
|
|
|
- this.miniAppList = data.filter(v => v.type == 1).map(v => {
|
|
|
- return { appId: v.appid, appName: v.name }
|
|
|
- })
|
|
|
- this.customAppList = data.filter(v => v.type == 3).map(v => {
|
|
|
- return { appId: v.appid, appName: v.name }
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
+ // getAppList() {
|
|
|
+ // this.maAppList = []
|
|
|
+ // this.miniAppList = []
|
|
|
+ // this.customAppList = []
|
|
|
+ // listAll().then(response => {
|
|
|
+ // const { code, data } = response
|
|
|
+ // if (code === 200) {
|
|
|
+ // if (data) {
|
|
|
+ // this.maAppList = data.filter(v => v.type == 2).map(v => {
|
|
|
+ // return { appId: v.appid, appName: v.name }
|
|
|
+ // })
|
|
|
+ // this.miniAppList = data.filter(v => v.type == 1).map(v => {
|
|
|
+ // return { appId: v.appid, appName: v.name }
|
|
|
+ // })
|
|
|
+ // this.customAppList = data.filter(v => v.type == 3).map(v => {
|
|
|
+ // return { appId: v.appid, appName: v.name }
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // },
|
|
|
// 多选框选中数据
|
|
|
handleSelectionChange(selection) {
|
|
|
this.ids = selection.map(item => item.id)
|
|
|
@@ -476,7 +476,7 @@ export default {
|
|
|
/** 新增按钮操作 */
|
|
|
handleAdd() {
|
|
|
this.reset();
|
|
|
- this.getAppList()
|
|
|
+ // this.getAppList()
|
|
|
this.open = true;
|
|
|
this.form.token="1o62d3YxvdHd4LEUiltnu7sK";
|
|
|
this.form.encodingAesKey="UJfTQ5qKTKlegjkXtp1YuzJzxeHlUKvq5GyFbERN1iU";
|
|
|
@@ -485,7 +485,7 @@ export default {
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
|
this.reset();
|
|
|
- this.getAppList()
|
|
|
+ // this.getAppList()
|
|
|
const id = row.id || this.ids
|
|
|
getQwCompany(id).then(response => {
|
|
|
this.form = response.data;
|