diff --git a/src/setting.js b/src/setting.js index 8e05d17..d7837ac 100644 --- a/src/setting.js +++ b/src/setting.js @@ -10,7 +10,7 @@ let host = `${location.origin}/` if (isDev) { jumpPath = 'http://192.168.31.125:8087/' // 本地调试-需要启动本地判分点系统 host = 'http://121.37.12.51/' - host = 'http://192.168.31.151:9000/'// 榕 + // host = 'http://192.168.31.151:9000/'// 榕 // host = 'http://192.168.31.137:9000/'// 赓 } else if (isPro) { jumpPath = 'https://www.huorantech.cn/judgmentPoint/' diff --git a/src/views/course/AddCurriculum.vue b/src/views/course/AddCurriculum.vue index 4c2b3a3..b3a8197 100644 --- a/src/views/course/AddCurriculum.vue +++ b/src/views/course/AddCurriculum.vue @@ -187,7 +187,7 @@ @@ -237,7 +237,7 @@ @@ -268,46 +268,50 @@ - -
-
-

- 应用列表 -
-
- -
+ +
+
+
+

+ 系统列表 +
+ + +
    +
  • + +
    + {{ item.systemName }} + +
    +
  • +
- - - - - - - - - - - - - - - + + + 取 消 + 确 定 +
@@ -396,8 +400,7 @@ export default { 0: "运行中", 1: "默认" }, - permissionData: [], - total: 0, + systems: [], pageNo: 1, pageSize: 10, multipleSelection: [], @@ -415,7 +418,9 @@ export default { multipleAssessment: [], submiting: false, // 新增编辑防抖标识 loadIns: null, - updateTime: 0 + updateTime: 0, + systems: [], + systemChecked: [] }; }, watch: { @@ -442,6 +447,7 @@ export default { if (this.form.cid) { this.getInfoData(); } + // this.getSystems() }, methods: { goback() { @@ -583,8 +589,7 @@ export default { pageSize: this.pageSize }; this.$post(this.api.queryServiceConfig, data).then(res => { - this.permissionData = res.serviceList.records; - this.total = res.serviceList.total; + this.systems = res.serviceList.records; }).catch(err => { }); }, @@ -854,48 +859,6 @@ $avatar-width: 104px; } } } - -.border_lf { - border-left: 1px dashed #eee; - padding: 0 60px; -} - -.border_lf label { - width: 120px; -} - -.pad_none { - padding: 0 0 0 60px; -} - -.mar_input { - margin-right: 80px; -} - -.marb30 { - margin-bottom: 30px; -} - -.tab_temp label { - width: 60px; -} - -.mar10 { - margin-top: 10px; -} - -.radio_icon { - font-size: 26px; - color: #9278FF; -} - -.card-curriculum { - background: #fff; - display: flex; - flex-direction: column; - align-items: center; - padding: 10px 120px; -} .settlement { display: flex; align-items: center; @@ -911,4 +874,36 @@ $avatar-width: 104px; margin-right: 30px; } } +/deep/.config-dia { + .config-wrap { + display: flex; + } + .title-wrap { + margin-bottom: 15px; + } + .system { + width: 280px; + padding-right: 20px; + // border-right: 1px solid #ccc; + } + .systems { + margin-top: 10px; + li { + display: flex; + align-items: center; + margin: 10px 0; + } + .name { + display: inline-flex; + flex: 1; + justify-content: space-between; + align-items: center; + margin-left: 5px; + cursor: pointer; + &:hover { + color: #9076FF; + } + } + } +} \ No newline at end of file