apply-clients 3.4.1 → 3.4.2-FuGu-7

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 (136) hide show
  1. package/android.html +23 -23
  2. package/build/css-loaders.js +34 -0
  3. package/build/dev-android.js +101 -0
  4. package/build/dev-client.js +8 -0
  5. package/build/dev-server-app.js +76 -0
  6. package/build/dev-server.js +119 -0
  7. package/build/example-server.js +80 -0
  8. package/build/release.sh +28 -0
  9. package/build/utils.js +80 -0
  10. package/build/webpack.base.conf.js +85 -0
  11. package/build/webpack.baseandroid.conf.js +84 -0
  12. package/build/webpack.dev.conf.js +51 -0
  13. package/build/webpack.devandroid.conf.js +34 -0
  14. package/build/webpack.example.conf.js +49 -0
  15. package/build/webpack.prod.conf.js +60 -0
  16. package/build/webpack.prodandroid.conf.js +60 -0
  17. package/build/webpack.test.conf.js +31 -0
  18. package/dingding.html +23 -0
  19. package/dist-android/static/doc.jpg +0 -0
  20. package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  21. package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  22. package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  23. package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  24. package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  25. package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  26. package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  27. package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  28. package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  29. package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  30. package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  31. package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  32. package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  33. package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  34. package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  35. package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  36. package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  37. package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  38. package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  39. package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  40. package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  41. package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  42. package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  43. package/dist-android/static/imgerror.jpg +0 -0
  44. package/dist-android/static/newStyle/clear.png +0 -0
  45. package/dist-android/static/newStyle/fife.png +0 -0
  46. package/dist-android/static/newStyle/hidden.png +0 -0
  47. package/dist-android/static/newStyle/label-clear.png +0 -0
  48. package/dist-android/static/newStyle/left-img.png +0 -0
  49. package/dist-android/static/newStyle/list_ok.png +0 -0
  50. package/dist-android/static/newStyle/login-check.png +0 -0
  51. package/dist-android/static/newStyle/login-con.png +0 -0
  52. package/dist-android/static/newStyle/login-do.gif +0 -0
  53. package/dist-android/static/newStyle/login-f.png +0 -0
  54. package/dist-android/static/newStyle/login-info.png +0 -0
  55. package/dist-android/static/newStyle/login-left.png +0 -0
  56. package/dist-android/static/newStyle/login-org.png +0 -0
  57. package/dist-android/static/newStyle/login-pwd.png +0 -0
  58. package/dist-android/static/newStyle/login-user.png +0 -0
  59. package/dist-android/static/newStyle/loginbg.gif +0 -0
  60. package/dist-android/static/newStyle/loginbg1280.gif +0 -0
  61. package/dist-android/static/newStyle/loginbg1366.gif +0 -0
  62. package/dist-android/static/newStyle/setting.png +0 -0
  63. package/dist-android/static/newStyle/setting1.png +0 -0
  64. package/dist-android/static/newStyle/shirk.png +0 -0
  65. package/dist-android/static/newStyle/stretch_bottom.png +0 -0
  66. package/dist-android/static/newStyle/stretch_left.png +0 -0
  67. package/dist-android/static/newStyle/stretch_right.png +0 -0
  68. package/dist-android/static/newStyle/stretch_top.png +0 -0
  69. package/dist-android/static/newStyle/system-off.png +0 -0
  70. package/dist-android/static/pdf.jpg +0 -0
  71. package/index.html +33 -33
  72. package/package.json +2 -1
  73. package/src/AndroidApp.vue +35 -35
  74. package/src/App.vue +20 -20
  75. package/src/DingDingApp.vue +51 -0
  76. package/src/android.js +21 -21
  77. package/src/apply.js +75 -81
  78. package/src/applyAndroid.js +25 -31
  79. package/src/applyDingDing.js +12 -0
  80. package/src/components/android/AppOnetomany.vue +301 -301
  81. package/src/components/android/AppServiceView.vue +566 -566
  82. package/src/components/android/AppSign.vue +142 -142
  83. package/src/components/android/AppTakePic.vue +143 -143
  84. package/src/components/android/Process/AppExplorationUser.vue +320 -320
  85. package/src/components/android/Process/AppServiceControl.vue +757 -757
  86. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
  87. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  88. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
  89. package/src/components/android/TaskGraph.vue +125 -125
  90. package/src/components/build/Install/ExplorationUser.vue +304 -0
  91. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
  92. package/src/components/product/{Process/Processes/Print → ApplyCharge}/printCharge.vue +142 -142
  93. package/src/components/product/Function/InstallFunction.vue +131 -125
  94. package/src/components/product/Function/InstallInfoSelect.vue +21 -13
  95. package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
  96. package/src/components/product/Onetomany.vue +377 -377
  97. package/src/components/product/Process/ExplorationSelect.vue +401 -410
  98. package/src/components/product/Process/ExplorationUser.vue +138 -138
  99. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  100. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  101. package/src/components/product/Process/Processes/chargeManagement.vue +634 -639
  102. package/src/components/product/Process/Service/ServiceControl.vue +58 -63
  103. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  104. package/src/components/product/ServiceView.vue +631 -631
  105. package/src/components/product/Stop/StopApply.vue +105 -103
  106. package/src/components/product/Stop/StopApplyList.vue +269 -269
  107. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +7 -0
  108. package/src/components/product/Supervisory/SupervisoryControl.vue +10 -0
  109. package/src/components/product/Supervisory/SupervisoryList.vue +6 -2
  110. package/src/components/product/Supervisory/SupervisoryhCart.vue +110 -107
  111. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  112. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  113. package/src/dingding.js +20 -0
  114. package/src/expandcssAndroid.less +1034 -1034
  115. package/src/main.js +23 -23
  116. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  117. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  118. package/src/components/product/Function/functions/StopInstall.vue +0 -106
  119. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  120. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  121. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  122. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  123. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  124. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -548
  125. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -754
  126. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +0 -60
  127. package/src/filiale/yuchuan/android.js +0 -7
  128. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -528
  129. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
  130. package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -395
  131. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -147
  132. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +0 -66
  133. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +0 -759
  134. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +0 -470
  135. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -879
  136. package/src/filiale/yuchuan/pc.js +0 -11
package/src/main.js CHANGED
@@ -1,23 +1,23 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import {ldap} from 'ldap-clients'
5
- import {system} from 'system-clients'
6
- import {sale} from 'sale-client'
7
- import {material} from 'material-client'
8
-
9
- import apply from './apply'
10
-
11
- all()
12
- apply('yuchuan')
13
- ldap()
14
- sale()
15
- material()
16
- system(false)
17
-
18
- require('system-clients/src/styles/less/bootstrap.less')
19
- require('./expandcss.less')
20
- new Vue({
21
- el: 'body',
22
- components: { App }
23
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import {ldap} from 'ldap-clients'
5
+ import {system} from 'system-clients'
6
+ import {sale} from 'sale-client'
7
+ import {material} from 'material-client'
8
+
9
+ import apply from './apply'
10
+
11
+ all()
12
+ apply('yuchuan')
13
+ ldap()
14
+ sale()
15
+ material()
16
+ system(false)
17
+
18
+ require('system-clients/src/styles/less/bootstrap.less')
19
+ require('./expandcss.less')
20
+ new Vue({
21
+ el: 'body',
22
+ components: { App }
23
+ })
@@ -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>