完成签约之后直接添加人员,录入下发凭证
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

407 lines
17 KiB

  1. webpackJsonp([61],{
  2. /***/ "eJd/":
  3. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4. "use strict";
  5. Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  6. // EXTERNAL MODULE: ./node_modules/babel-runtime/core-js/json/stringify.js
  7. var stringify = __webpack_require__("mvHQ");
  8. var stringify_default = /*#__PURE__*/__webpack_require__.n(stringify);
  9. // EXTERNAL MODULE: ./src/api/index.js + 5 modules
  10. var api = __webpack_require__("gyMJ");
  11. // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/journal.vue
  12. //
  13. //
  14. //
  15. //
  16. //
  17. //
  18. //
  19. //
  20. //
  21. //
  22. //
  23. //
  24. //
  25. //
  26. //
  27. //
  28. //
  29. //
  30. //
  31. //
  32. //
  33. //
  34. //
  35. //
  36. //
  37. //
  38. //
  39. //
  40. //
  41. //
  42. //
  43. //
  44. //
  45. //
  46. //
  47. //
  48. //
  49. //
  50. //
  51. //
  52. //
  53. //
  54. //
  55. //
  56. //
  57. //
  58. //
  59. //
  60. //
  61. //
  62. //
  63. //
  64. //
  65. //
  66. //
  67. //
  68. //
  69. //
  70. //
  71. //
  72. //
  73. //
  74. //
  75. //
  76. //
  77. //
  78. //
  79. //
  80. //
  81. //
  82. //
  83. //
  84. //
  85. //
  86. //
  87. //
  88. //
  89. //
  90. //
  91. //
  92. //
  93. //
  94. //
  95. //
  96. //
  97. //
  98. //
  99. //
  100. //
  101. //
  102. //
  103. //
  104. //
  105. //
  106. //
  107. //
  108. //
  109. //
  110. //
  111. //
  112. //
  113. //
  114. //
  115. //
  116. //
  117. //
  118. //
  119. //
  120. //
  121. //
  122. //
  123. //
  124. //
  125. //
  126. //
  127. //
  128. //
  129. //
  130. //
  131. //
  132. //
  133. //
  134. //
  135. //
  136. //
  137. //
  138. //
  139. //
  140. //
  141. //
  142. //
  143. //
  144. //
  145. //
  146. //
  147. //
  148. //
  149. //
  150. //
  151. //
  152. //
  153. //
  154. //
  155. //
  156. //
  157. //
  158. //
  159. //
  160. //
  161. //
  162. //
  163. //
  164. //
  165. //
  166. //
  167. //
  168. //
  169. //
  170. //
  171. //
  172. //
  173. //
  174. //
  175. //
  176. //
  177. //
  178. //
  179. //
  180. //
  181. //
  182. //
  183. //
  184. //
  185. //
  186. //
  187. /* harmony default export */ var journal = ({
  188. name: "journal",
  189. data: function data() {
  190. return {
  191. detailDialogVisible: false,
  192. detailDialogVisibleOne: false,
  193. query: {
  194. operType: "",
  195. operateName: "",
  196. operModul: "",
  197. pageSize: 10,
  198. pageNum: 1,
  199. datePicker: ['', '']
  200. },
  201. queryOne: {
  202. operType: "",
  203. operateName: "",
  204. operModul: "",
  205. pageSize: 10,
  206. pageNum: 1
  207. },
  208. activeName: 'first',
  209. tableData: [],
  210. tableDataOne: [],
  211. multipleSelection: [],
  212. delList: [],
  213. editVisible: false,
  214. pageTotal: 0,
  215. pageTotalOne: 0,
  216. form: {},
  217. idx: -1,
  218. id: -1,
  219. detailMode: {},
  220. detailModeOne: {}
  221. };
  222. },
  223. beforeCreate: function beforeCreate() {
  224. // var tenantId = JSON.parse(localStorage.getItem('tenantId'))
  225. // if (tenantId == 400) {
  226. // this.$store.commit('defaultsettenantid')
  227. // }
  228. },
  229. created: function created() {
  230. this.getOperates();
  231. this.getOperatesOne();
  232. },
  233. methods: {
  234. // 显示详情
  235. showDetail: function showDetail(index, row) {
  236. this.detailMode = row;
  237. this.detailDialogVisible = true;
  238. },
  239. // 显示详情
  240. showDetailOne: function showDetailOne(index, row) {
  241. this.detailModeOne = row;
  242. this.detailDialogVisibleOne = true;
  243. },
  244. reset: function reset() {
  245. this.query = {
  246. operType: "",
  247. operateName: "",
  248. operModul: "",
  249. pageSize: 10,
  250. pageNum: 1,
  251. datePicker: ['', '']
  252. };
  253. this.searchPrame();
  254. },
  255. handleClick: function handleClick(tab, event) {
  256. console.log(tab, event);
  257. },
  258. time: function time() {
  259. var time = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : +new Date();
  260. var date = new Date(time + 8 * 3600 * 1000); // 增加8小时
  261. return date.toJSON().substr(0, 19).replace('T', ' ');
  262. },
  263. searchPrame: function searchPrame() {
  264. this.query.pageNum = 1;
  265. this.getOperates();
  266. },
  267. searchPrameOne: function searchPrameOne() {
  268. this.queryOne.pageNum = 1;
  269. this.getOperatesOne();
  270. },
  271. searchParaProcess: function searchParaProcess(obj) {
  272. var myObj = new Object();
  273. for (var key in obj) {
  274. if (obj[key] != "" && obj[key] != 'Invalid date' && obj[key] != null) {
  275. myObj[key] = obj[key];
  276. }
  277. }
  278. return stringify_default()(myObj);
  279. },
  280. // 获取操作日志
  281. getOperates: function getOperates() {
  282. var _this = this;
  283. var q = this.searchParaProcess({
  284. operType: this.query.operType,
  285. operateName: this.query.operateName,
  286. operModul: this.query.operModul,
  287. operUrl: this.query.operUrl,
  288. startTime: this.query.datePicker[0],
  289. endTime: this.query.datePicker[1]
  290. });
  291. var data = {
  292. pageNum: this.query.pageNum,
  293. pageSize: this.query.pageSize,
  294. q: q,
  295. orderType: "desc",
  296. orderBy: "createAt"
  297. };
  298. Object(api["g" /* httpPost */])(data, this.$api.getOperateList).then(function (res) {
  299. res.data.list.map(function (li) {
  300. li.createAt = _this.time(+new Date(li.createAt));
  301. });
  302. _this.tableData = res.data.list;
  303. _this.pageTotal = res.data.total;
  304. });
  305. },
  306. // 获取操作日志
  307. getOperatesOne: function getOperatesOne() {
  308. var _this2 = this;
  309. var q = {
  310. operateName: this.queryOne.operateName
  311. };
  312. var data = {
  313. pageNum: this.queryOne.pageNum,
  314. pageSize: this.queryOne.pageSize,
  315. orderType: "desc",
  316. orderBy: "createAt",
  317. q: stringify_default()(q)
  318. };
  319. Object(api["d" /* httpGet */])(data, this.$api.getExceptionList).then(function (res) {
  320. res.data.list.map(function (li) {
  321. li.createAt = _this2.time(+new Date(li.createAt));
  322. });
  323. _this2.tableDataOne = res.data.list;
  324. _this2.pageTotalOne = res.data.total;
  325. });
  326. },
  327. // 分页导航
  328. handlePageChange: function handlePageChange(val) {
  329. this.query.pageNum = val;
  330. this.getOperates();
  331. },
  332. handleSizeChange: function handleSizeChange(val) {
  333. this.query.pageNum = 1;
  334. this.query.pageSize = val;
  335. this.getOperates();
  336. },
  337. handlePageChangeOne: function handlePageChangeOne(val) {
  338. this.queryOne.pageNum = val;
  339. this.getOperatesOne();
  340. },
  341. handleSizeChangeOne: function handleSizeChangeOne(val) {
  342. this.queryOne.pageNum = 1;
  343. this.queryOne.pageSize = val;
  344. this.getOperatesOne();
  345. }
  346. }
  347. });
  348. // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-6868df17","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/journal.vue
  349. var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"container"},[_c('el-tabs',{on:{"tab-click":_vm.handleClick},model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:"activeName"}},[_c('el-tab-pane',{attrs:{"label":"操作日志","name":"first"}},[_c('div',{staticClass:"handle-box"},[_c('el-input',{staticClass:"handle-input mr10 wRem3",attrs:{"size":"small","clearable":true,"placeholder":"用户名"},model:{value:(_vm.query.operateName),callback:function ($$v) {_vm.$set(_vm.query, "operateName", $$v)},expression:"query.operateName"}}),_vm._v(" "),_c('el-input',{staticClass:"handle-input mr10 wRem3",attrs:{"size":"small","clearable":true,"placeholder":"操作模块"},model:{value:(_vm.query.operModul),callback:function ($$v) {_vm.$set(_vm.query, "operModul", $$v)},expression:"query.operModul"}}),_vm._v(" "),_c('el-input',{staticClass:"handle-input mr10 wRem3",attrs:{"size":"small","clearable":true,"placeholder":"操作路径"},model:{value:(_vm.query.operUrl),callback:function ($$v) {_vm.$set(_vm.query, "operUrl", $$v)},expression:"query.operUrl"}}),_vm._v(" "),_c('el-date-picker',{staticClass:"wRem3",attrs:{"size":"small","type":"datetime","placeholder":"选择开始日期时间","default-time":"12:00:00"},model:{value:(_vm.query.datePicker[0]),callback:function ($$v) {_vm.$set(_vm.query.datePicker, 0, $$v)},expression:"query.datePicker[0]"}}),_vm._v(" "),_c('el-date-picker',{staticClass:"wRem3",attrs:{"size":"small","type":"datetime","placeholder":"选择结束日期时间","default-time":"12:00:00"},model:{value:(_vm.query.datePicker[1]),callback:function ($$v) {_vm.$set(_vm.query.datePicker, 1, $$v)},expression:"query.datePicker[1]"}}),_vm._v(" "),_c('el-select',{staticClass:"handle-select mr10",attrs:{"size":"small","placeholder":"请求类型"},model:{value:(_vm.query.operType),callback:function ($$v) {_vm.$set(_vm.query, "operType", $$v)},expression:"query.operType"}},[_c('el-option',{key:"1",attrs:{"label":"查询","value":"查询"}}),_vm._v(" "),_c('el-option',{key:"2",attrs:{"label":"删除","value":"删除"}}),_vm._v(" "),_c('el-option',{key:"3",attrs:{"label":"添加","value":"添加"}}),_vm._v(" "),_c('el-option',{key:"4",attrs:{"label":"更新","value":"更新"}})],1),_vm._v(" "),_c('el-button',{staticStyle:{"background":"#FA8E00","border":"none"},attrs:{"type":"primary","size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")]),_vm._v(" "),_c('el-button',{staticStyle:{"background":"#FA8E00","border":"none"},attrs:{"type":"primary","size":"small","icon":"el-icon-search"},on:{"click":_vm.searchPrame}},[_vm._v("搜索")])],1),_vm._v(" "),_c('el-table',{ref:"multipleTable",staticClass:"table",attrs:{"data":_vm.tableData,"border":"","header-cell-class-name":"table-header","height":"500"}},[_c('el-table-column',{attrs:{"label":"序号","type":"index","width":"80"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_vm._v("\n "+_vm._s(_vm.pageTotal - ((_vm.query.pageNum-1)*_vm.query.pageSize) - scope.$index)+"\n ")]}}])}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"operateName","label":"用户"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"ip","label":"IP"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"operDesc","label":"操作描述","show-overflow-tooltip":true}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"operMethod","label":"操作方法","show-overflow-tooltip":true}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"operModul","label":"操作模块"}}),_vm._v(" "),_c('el-table-column',{attrs:{"label":"请求参数","show-overflow-tooltip":true},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"tooltip"},[_vm._v(_vm._s(scope.row.operRequ))])]}}])}),_vm._v(" "),_c('el-table-column',{attrs:{"label":"返回参数","show-overflow-tooltip":true},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"tooltip"},[_vm._v(_vm._s(scope.row.operResp))])]}}])}),_vm._v(" "),_c('el-table-col
  350. var staticRenderFns = []
  351. var esExports = { render: render, staticRenderFns: staticRenderFns }
  352. /* harmony default export */ var views_journal = (esExports);
  353. // CONCATENATED MODULE: ./src/views/journal.vue
  354. function injectStyle (ssrContext) {
  355. __webpack_require__("tQuM")
  356. }
  357. var normalizeComponent = __webpack_require__("VU/8")
  358. /* script */
  359. /* template */
  360. /* template functional */
  361. var __vue_template_functional__ = false
  362. /* styles */
  363. var __vue_styles__ = injectStyle
  364. /* scopeId */
  365. var __vue_scopeId__ = "data-v-6868df17"
  366. /* moduleIdentifier (server only) */
  367. var __vue_module_identifier__ = null
  368. var Component = normalizeComponent(
  369. journal,
  370. views_journal,
  371. __vue_template_functional__,
  372. __vue_styles__,
  373. __vue_scopeId__,
  374. __vue_module_identifier__
  375. )
  376. /* harmony default export */ var src_views_journal = __webpack_exports__["default"] = (Component.exports);
  377. /***/ }),
  378. /***/ "tQuM":
  379. /***/ (function(module, exports) {
  380. // removed by extract-text-webpack-plugin
  381. /***/ })
  382. });