apply-clients 3.4.2 → 3.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/android.html +23 -23
  2. package/build/dev-server.js +119 -119
  3. package/build/webpack.base.conf.js +2 -1
  4. package/build/webpack.dev.conf.js +12 -0
  5. package/dingding.html +23 -0
  6. package/index.html +33 -33
  7. package/package.json +2 -1
  8. package/src/AndroidApp.vue +35 -35
  9. package/src/DingDingApp.vue +51 -0
  10. package/src/android.js +21 -21
  11. package/src/apply.js +7 -1
  12. package/src/applyAndroid.js +32 -32
  13. package/src/applyDingDing.js +12 -0
  14. package/src/components/android/AppOnetomany.vue +301 -301
  15. package/src/components/android/AppServiceView.vue +566 -566
  16. package/src/components/android/AppSign.vue +142 -142
  17. package/src/components/android/AppTakePic.vue +143 -143
  18. package/src/components/android/Process/AppExplorationUser.vue +320 -320
  19. package/src/components/android/Process/AppServiceControl.vue +757 -757
  20. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
  21. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  22. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
  23. package/src/components/android/TaskGraph.vue +125 -125
  24. package/src/components/product/Business/BusinessApply.vue +269 -0
  25. package/src/components/product/Business/CivilApply.vue +269 -0
  26. package/src/components/product/Function/InstallFunction.vue +131 -125
  27. package/src/components/product/Function/InstallInfoSelect.vue +300 -292
  28. package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
  29. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
  30. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
  31. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
  32. package/src/components/product/Material/MaterialDetailed.vue +262 -0
  33. package/src/components/product/Onetomany.vue +377 -377
  34. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
  35. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
  36. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  37. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  38. package/src/components/product/Process/ExplorationSelect.vue +7 -0
  39. package/src/components/product/Process/ExplorationUser.vue +138 -138
  40. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  41. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  42. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  43. package/src/components/product/Process/Processes/chargeManagement.vue +638 -639
  44. package/src/components/product/Process/Service/ServiceControl.vue +10 -10
  45. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  46. package/src/components/product/ServiceView.vue +631 -631
  47. package/src/components/product/Stop/StopApply.vue +105 -103
  48. package/src/components/product/Stop/StopApplyList.vue +269 -269
  49. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -186
  50. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  51. package/src/components/product/Supervisory/SupervisoryList.vue +233 -233
  52. package/src/components/product/Supervisory/SupervisoryhCart.vue +107 -107
  53. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  54. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  55. package/src/dingding.js +19 -0
  56. package/src/expandcssAndroid.less +1034 -1034
  57. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
  58. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  59. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  60. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
  61. package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
  62. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
  63. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
  64. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
  65. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
  66. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
  67. package/src/filiale/yuchuan/android.js +14 -14
  68. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  69. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  70. package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
  71. package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
  72. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
  73. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
  74. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  75. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  76. package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
  77. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
  78. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
  79. package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
  80. package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
  81. package/src/filiale/yuchuan/pc.js +20 -12
  82. package/src/main.js +1 -1
  83. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  84. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  85. package/src/components/product/Function/functions/StopInstall.vue +0 -106
@@ -0,0 +1,24 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <sign-record-list v-ref:query></sign-record-list>
5
+ </div>
6
+ </div>
7
+ </template>
8
+
9
+ <script>
10
+ export default {
11
+ title: '签字记录',
12
+ data () {
13
+ return {
14
+ }
15
+ },
16
+ ready () {
17
+ },
18
+ methods: {
19
+ }
20
+ }
21
+ </script>
22
+
23
+ <style scoped>
24
+ </style>
@@ -0,0 +1,174 @@
1
+ <template>
2
+ <criteria-paged :model="model" v-ref:cp>
3
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
4
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
5
+ <div class="row">
6
+ <div class="form-group col-sm-3">
7
+ <label class="font_normal_body">报建编号:</label>
8
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
9
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_apply_num like '%{}%'" placeholder='报建编号'>
10
+ </div>
11
+ <div class="form-group col-sm-3">
12
+ <label class="font_normal_body">客户名称:</label>
13
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
14
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_user_name like '%{}%'" placeholder='客户名称'>
15
+ </div>
16
+ <div class="form-group col-sm-3">
17
+ <label class="font_normal_body">电&emsp;&emsp;话:</label>
18
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_phone"
19
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_phone like '%{}%'" placeholder='电话'>
20
+ </div>
21
+ <div class="form-group col-sm-3 button-range">
22
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
23
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
24
+ <div
25
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
26
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
27
+ class="button_spacing"
28
+ style="float: right">
29
+ </div>
30
+ </div>
31
+ </div>
32
+ <div class="row" v-show="$parent.$parent.criteriaShow">
33
+ <div class="form-group col-sm-3">
34
+ <label class="font_normal_body">报建类型:</label>
35
+ <v-select
36
+ v-model="model.f_apply_type"
37
+ placeholder='报建类型'
38
+ condition="u.f_apply_type = '{}'"
39
+ :value.sync="model.f_apply_type"
40
+ :options='$parent.$parent.applyTypeList'
41
+ class="select select_list"
42
+ :value-single="true"
43
+ close-on-select ></v-select>
44
+ </div>
45
+ <div class="form-group col-sm-3">
46
+ <label class="font_normal_body">签字环节:</label>
47
+ <v-select
48
+ v-model="model.defname"
49
+ placeholder='报建类型'
50
+ condition="act.defname = '{}'"
51
+ :value.sync="model.defname"
52
+ :options='$parent.$parent.defnameList'
53
+ class="select select_list"
54
+ :value-single="true"
55
+ close-on-select ></v-select>
56
+ </div>
57
+ <div class="form-group col-sm-3">
58
+ <label class="font_normal_body">状&emsp;&emsp;态:</label>
59
+ <v-select
60
+ v-model="model.f_sub_state"
61
+ placeholder='状态'
62
+ condition="asi.f_sub_state = '{}'"
63
+ :value.sync="model.f_sub_state"
64
+ :options='$parent.$parent.stateList'
65
+ class="select select_list"
66
+ :value-single="true"
67
+ close-on-select ></v-select>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ </criteria>
72
+ <data-grid :model="model" optional partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
73
+ <template partial='head'>
74
+ <tr>
75
+ <th>序号</th>
76
+ <th>报建编号</th>
77
+ <th>客户名称</th>
78
+ <th>电话</th>
79
+ <th>报建类型</th>
80
+ <th>签字环节</th>
81
+ <th>状态</th>
82
+ <th>发起时间</th>
83
+ <th>操作</th>
84
+ </tr>
85
+ </template>
86
+ <template partial='body'>
87
+ <tr >
88
+ <td style="text-align: center;">
89
+ <nobr><font>{{$index+1}}</font></nobr>
90
+ </td>
91
+ <td style="text-align: center;">
92
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
93
+ </td>
94
+ <td style="text-align: center;">
95
+ <nobr><font>{{row.f_user_name}}</font></nobr>
96
+ </td>
97
+ <td style="text-align: center;">
98
+ <nobr><font>{{row.f_phone}}</font></nobr>
99
+ </td>
100
+ <td style="text-align: center;">
101
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
102
+ </td>
103
+ <td style="text-align: center;">
104
+ <nobr><font>{{row.defname}}</font></nobr>
105
+ </td>
106
+ <td style="text-align: center;">
107
+ <nobr><font>{{row.f_sub_state}}</font></nobr>
108
+ </td>
109
+ <td style="text-align: center;">
110
+ <nobr><font>{{row.f_operation_date}}</font></nobr>
111
+ </td>
112
+ <td style="text-align: center;">
113
+ <nobr><font>
114
+
115
+ </font></nobr>
116
+ </td>
117
+ </tr>
118
+ </template>
119
+ </data-grid>
120
+ </criteria-paged>
121
+ </template>
122
+
123
+ <script>
124
+ import {PagedList} from 'vue-client'
125
+ import {HttpResetClass} from 'vue-client'
126
+ export default {
127
+ title: '签字列表',
128
+ data () {
129
+ return {
130
+ model: new PagedList('rs/sql/signsupervisory', 20, {
131
+ data: {
132
+ orgid: this.$login.f.orgid
133
+ }
134
+ }),
135
+ applyTypeList: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
136
+ defnameList: [
137
+ {label: '全部', value: ''},
138
+ {label: '施工单位签字', value: '施工单位签字'},
139
+ {label: '设计单位签字', value: '设计单位签字'},
140
+ {label: '建设单位签字', value: '建设单位签字'},
141
+ {label: '监理单位签字', value: '监理单位签字'},
142
+ {label: '完工', value: '完工'}
143
+ ],
144
+ stateList: [
145
+ {label: '全部', value: ''},
146
+ {label: '新增', value: '新增'},
147
+ {label: '正在进行', value: '正在进行'},
148
+ {label: '完工', value: '完工'}
149
+ ],
150
+ criteriaShow: false
151
+ }
152
+ },
153
+ ready () {
154
+ // 调用查询
155
+ this.search()
156
+ },
157
+ methods: {
158
+ clear () {
159
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
160
+ this.$refs.cp.$refs.cri.model[key] = null
161
+ })
162
+ },
163
+ // 查询
164
+ search () {
165
+ this.$refs.cp.$refs.cri.search()
166
+ }
167
+ },
168
+ computed: {
169
+ }
170
+ }
171
+ </script>
172
+
173
+ <style scoped>
174
+ </style>
@@ -1,12 +1,20 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'exploration-user': (resolve) => { require(['./pc/Process/ExplorationUser'], resolve) },
5
- 'exploration-select': (resolve) => { require(['./pc/Process/ExplorationSelect'], resolve) },
6
- 'service-control': (resolve) => { require(['./pc/Process/Service/ServiceControl'], resolve) },
7
- 'apply-map-com': (resolve) => { require(['./pc/Process/Processes/ApplyMapCom'], resolve) },
8
- 'apply-charge-management': (resolve) => { require(['./pc/Process/Processes/chargeManagement'], resolve) },
9
- 'installation-details': (resolve) => { require(['./pc/Process/Processes/InstallationDetails'], resolve) },
10
- 'installation-details-civil': (resolve) => { require(['./pc/Process/Processes/InstallationDetailsCivil'], resolve) }
11
- }
12
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'exploration-user': (resolve) => { require(['./pc/Process/ExplorationUser'], resolve) },
5
+ 'exploration-select': (resolve) => { require(['./pc/Process/ExplorationSelect'], resolve) },
6
+ 'service-control': (resolve) => { require(['./pc/Process/Service/ServiceControl'], resolve) },
7
+ 'apply-map-com': (resolve) => { require(['./pc/Process/Processes/ApplyMapCom'], resolve) },
8
+ 'apply-charge-management': (resolve) => { require(['./pc/Process/Processes/chargeManagement'], resolve) },
9
+ 'apply-print-charge': (resolve) => { require(['./pc/Process/Processes/Print/printCharge'], resolve) },
10
+
11
+ 'installation-details': (resolve) => { require(['./pc/Process/Processes/InstallationDetails'], resolve) },
12
+ 'installation-details-civil': (resolve) => { require(['./pc/Process/Processes/InstallationDetailsCivil'], resolve) },
13
+
14
+ 'sign-record': (resolve) => { require(['./pc/Sign/SignRecord'], resolve) },
15
+ 'sign-record-list': (resolve) => { require(['./pc/Sign/SignRecordList'], resolve) },
16
+
17
+ 'build-order-list': (resolve) => { require(['./pc/Print/BuildOrder/buildOrderList'], resolve) },
18
+ 'print-build-order': (resolve) => { require(['./pc/Print/BuildOrder/printBuildOrder'], resolve) }
19
+ }
20
+ exports.specialComp = specialComp
package/src/main.js CHANGED
@@ -9,7 +9,7 @@ import {material} from 'material-client'
9
9
  import apply from './apply'
10
10
 
11
11
  all()
12
- apply('yuchuan')
12
+ apply()
13
13
  ldap()
14
14
  sale()
15
15
  material()
@@ -1,176 +0,0 @@
1
- <template>
2
- <div>
3
- <criteria-paged :model="model" v-ref:paged :pager="false">
4
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
- <div class="row">
7
- <div class="form-group col-sm-12 button-range">
8
- <button class="button_search button_spacing" @click="search()">查询</button>
9
- <div
10
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
11
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
12
- class="button_spacing"
13
- style="float: right">
14
- </div>
15
- </div>
16
- </div>
17
- <div class="row" v-show="$parent.$parent.criteriaShow">
18
- <div class="form-group col-sm-12">
19
- <label class="font_normal_body">&emsp;</label>
20
- <input type="text" class="input_search" v-model="model.f_user_name"
21
- v-on:keyup.enter="search" condition="f_user_name like '%{}%'" placeholder='联系人'>
22
- </div>
23
- <div class="form-group col-sm-12">
24
- <label class="font_normal_body">&emsp;</label>
25
- <input type="text" class="input_search" v-model="model.f_phone"
26
- v-on:keyup.enter="search" condition="f_phone like '%{}%'" placeholder='电话号码'>
27
- </div>
28
- </div>
29
- </div>
30
- </criteria>
31
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
32
- <template partial='head'>
33
- <tr class="title">
34
- <th colspan="2" style="white-space: nowrap;">已终止报建工程</th>
35
- </tr>
36
- </template>
37
- <template partial='body'>
38
- <tr>
39
- <td style="text-align: center;">{{row.f_user_name}}</td>
40
- <td style="text-align: center;">
41
- <dropdown>
42
- <button @click="" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
43
- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
44
- </button>
45
- </dropdown>
46
- </td>
47
- </tr>
48
- </template>
49
- </data-grid>
50
- <!-- <div partial="list" style="overflow: auto">-->
51
- <!-- <div class="panel panel-default auto" v-for="item in model.rows">-->
52
- <!-- <div class="panel-heading auto" style="background-color: #E8F4FF" @click="$parent.$parent.showTable(item)">-->
53
- <!-- {{item.f_user_name}}-->
54
- <!-- <div style="float: right">-->
55
- <!-- <dropdown class="auto">-->
56
- <!-- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">-->
57
- <!-- <span class="glyphicon glyphicon-th-list"></span>-->
58
- <!-- </button>-->
59
- <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right" style=" min-width: 60px;">-->
60
- <!-- <li>-->
61
- <!-- <a href="#" @click.stop="$parent.$parent.operate(item)">撤销</a>-->
62
- <!-- </li>-->
63
- <!-- </ul>-->
64
- <!-- </dropdown>-->
65
- <!-- </div>-->
66
- <!-- </div>-->
67
- <!-- <table class="table" v-if="$parent.$parent.tableShow(item)">-->
68
- <!-- <tr>-->
69
- <!-- <td><b>终止原因</b></td>-->
70
- <!-- <td>-->
71
- <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_stop_remarks">-->
72
- <!-- {{item.f_stop_remarks.length > 5 ? item.f_stop_remarks.substring(0,5) + '...' : item.f_stop_remarks.length}}-->
73
- <!-- </span>-->
74
- <!-- </td>-->
75
- <!-- </tr>-->
76
- <!-- <tr>-->
77
- <!-- <td><b>流程节点</b></td>-->
78
- <!-- <td>-->
79
- <!-- <span data-toggle="tooltip" data-placement="left" :title="item.defname">-->
80
- <!-- {{item.defname.length > 5 ? item.defname.substring(0,5) + '...' : item.defname}}-->
81
- <!-- </span>-->
82
- <!-- </td>-->
83
- <!-- </tr>-->
84
- <!-- <tr>-->
85
- <!-- <td><b>操作人</b></td>-->
86
- <!-- <td>-->
87
- <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_operator">-->
88
- <!-- {{item.f_operator.length > 5 ? item.f_operator.substring(0,5) + '...' : item.f_operator}}-->
89
- <!-- </span>-->
90
- <!-- </td>-->
91
- <!-- </tr>-->
92
- <!-- <tr>-->
93
- <!-- <td><b>操作部门</b></td>-->
94
- <!-- <td>-->
95
- <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_department">-->
96
- <!-- {{item.f_department.length > 5 ? item.f_department.substring(0,5) + '...' : item.f_department}}-->
97
- <!-- </span>-->
98
- <!-- </td>-->
99
- <!-- </tr>-->
100
- <!-- <tr>-->
101
- <!-- <td><b>操作日期</b></td>-->
102
- <!-- <td>-->
103
- <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_date">-->
104
- <!-- {{new Date(item.f_date).Format('yyyy-MM-dd')}}...-->
105
- <!-- </span>-->
106
- <!-- </td>-->
107
- <!-- </tr>-->
108
- <!-- </table>-->
109
- <!-- </div>-->
110
- <!-- </div>-->
111
- </criteria-paged>
112
- </div>
113
- </template>
114
- <script>
115
- /**
116
- *操作记录信息
117
- */
118
- import {HttpResetClass} from 'vue-client'
119
- import { PagedList } from 'vue-client'
120
- Date.prototype.Format = function (fmt) {
121
- var o = {
122
- 'M+': this.getMonth() + 1, // 月份
123
- 'd+': this.getDate(), // 日
124
- 'H+': this.getHours(), // 小时
125
- 'm+': this.getMinutes(), // 分
126
- 's+': this.getSeconds(), // 秒
127
- 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
128
- 'S': this.getMilliseconds() // 毫秒
129
- }
130
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
131
- for (var k in o) {
132
- if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
133
- }
134
- return fmt
135
- }
136
- export default {
137
- title: '操作汇总',
138
- data () {
139
- return {
140
- model: new PagedList('rs/sql/getStopApply', 9999999, {
141
- data: {
142
- id: this.$login.f.id,
143
- orgid: this.$login.f.orgid
144
- }
145
- }),
146
- row: null, // 当前点击的数据
147
- criteriaShow: false // 控制查询条件
148
- }
149
- },
150
- props: {
151
- },
152
- ready () {
153
- this.$refs.paged.$refs.cri.search()
154
- },
155
- methods: {
156
- // 控制查询
157
- hidden () {
158
- this.criteriaShow = !this.criteriaShow
159
- },
160
- // 当前点击的卡片数据
161
- showTable (row) {
162
- this.row = row
163
- },
164
- // 判断是否显示详细信息
165
- tableShow (row) {
166
- return this.row === row
167
- },
168
- // 点击撤销
169
- operate (row) {
170
- this.$dispatch('operate', row)
171
- }
172
- },
173
- watch: {
174
- }
175
- }
176
- </script>
@@ -1,102 +0,0 @@
1
- <template>
2
- <div class="col-sm-12 auto">
3
- <validator name="v">
4
- <form class="form-horizontal">
5
- <div class="form-group col-sm-12" style="margin: 100px 0px">
6
- <div class="col-sm-2">
7
- <label class="control-label col-sm-12">撤销原因:</label>
8
- </div>
9
- <div class="col-sm-10">
10
- <textarea class="form-control" rows="3" v-model="model.f_cancel_reason"></textarea>
11
- </div>
12
- </div>
13
- <div class="col-sm-12 form-group text-center">
14
- <div class="col-sm-12 form-group text-center">
15
- <div class="form-group col-sm-6 center-block">
16
- <label class="col-sm-4">分公司:</label>
17
- <div class="col-sm-8" style="text-align: left">
18
- {{model.f_filiale}}
19
- </div>
20
- </div>
21
- <div class="form-group col-sm-6 center-block">
22
- <label class="col-sm-4">操作日期:</label>
23
- <div class="col-sm-8" style="text-align: left">
24
- {{model.f_date}}
25
- </div>
26
- </div>
27
- </div>
28
- <div class="col-sm-12 form-group text-center">
29
- <div class="form-group col-sm-6 center-block">
30
- <label class="col-sm-4">部门:</label>
31
- <div class="col-sm-8" style="text-align: left">
32
- {{model.f_department}}
33
- </div>
34
- </div>
35
- <div class="form-group col-sm-6 center-block">
36
- <label class="col-sm-4">操作人:</label>
37
- <div class="col-sm-8" style="text-align: left">
38
- {{model.f_operator}}
39
- </div>
40
- </div>
41
- </div>
42
- </div>
43
- </form>
44
- </validator>
45
-
46
- <div class="from-group col-sm-12">
47
- <center>
48
- <button type="button" @click="confirm()" :disabled="disabled" class="btn btn-primary" style="width: 100px">
49
- 保存
50
- </button>
51
- </center>
52
- </div>
53
- </div>
54
- </template>
55
- <script>
56
- import * as Util from '../../../Util'
57
- import {HttpResetClass} from 'vue-client'
58
- export default {
59
- title: '终止报建',
60
- props: ['selectdata'],
61
- data () {
62
- return {
63
- model: {
64
- f_date: Util.toStandardTimeString(),
65
- f_department: this.$login.f.f_department_name,
66
- f_operator: this.$login.f.name,
67
- f_filiale: this.$login.f.orgs,
68
- f_cancel_reason: null
69
- },
70
- disabled: true
71
- }
72
- },
73
- methods: {
74
- confirm () {
75
- this.disabled = true
76
- let http = new HttpResetClass()
77
- let data = {
78
- loginUser: this.$login.f,
79
- selectdata: this.selectdata,
80
- model: this.model
81
- }
82
- http.load('POST', 'rs/logic/cancelStopApply', {data: data}, {resolveMsg: null,rejectMsg: '删除失败'})
83
- .then(res => {
84
- if (res.data === 200) {
85
- this.$dispatch('query')
86
- } else {
87
- this.$showMessage('撤销失败')
88
- }
89
- })
90
- }
91
- },
92
- watch: {
93
- 'model.f_cancel_reason' (val) {
94
- if (val != null || val !== '') {
95
- this.disabled = false
96
- }
97
- }
98
- }
99
- }
100
- </script>
101
- <style scoped>
102
- </style>
@@ -1,106 +0,0 @@
1
- <template>
2
- <div class="col-sm-12 auto">
3
- <validator name="v">
4
- <form class="form-horizontal">
5
- <div class="form-group col-sm-12" style="margin: 100px 0px">
6
- <div class="col-sm-2">
7
- <label class="control-label col-sm-12">终止原因:</label>
8
- </div>
9
- <div class="col-sm-10">
10
- <textarea class="form-control" rows="3" v-model="model.f_stop_remarks"></textarea>
11
- </div>
12
- </div>
13
- <div class="col-sm-12 form-group text-center">
14
- <div class="col-sm-12 form-group text-center">
15
- <div class="form-group col-sm-6 center-block">
16
- <label class="col-sm-4">分公司:</label>
17
- <div class="col-sm-8" style="text-align: left">
18
- {{model.f_filiale}}
19
- </div>
20
- </div>
21
- <div class="form-group col-sm-6 center-block">
22
- <label class="col-sm-4">操作日期:</label>
23
- <div class="col-sm-8" style="text-align: left">
24
- {{model.f_date}}
25
- </div>
26
- </div>
27
- </div>
28
- <div class="col-sm-12 form-group text-center">
29
- <div class="form-group col-sm-6 center-block">
30
- <label class="col-sm-4">部门:</label>
31
- <div class="col-sm-8" style="text-align: left">
32
- {{model.f_department}}
33
- </div>
34
- </div>
35
- <div class="form-group col-sm-6 center-block">
36
- <label class="col-sm-4">操作人:</label>
37
- <div class="col-sm-8" style="text-align: left">
38
- {{model.f_operator}}
39
- </div>
40
- </div>
41
- </div>
42
- </div>
43
- </form>
44
- </validator>
45
-
46
-
47
-
48
- <div class="from-group col-sm-12">
49
- <center>
50
- <button type="button" @click="confirm()" :disabled="disabled" class="btn btn-primary" style="width: 100px">
51
- 保存
52
- </button>
53
- </center>
54
- </div>
55
- </div>
56
- </template>
57
- <script>
58
- import * as Util from '../../../Util'
59
- import {HttpResetClass} from 'vue-client'
60
- export default {
61
- title: '终止报建',
62
- props: ['data'],
63
- data () {
64
- return {
65
- model: {
66
- f_date: Util.toStandardTimeString(),
67
- f_department: this.$login.f.f_department_name,
68
- f_operator: this.$login.f.name,
69
- f_filiale: this.$login.f.orgs,
70
- f_stop_remarks: null
71
- },
72
- disabled: true // 是否禁用确认按钮
73
- }
74
- },
75
- methods: {
76
- // 点击确认提交
77
- confirm () {
78
- this.disabled = true
79
- let http = new HttpResetClass()
80
- let data = {
81
- loginUser: this.$login.f,
82
- selectdata: this.data,
83
- model: this.model
84
- }
85
- http.load('POST', 'rs/logic/stopApply', {data: data}, {resolveMsg: null,rejectMsg: '删除失败'})
86
- .then(res => {
87
- if (res.data === 200) {
88
- this.$dispatch('search')
89
- } else {
90
- this.$showMessage('终止报建失败')
91
- }
92
- })
93
- }
94
- },
95
- watch: {
96
- // 监控确认按钮
97
- 'model.f_stop_remarks' (val) {
98
- if (val != null || val !== '') {
99
- this.disabled = false
100
- }
101
- }
102
- }
103
- }
104
- </script>
105
- <style scoped>
106
- </style>