webpackJsonp([2],{

/***/ 204:
/***/ (function(module, exports, __webpack_require__) {


/* styles */
__webpack_require__(245)

var Component = __webpack_require__(86)(
  /* script */
  __webpack_require__(231),
  /* template */
  __webpack_require__(255),
  /* scopeId */
  "data-v-a73d5d10",
  /* cssModules */
  null
)

module.exports = Component.exports


/***/ }),

/***/ 231:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__apis_channel__ = __webpack_require__(234);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

// import {getChannels, getChannelDetail, saveChannelBaseConf} from '@/apis/channel'


/* harmony default export */ __webpack_exports__["default"] = ({

  data() {
    return {
      listQuery: {
        pageNumber: 0,
        pageSize: 10
      },
      channels: [],
      channel: { baseConfDetail: {}, importCheckInfo: { "point": 1, "checkedItems": [] }, applyPrivilege: [], callbackInfo: {} },
      importCheckPointInit: [{ "name": "一推", "value": 1 }, { "name": "二推", "value": 2 }],
      importCheckItemsStaticArr: [{ "name": "地址", "value": "address" }, { "name": "联系人", "value": "contact" }, {
        "name": "职业",
        "value": "occupation"
      }, { "name": "学历", "value": "education" }, { "name": "收入", "value": "income" }, {
        "name": "邮箱",
        "value": "email"
      }, { "name": "ocr", "value": "ocr" }],
      applyPrivilegeItems: [{ "name": "预审", "value": "PRE_AUDIT" }, { "name": "进件", "value": "APPLY_LOAN" }],
      count: 1,
      page: 1,
      roles: undefined,
      createPage: false,
      contentPage: true,
      isEdit: true,
      baseConfLabelWidth: '25%'
    };
  },
  created() {
    createPage: false;
    //this.roles = store.getters.roles
  },
  mounted() {
    this.getChannels();
  },
  methods: {
    getChannels() {
      for (const prop in this.listQuery) {
        if (this.listQuery[prop] === '') {
          delete this.listQuery[prop];
        }
      }
      this.listQuery.pageNumber = this.page - 1;
      __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__apis_channel__["a" /* getChannels */])(this.listQuery).then(res => {
        if (res.data) {
          this.channels = res.data.content;
          this.count = res.data.totalElements;
          this.$refs.myTable.setCurrentRow(this.channels[0]);
        }
      }).catch(() => {});
    },
    back2contentPage() {
      this.contentPage = true;
      this.createPage = false;
    },
    handleCreate() {
      this.isEdit = true;
      this.contentPage = false;
      this.createPage = true;
      this.channel = { basicInfo: {}, addInfo: {} };
    },
    handleUpdate(data) {
      this.isEdit = true;
      this.contentPage = false;
      this.createPage = true;
      __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__apis_channel__["b" /* getChannelDetail */])(data).then(rep => {
        this.channel.baseConfDetail = rep.data;
      });
      __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__apis_channel__["c" /* getApplyInfo */])(data.channelId).then(rep => {
        this.channel.applyPrivilege = rep.data.applyPrivilege;
      });
    },
    handleQurey(data) {
      this.isEdit = false;
      this.contentPage = false;
      this.createPage = true;
      __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__apis_channel__["b" /* getChannelDetail */])(data).then(rep => {
        this.channel.baseConfDetail = rep.data;
      });
      console.log(data);
      __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__apis_channel__["c" /* getApplyInfo */])(data.channelId).then(rep => {
        this.channel.applyPrivilege = rep.data;
      });
    },
    saveBaseConf() {
      // 保存基本配置信息
      __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__apis_channel__["d" /* saveChannelBaseConf */])(this.channel.baseConfDetail).then(rep => {
        this.$notify({
          title: '成功',
          message: '保存成功',
          type: 'success',
          duration: 1500
        });
      });
    },
    saveApplyConf() {
      // 保存进件项配置
      console.log(this.channel.importCheckInfo);
      console.log(this.channel.applyPrivilege);
    }

    //
    // savevData() {
    //   if (this.roles.includes('channel')) {
    //     this.channel.basicInfo = { channelId: this.channel.basicInfo.channelId }
    //   }
    //   saveChannel(this.channel).then(() => {
    //     this.$notify({
    //       title: '成功',
    //       message: '保存成功',
    //       type: 'success',
    //       duration: 1000
    //     })
    //     this.handleCurrentChange(this.channel.basicInfo)
    //     this.getChannels()
    //   })
    // }
  }
});

/***/ }),

/***/ 234:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (immutable) */ __webpack_exports__["a"] = getChannels;
/* harmony export (immutable) */ __webpack_exports__["c"] = getApplyInfo;
/* harmony export (immutable) */ __webpack_exports__["d"] = saveChannelBaseConf;
/* harmony export (immutable) */ __webpack_exports__["b"] = getChannelDetail;
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_request__ = __webpack_require__(49);


function getChannels(data) {
  return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__utils_request__["a" /* default */])({
    url: '/channel/page',
    method: 'post',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    params: data
  });
}

function getApplyInfo(params) {
  return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__utils_request__["a" /* default */])({
    url: '/channel/getApplyInfo',
    method: 'get',
    params: params
  });
}

function saveChannelBaseConf(data) {
  return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__utils_request__["a" /* default */])({
    url: '/channel/update/baseConf',
    method: 'post',
    data
  });
}

function getChannelDetail(query) {
  return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__utils_request__["a" /* default */])({
    url: '/channel/get/info',
    method: 'get',
    params: query
  });
}

/***/ }),

/***/ 238:
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__(199)();
// imports


// module
exports.push([module.i, "/* css预定义变量 */\n/* 引入预定义变量 */\n.post-css-test[data-v-a73d5d10] {\n  transform: rotateY(360deg);\n  box-shadow: 0 0 3px 5px rgba(222, 222, 222, .3);\n  display: -ms-flexbox;\n  display: flex;\n  color: #ff0000;\n}\n.navigation-page[data-v-a73d5d10] {\n  font-size: 14px;\n}\n.block—bodl[data-v-a73d5d10] {\n  border: 1px solid #f1faf7;\n  border-radius: 2px;\n}\n.base_block[data-v-a73d5d10] {\n  width: 30%;\n}\n\n\n", "", {"version":3,"sources":["/Users/simon/Documents/workspace/wp_202002/ka-manager-ui/src/modules/channels/index.vue"],"names":[],"mappings":"AAAA,cAAc;AACd,aAAa;AACb;EACE,2BAA2B;EAC3B,gDAAgD;EAChD,qBAAqB;EACrB,cAAc;EACd,eAAe;CAChB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,0BAA0B;EAC1B,mBAAmB;CACpB;AACD;EACE,WAAW;CACZ","file":"index.vue","sourcesContent":["/* css预定义变量 */\n/* 引入预定义变量 */\n.post-css-test[data-v-a73d5d10] {\n  transform: rotateY(360deg);\n  box-shadow: 0 0 3px 5px rgba(222, 222, 222, .3);\n  display: -ms-flexbox;\n  display: flex;\n  color: #ff0000;\n}\n.navigation-page[data-v-a73d5d10] {\n  font-size: 14px;\n}\n.block—bodl[data-v-a73d5d10] {\n  border: 1px solid #f1faf7;\n  border-radius: 2px;\n}\n.base_block[data-v-a73d5d10] {\n  width: 30%;\n}\n\n\n"],"sourceRoot":""}]);

// exports


/***/ }),

/***/ 245:
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__(238);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var update = __webpack_require__(200)("467d16f0", content, true);

/***/ }),

/***/ 255:
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('div', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.contentPage),
      expression: "contentPage"
    }],
    staticClass: "content-page"
  }, [_vm._m(0), _vm._v(" "), _c('div', {
    staticClass: "home-page-center single-page-center base"
  }, [_c('div', {
    staticClass: "home-section-wrap page-center-wrap-bottom"
  }, [_c('div', {
    staticClass: "home-section-env"
  }, [_c('div', {
    staticClass: "filter-container",
    staticStyle: {
      "padding-bottom": "20px"
    }
  }, [_c('el-input', {
    staticClass: "filter-item",
    staticStyle: {
      "width": "200px"
    },
    attrs: {
      "placeholder": "渠道名称",
      "clearable": ""
    },
    nativeOn: {
      "keyup": function($event) {
        if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) { return null; }
        return _vm.getChannels($event)
      }
    },
    model: {
      value: (_vm.listQuery.channelName),
      callback: function($$v) {
        _vm.$set(_vm.listQuery, "channelName", $$v)
      },
      expression: "listQuery.channelName"
    }
  }), _vm._v(" "), _c('el-input', {
    staticClass: "filter-item",
    staticStyle: {
      "width": "200px"
    },
    attrs: {
      "placeholder": "渠道号",
      "clearable": ""
    },
    nativeOn: {
      "keyup": function($event) {
        if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) { return null; }
        return _vm.getChannels($event)
      }
    },
    model: {
      value: (_vm.listQuery.channelId),
      callback: function($$v) {
        _vm.$set(_vm.listQuery, "channelId", $$v)
      },
      expression: "listQuery.channelId"
    }
  }), _vm._v(" "), _c('el-input', {
    staticClass: "filter-item",
    staticStyle: {
      "width": "200px"
    },
    attrs: {
      "placeholder": "channel_code",
      "clearable": ""
    },
    nativeOn: {
      "keyup": function($event) {
        if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) { return null; }
        return _vm.getChannels($event)
      }
    },
    model: {
      value: (_vm.listQuery.channelCode),
      callback: function($$v) {
        _vm.$set(_vm.listQuery, "channelCode", $$v)
      },
      expression: "listQuery.channelCode"
    }
  }), _vm._v(" "), _c('el-select', {
    staticClass: "filter-item",
    staticStyle: {
      "width": "200px"
    },
    attrs: {
      "placeholder": "渠道",
      "clearable": ""
    },
    model: {
      value: (_vm.listQuery.channelId),
      callback: function($$v) {
        _vm.$set(_vm.listQuery, "channelId", $$v)
      },
      expression: "listQuery.channelId"
    }
  }, _vm._l((_vm.channels), function(item) {
    return _c('el-option', {
      key: item.channelId,
      attrs: {
        "label": item.channelName,
        "value": item.channelId
      }
    })
  }), 1), _vm._v(" "), _c('el-button', {
    staticClass: "filter-item",
    attrs: {
      "type": "primary",
      "icon": "el-icon-search"
    },
    on: {
      "click": _vm.getChannels
    }
  }, [_vm._v("查询")]), _vm._v(" "), _c('el-button', {
    staticClass: "filter-item",
    staticStyle: {
      "margin-left": "10px"
    },
    attrs: {
      "disabled": !_vm.contentPage,
      "type": "primary",
      "icon": "el-icon-edit"
    },
    on: {
      "click": _vm.handleCreate
    }
  }, [_vm._v("添加\n            ")])], 1), _vm._v(" "), _c('el-table', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.contentPage),
      expression: "contentPage"
    }],
    ref: "myTable",
    attrs: {
      "data": _vm.channels,
      "border": "",
      "max-height": "350",
      "size": "medium",
      "fit": "",
      "highlight-current-row": ""
    }
  }, [_c('el-table-column', {
    attrs: {
      "label": "ID",
      "type": "index",
      "align": "center",
      "width": "65"
    }
  }), _vm._v(" "), _c('el-table-column', {
    attrs: {
      "label": "渠道名称",
      "prop": "channelName",
      "align": "center"
    }
  }), _vm._v(" "), _c('el-table-column', {
    attrs: {
      "sortable": "",
      "label": "渠道号",
      "prop": "channelId",
      "align": "center"
    }
  }), _vm._v(" "), _c('el-table-column', {
    attrs: {
      "sortable": "",
      "label": "channel_code",
      "prop": "channelCode",
      "align": "center"
    }
  }), _vm._v(" "), _c('el-table-column', {
    attrs: {
      "label": "创建时间",
      "prop": "createTime",
      "align": "center"
    }
  }), _vm._v(" "), _c('el-table-column', {
    attrs: {
      "label": "更新时间",
      "prop": "updateTime",
      "align": "center"
    }
  }), _vm._v(" "), _c('el-table-column', {
    attrs: {
      "label": "操作",
      "align": "center",
      "width": "180",
      "class-name": "small-padding fixed-width"
    },
    scopedSlots: _vm._u([{
      key: "default",
      fn: function(scope) {
        return [_c('el-button', {
          attrs: {
            "type": "primary",
            "size": "mini"
          },
          on: {
            "click": function($event) {
              return _vm.handleUpdate(scope.row)
            }
          }
        }, [_vm._v("编辑")]), _vm._v(" "), _c('el-button', {
          attrs: {
            "type": "primary",
            "size": "mini"
          },
          on: {
            "click": function($event) {
              return _vm.handleQurey(scope.row)
            }
          }
        }, [_vm._v("查看")])]
      }
    }])
  })], 1)], 1)])])]), _vm._v(" "), _c('div', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.createPage),
      expression: "createPage"
    }],
    staticClass: "edit_page"
  }, [_c('div', [_c('span', {
    staticClass: "navigation-page"
  }, [_vm._v("位置：")]), _c('a', {
    staticClass: "navigation-page",
    on: {
      "click": function($event) {
        return _vm.back2contentPage()
      }
    }
  }, [_vm._v("KA渠道信息配置")]), _c('span', [_vm._v(">>")]), _c('span', {
    staticClass: "navigation-page"
  }, [_vm._v("编辑/查看")])]), _vm._v(" "), _c('div', {
    staticClass: "block—bodl"
  }, [_c('el-card', {
    staticClass: "box-card"
  }, [_c('div', {
    attrs: {
      "slot": "header"
    },
    slot: "header"
  }, [_c('span', [_vm._v("基础配置")])]), _vm._v(" "), _c('el-form', {
    attrs: {
      "inline": true,
      "size": "medium"
    }
  }, [_c('el-form-item', {
    staticClass: "base_block",
    attrs: {
      "label": "渠道名称",
      "label-width": "40%"
    }
  }, [_c('el-input', {
    staticClass: "el_input_box",
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.channelName),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "channelName", $$v)
      },
      expression: "channel.baseConfDetail.channelName"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    staticClass: "base_block",
    attrs: {
      "label": "渠道号",
      "label-width": "40%"
    }
  }, [_c('el-input', {
    staticClass: "el_input_box",
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.channelId),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "channelId", $$v)
      },
      expression: "channel.baseConfDetail.channelId"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    staticClass: "base_block",
    attrs: {
      "label": "channel_code",
      "label-width": "40%"
    }
  }, [_c('el-input', {
    staticClass: "el_input_box",
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.channelCode),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "channelCode", $$v)
      },
      expression: "channel.baseConfDetail.channelCode"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    staticClass: "base_block",
    attrs: {
      "label": "产品id",
      "label-width": "40%"
    }
  }, [_c('el-input', {
    staticClass: "el_input_box",
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.productId),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "productId", $$v)
      },
      expression: "channel.baseConfDetail.productId"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    staticClass: "base_block",
    attrs: {
      "label": "aesKey",
      "label-width": "40%"
    }
  }, [_c('el-input', {
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.aesKey),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "aesKey", $$v)
      },
      expression: "channel.baseConfDetail.aesKey"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    staticClass: "base_block",
    attrs: {
      "label": "md5Key",
      "label-width": "40%"
    }
  }, [_c('el-input', {
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.md5Key),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "md5Key", $$v)
      },
      expression: "channel.baseConfDetail.md5Key"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    staticClass: "base_block",
    attrs: {
      "label": "是否标准API渠道",
      "label-width": "40%"
    }
  }, [_c('el-input', {
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.isStandardChannel),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "isStandardChannel", $$v)
      },
      expression: "channel.baseConfDetail.isStandardChannel"
    }
  })], 1)], 1), _vm._v(" "), _c('el-button', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.isEdit),
      expression: "isEdit"
    }],
    staticClass: "filter-item",
    staticStyle: {
      "margin-left": "80%"
    },
    attrs: {
      "type": "primary",
      "icon": "el-icon-search"
    },
    on: {
      "click": _vm.saveBaseConf
    }
  }, [_vm._v("基础配置保存\n        ")])], 1)], 1), _vm._v(" "), _c('div', {
    staticClass: "block—bodl"
  }, [_c('el-card', {
    staticClass: "box-card"
  }, [_c('div', {
    attrs: {
      "slot": "header"
    },
    slot: "header"
  }, [_c('span', [_vm._v("进件校验项配置")])]), _vm._v(" "), _c('el-form', {
    attrs: {
      "inline": true,
      "size": "medium"
    }
  }, [_c('el-form-item', {
    staticStyle: {
      "width": "25%"
    },
    attrs: {
      "label": "校验节点",
      "label-width": "30%"
    }
  }, [_c('el-select', {
    staticClass: "filter-item",
    staticStyle: {
      "width": "100px"
    },
    attrs: {
      "placeholder": "请选择",
      "clearable": "",
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.importCheckInfo.point),
      callback: function($$v) {
        _vm.$set(_vm.channel.importCheckInfo, "point", $$v)
      },
      expression: "channel.importCheckInfo.point"
    }
  }, _vm._l((_vm.importCheckPointInit), function(item) {
    return _c('el-option', {
      key: item.value,
      attrs: {
        "label": item.name,
        "value": item.value
      }
    })
  }), 1)], 1), _vm._v(" "), _c('el-form-item', {
    staticStyle: {
      "width": "70%"
    },
    attrs: {
      "label": "进件校验项：",
      "label-width": "15%"
    }
  }, [_c('el-checkbox-group', {
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.importCheckInfo.checkedItems),
      callback: function($$v) {
        _vm.$set(_vm.channel.importCheckInfo, "checkedItems", $$v)
      },
      expression: "channel.importCheckInfo.checkedItems"
    }
  }, _vm._l((_vm.importCheckItemsStaticArr), function(item) {
    return _c('el-checkbox', {
      key: item.value,
      attrs: {
        "label": item.value,
        "disabled": !_vm.isEdit
      }
    }, [_vm._v("\n                " + _vm._s(item.name) + "\n              ")])
  }), 1)], 1)], 1), _vm._v(" "), _c('el-button', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.isEdit),
      expression: "isEdit"
    }],
    staticClass: "filter-item",
    staticStyle: {
      "margin-left": "80%"
    },
    attrs: {
      "type": "primary",
      "icon": "el-icon-search"
    },
    on: {
      "click": _vm.saveApplyConf
    }
  }, [_vm._v("进件校验项保存\n        ")])], 1)], 1), _vm._v(" "), _c('div', {
    staticClass: "block—bodl"
  }, [_c('el-card', {
    staticClass: "box-card"
  }, [_c('div', {
    attrs: {
      "slot": "header"
    },
    slot: "header"
  }, [_c('span', [_vm._v("进件接口权限")])]), _vm._v(" "), _c('el-form', {
    attrs: {
      "inline": true,
      "size": "medium"
    }
  }, [_c('el-form-item', {
    staticStyle: {
      "width": "30%"
    },
    attrs: {
      "label": "进件接口权限：",
      "label-width": "40%"
    }
  }, [_c('el-checkbox-group', {
    model: {
      value: (_vm.channel.applyPrivilege),
      callback: function($$v) {
        _vm.$set(_vm.channel, "applyPrivilege", $$v)
      },
      expression: "channel.applyPrivilege"
    }
  }, _vm._l((_vm.applyPrivilegeItems), function(item) {
    return _c('el-checkbox', {
      key: item.value,
      attrs: {
        "label": item.value,
        "disabled": !_vm.isEdit
      }
    }, [_vm._v(_vm._s(item.name) + "\n              ")])
  }), 1)], 1), _vm._v(" "), _c('el-form-item', [_c('span', {
    staticStyle: {
      "font-size": "8px",
      "color": "#9598a7"
    }
  }, [_vm._v("说明：进件接口权限勾选中，对应渠道具有请求该接口的权限")])])], 1), _vm._v(" "), _c('el-button', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.isEdit),
      expression: "isEdit"
    }],
    staticClass: "filter-item",
    staticStyle: {
      "margin-left": "80%"
    },
    attrs: {
      "type": "primary",
      "icon": "el-icon-search"
    },
    on: {
      "click": _vm.saveApplyConf
    }
  }, [_vm._v("进件接口权限保存\n        ")])], 1)], 1), _vm._v(" "), _c('div', {
    staticClass: "block—bodl"
  }, [_c('el-card', {
    staticClass: "box-card"
  }, [_c('div', {
    attrs: {
      "slot": "header"
    },
    slot: "header"
  }, [_c('span', [_vm._v("回调配置")])]), _vm._v(" "), _c('el-form', {
    staticStyle: {
      "width": "92%"
    },
    attrs: {
      "size": "medium"
    }
  }, [_c('el-form-item', {
    attrs: {
      "label": "通知节点",
      "label-width": "15%"
    }
  }, [_c('el-input', {
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.channelPubRsa),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "channelPubRsa", $$v)
      },
      expression: "channel.baseConfDetail.channelPubRsa"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    attrs: {
      "label": "通知顺序",
      "label-width": "15%"
    }
  }, [_c('el-input', {
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.lhpPriRsa),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "lhpPriRsa", $$v)
      },
      expression: "channel.baseConfDetail.lhpPriRsa"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    attrs: {
      "label": "审批回调地址",
      "label-width": "15%"
    }
  }, [_c('el-input', {
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.channelPubRsa),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "channelPubRsa", $$v)
      },
      expression: "channel.baseConfDetail.channelPubRsa"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    attrs: {
      "label": "订单状态回调地址",
      "label-width": "15%"
    }
  }, [_c('el-input', {
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.lhpPriRsa),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "lhpPriRsa", $$v)
      },
      expression: "channel.baseConfDetail.lhpPriRsa"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    attrs: {
      "label": "还款计划回调地址",
      "label-width": "15%"
    }
  }, [_c('el-input', {
    attrs: {
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.lhpPubRsa),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "lhpPubRsa", $$v)
      },
      expression: "channel.baseConfDetail.lhpPubRsa"
    }
  })], 1)], 1), _vm._v(" "), _c('el-button', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.isEdit),
      expression: "isEdit"
    }],
    staticClass: "filter-item",
    staticStyle: {
      "margin-left": "80%"
    },
    attrs: {
      "type": "primary",
      "icon": "el-icon-search"
    },
    on: {
      "click": _vm.getChannels
    }
  }, [_vm._v("回调配置保存\n        ")])], 1)], 1), _vm._v(" "), _c('div', {
    staticClass: "block—bodl"
  }, [_c('el-card', {
    staticClass: "box-card"
  }, [_c('div', {
    attrs: {
      "slot": "header"
    },
    slot: "header"
  }, [_c('span', [_vm._v("Rsa配置")])]), _vm._v(" "), _c('el-form', {
    staticStyle: {
      "width": "92%"
    },
    attrs: {
      "size": "medium"
    }
  }, [_c('el-form-item', {
    attrs: {
      "label": "渠道Rsa公钥",
      "label-width": "12%"
    }
  }, [_c('el-input', {
    attrs: {
      "type": "textarea",
      "rows": 4,
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.channelPubRsa),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "channelPubRsa", $$v)
      },
      expression: "channel.baseConfDetail.channelPubRsa"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    attrs: {
      "label": "量化派Rsa私钥",
      "label-width": "12%"
    }
  }, [_c('el-input', {
    attrs: {
      "type": "textarea",
      "rows": 5,
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.lhpPriRsa),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "lhpPriRsa", $$v)
      },
      expression: "channel.baseConfDetail.lhpPriRsa"
    }
  })], 1), _vm._v(" "), _c('el-form-item', {
    attrs: {
      "label": "量化派Rsa共钥",
      "label-width": "12%"
    }
  }, [_c('el-input', {
    attrs: {
      "type": "textarea",
      "rows": 4,
      "disabled": !_vm.isEdit
    },
    model: {
      value: (_vm.channel.baseConfDetail.lhpPubRsa),
      callback: function($$v) {
        _vm.$set(_vm.channel.baseConfDetail, "lhpPubRsa", $$v)
      },
      expression: "channel.baseConfDetail.lhpPubRsa"
    }
  })], 1)], 1), _vm._v(" "), _c('el-button', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.isEdit),
      expression: "isEdit"
    }],
    staticClass: "filter-item",
    staticStyle: {
      "margin-left": "80%"
    },
    attrs: {
      "type": "primary",
      "icon": "el-icon-search"
    },
    on: {
      "click": _vm.getChannels
    }
  }, [_vm._v("Rsa配置保存\n                  ")])], 1)], 1), _vm._v(" "), _c('div', {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: (_vm.isEdit),
      expression: "isEdit"
    }],
    staticClass: "block—bodl"
  }, [_c('el-card', {
    staticClass: "box-card"
  }, [_c('div', {
    attrs: {
      "slot": "header"
    },
    slot: "header"
  }, [_c('span', [_vm._v("刷新缓存")])]), _vm._v(" "), _c('el-button', {
    staticClass: "filter-item",
    staticStyle: {
      "margin-left": "80%"
    },
    attrs: {
      "type": "primary",
      "icon": "el-icon-search"
    },
    on: {
      "click": _vm.getChannels
    }
  }, [_vm._v("刷新内存缓存\n        ")])], 1)], 1)])])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('span', {
    staticClass: "navigation-page"
  }, [_vm._v("位置：")]), _c('span', {
    staticClass: "navigation-page"
  }, [_vm._v("KA渠道信息配置")])])
}]}

/***/ })

});
//# sourceMappingURL=2.1af9f2f.js.map
