完成签约之后直接添加人员,录入下发凭证
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.

229 lines
8.1 KiB

  1. webpackJsonp([42],{
  2. /***/ "7OxT":
  3. /***/ (function(module, exports) {
  4. // removed by extract-text-webpack-plugin
  5. /***/ }),
  6. /***/ "vF69":
  7. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8. "use strict";
  9. Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  10. // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/order.vue
  11. //
  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. /* harmony default export */ var order = ({
  105. name: "basetable",
  106. data: function data() {
  107. return {
  108. query: {
  109. status: "",
  110. name: "",
  111. pageIndex: 1,
  112. pageSize: 10
  113. },
  114. tableData: [],
  115. multipleSelection: [],
  116. delList: [],
  117. editVisible: false,
  118. pageTotal: 0,
  119. form: {},
  120. idx: -1,
  121. id: -1
  122. };
  123. },
  124. created: function created() {},
  125. methods: {
  126. // 触发搜索按钮
  127. handleSearch: function handleSearch() {
  128. this.$set(this.query, "pageIndex", 1);
  129. this.getData();
  130. },
  131. // 删除操作
  132. handleDelete: function handleDelete(index) {
  133. var _this = this;
  134. // 二次确认删除
  135. this.$confirm("确定要删除吗?", "提示", {
  136. type: "warning"
  137. }).then(function () {
  138. _this.$message.success("删除成功");
  139. _this.tableData.splice(index, 1);
  140. }).catch(function () {});
  141. },
  142. // 多选操作
  143. handleSelectionChange: function handleSelectionChange(val) {
  144. this.multipleSelection = val;
  145. },
  146. delAllSelection: function delAllSelection() {
  147. var length = this.multipleSelection.length;
  148. var str = "";
  149. this.delList = this.delList.concat(this.multipleSelection);
  150. for (var i = 0; i < length; i++) {
  151. str += this.multipleSelection[i].name + " ";
  152. }
  153. this.$message.error("\u5220\u9664\u4E86" + str);
  154. this.multipleSelection = [];
  155. },
  156. // 编辑操作
  157. handleEdit: function handleEdit(index, row) {
  158. this.idx = index;
  159. this.form = row;
  160. this.editVisible = true;
  161. },
  162. // 保存编辑
  163. saveEdit: function saveEdit() {
  164. this.editVisible = false;
  165. this.$message.success("\u4FEE\u6539\u7B2C " + (this.idx + 1) + " \u884C\u6210\u529F");
  166. this.$set(this.tableData, this.idx, this.form);
  167. },
  168. // 分页导航
  169. handlePageChange: function handlePageChange(val) {
  170. this.$set(this.query, "pageIndex", val);
  171. this.getData();
  172. }
  173. }
  174. });
  175. // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-a841acd6","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/order.vue
  176. var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"container"},[_c('div',{staticClass:"handle-box"},[_c('el-input',{staticClass:"handle-input mr10",attrs:{"placeholder":"工单类型"},model:{value:(_vm.query.name),callback:function ($$v) {_vm.$set(_vm.query, "name", $$v)},expression:"query.name"}}),_vm._v(" "),_c('el-input',{staticClass:"handle-input mr10",attrs:{"placeholder":"工单号"},model:{value:(_vm.query.number),callback:function ($$v) {_vm.$set(_vm.query, "number", $$v)},expression:"query.number"}}),_vm._v(" "),_c('el-select',{staticClass:"handle-select mr10",attrs:{"placeholder":"工单状态"},model:{value:(_vm.query.status),callback:function ($$v) {_vm.$set(_vm.query, "status", $$v)},expression:"query.status"}},[_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":"已完成"}})],1),_vm._v(" "),_c('el-button',{attrs:{"type":"primary","icon":"el-icon-search"},on:{"click":_vm.handleSearch}},[_vm._v("搜索")])],1),_vm._v(" "),_c('el-table',{ref:"multipleTable",staticClass:"table",attrs:{"data":_vm.tableData,"border":"","header-cell-class-name":"table-header"},on:{"selection-change":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{"type":"selection","width":"55","align":"center"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"id","label":"ID","width":"55","align":"center"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"name","label":"工单类型"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"number","label":"工单号"}}),_vm._v(" "),_c('el-table-column',{attrs:{"label":"工单状态","align":"center"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-tag',{attrs:{"type":scope.row.state === '成功'
  177. ? 'success'
  178. : scope.row.state === '失败'
  179. ? 'danger'
  180. : ''}},[_vm._v(_vm._s(scope.row.state))])]}}])}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"date","label":"更新时间"}}),_vm._v(" "),_c('el-table-column',{attrs:{"label":"操作","width":"180","align":"center"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"type":"text","icon":"el-icon-edit"},on:{"click":function($event){return _vm.handleEdit(scope.$index, scope.row)}}},[_vm._v("编辑")]),_vm._v(" "),_c('el-button',{staticClass:"red",attrs:{"type":"text","icon":"el-icon-delete"},on:{"click":function($event){return _vm.handleDelete(scope.$index, scope.row)}}},[_vm._v("删除")])]}}])})],1),_vm._v(" "),_c('div',{staticClass:"pagination"},[_c('el-pagination',{attrs:{"background":"","layout":"total, prev, pager, next","current-page":_vm.query.pageIndex,"page-size":_vm.query.pageSize,"total":_vm.pageTotal},on:{"current-change":_vm.handlePageChange}})],1)],1),_vm._v(" "),_c('el-dialog',{attrs:{"title":"编辑","width":"30%"},scopedSlots:_vm._u([{key:"footer",fn:function(){return [_c('span',{staticClass:"dialog-footer"},[_c('el-button',{on:{"click":function($event){_vm.editVisible = false}}},[_vm._v("取 消")]),_vm._v(" "),_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.saveEdit}},[_vm._v("确 定")])],1)]},proxy:true}]),model:{value:(_vm.editVisible),callback:function ($$v) {_vm.editVisible=$$v},expression:"editVisible"}},[_c('el-form',{ref:"form",attrs:{"model":_vm.form,"label-width":"70px"}},[_c('el-form-item',{attrs:{"label":"工单类型"}},[_c('el-input',{model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, "name", $$v)},expression:"form.name"}})],1),_vm._v(" "),_c('el-form-item',{attrs:{"label":"工单状态"}},[_c('el-input',{model:{value:(_vm.form.address),callback:function ($$v) {_vm.$set(_vm.form, "address", $$v)},expression:"form.address"}})],1)],1)],1)],1)}
  181. var staticRenderFns = []
  182. var esExports = { render: render, staticRenderFns: staticRenderFns }
  183. /* harmony default export */ var views_order = (esExports);
  184. // CONCATENATED MODULE: ./src/views/order.vue
  185. function injectStyle (ssrContext) {
  186. __webpack_require__("7OxT")
  187. }
  188. var normalizeComponent = __webpack_require__("VU/8")
  189. /* script */
  190. /* template */
  191. /* template functional */
  192. var __vue_template_functional__ = false
  193. /* styles */
  194. var __vue_styles__ = injectStyle
  195. /* scopeId */
  196. var __vue_scopeId__ = "data-v-a841acd6"
  197. /* moduleIdentifier (server only) */
  198. var __vue_module_identifier__ = null
  199. var Component = normalizeComponent(
  200. order,
  201. views_order,
  202. __vue_template_functional__,
  203. __vue_styles__,
  204. __vue_scopeId__,
  205. __vue_module_identifier__
  206. )
  207. /* harmony default export */ var src_views_order = __webpack_exports__["default"] = (Component.exports);
  208. /***/ })
  209. });