apply-clients 5.0.361 → 6.0.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 (192) hide show
  1. package/build/css-loaders.js +34 -0
  2. package/build/dev-android.js +101 -0
  3. package/build/dev-client.js +8 -0
  4. package/build/dev-server-app.js +76 -0
  5. package/build/dev-server.js +72 -0
  6. package/build/example-server.js +80 -0
  7. package/build/release.sh +28 -0
  8. package/build/utils.js +80 -0
  9. package/build/webpack.base.conf.js +83 -0
  10. package/build/webpack.baseandroid.conf.js +84 -0
  11. package/build/webpack.dev.conf.js +39 -0
  12. package/build/webpack.devandroid.conf.js +34 -0
  13. package/build/webpack.example.conf.js +49 -0
  14. package/build/webpack.prod.conf.js +60 -0
  15. package/build/webpack.prodandroid.conf.js +60 -0
  16. package/build/webpack.test.conf.js +31 -0
  17. package/dist-android/static/.gitkeep +0 -0
  18. package/dist-android/static/batchleft.png +0 -0
  19. package/dist-android/static/batchright.png +0 -0
  20. package/dist-android/static/bluemainbg.jpg +0 -0
  21. package/dist-android/static/huangtengbiaozhi.png +0 -0
  22. package/dist-android/static/login_bg.jpg +0 -0
  23. package/dist-android/static/login_title.png +0 -0
  24. package/dist-android/static/login_title1.png +0 -0
  25. package/dist-android/static/loginbg.jpg +0 -0
  26. package/dist-android/static/loginlogo.png +0 -0
  27. package/dist-android/static/main_logo.png +0 -0
  28. package/dist-android/static/mainbg.jpg +0 -0
  29. package/dist-android/static/menulogo.png +0 -0
  30. package/dist-android/static/newmainbg.jpg +0 -0
  31. package/dist-android/static/psicon.png +0 -0
  32. package/dist-android/static/singleleft.png +0 -0
  33. package/dist-android/static/singleright.png +0 -0
  34. package/dist-android/static/treeopen.png +0 -0
  35. package/dist-android/static/treeout.png +0 -0
  36. package/dist-android/static/treeset.png +0 -0
  37. package/dist-android/static/usericon.png +0 -0
  38. package/dist-android/static/xinxi.png +0 -0
  39. package/package.json +5 -10
  40. package/src/AndroidApp.vue +1 -1
  41. package/src/App.vue +0 -1
  42. package/src/apply.js +172 -104
  43. package/src/applyAndroid.js +0 -5
  44. package/src/assets/shipin1.mp4 +0 -0
  45. package/src/bootstrap/less/bootstrap.less +2 -1
  46. package/src/components/Hello.vue +39 -0
  47. package/src/components/Table.js +2 -2
  48. package/src/components/Test.vue +26 -0
  49. package/src/components/Util.js +6 -11
  50. package/src/components/app_apply/Acceptance.vue +2 -7
  51. package/src/components/app_apply/ApplyApp.vue +6 -16
  52. package/src/components/app_apply/ApplyInfo.vue +1 -1
  53. package/src/components/app_apply/ApplyListUpload.vue +3 -3
  54. package/src/components/app_apply/ApplyToDoList.vue +3 -3
  55. package/src/components/app_apply/ApplyUserInfo.vue +3 -2
  56. package/src/components/app_apply/FieldExploration.vue +1 -3
  57. package/src/components/app_apply/PlaceControler.vue +49 -38
  58. package/src/components/{product/VueUtils → apply/base}/rightview/InstallCardList2.vue +38 -29
  59. package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ReduceFeeDetail2.vue +77 -77
  60. package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/StopApplyDetail2.vue +1 -1
  61. package/src/components/build/Install/ApplyChargeSearch.vue +210 -0
  62. package/src/components/build/Install/ExplorationSelect.vue +308 -0
  63. package/src/components/build/Install/ExplorationUser.vue +315 -0
  64. package/src/components/build/Install/InstallFee/AddContract.vue +257 -0
  65. package/src/components/build/Install/InstallFee/InstallFee.vue +929 -0
  66. package/src/components/build/Install/InstallFee/InstallFee2.vue +291 -0
  67. package/src/components/{product/Function/functions → build/Install/InstallFee}/InstallFeeInfo.vue +11 -42
  68. package/src/components/build/Install/InstallFee/InstallFunction.vue +242 -0
  69. package/src/components/build/Install/InstallFee/InstallInfoSelect.vue +232 -0
  70. package/src/components/{product/Process → build/Install}/ModifyUserFiles.vue +1 -1
  71. package/src/components/build/Install/Process/BuildJob.vue +242 -0
  72. package/src/components/build/Install/Process/ContratSigne.vue +283 -0
  73. package/src/components/build/Install/Process/CustomerEssentialInfo.vue +325 -0
  74. package/src/components/build/Install/Process/CustomerFile.vue +423 -0
  75. package/src/components/build/Install/Process/CustomerMaterialMessage.vue +414 -0
  76. package/src/components/build/Install/Process/CustomerRecordMessage.vue +749 -0
  77. package/src/components/build/Install/Process/DispatchingJob.vue +261 -0
  78. package/src/components/build/Install/Process/FeeNorme.vue +252 -0
  79. package/src/components/build/Install/Process/FeeNormeAndContratSigne.vue +376 -0
  80. package/src/components/build/Install/Process/FeeVerifier.vue +199 -0
  81. package/src/components/build/Install/Process/IgnitionVentilation.vue +232 -0
  82. package/src/components/build/Install/Process/MeterType.vue +379 -0
  83. package/src/components/build/Install/Process/PlaceControler.vue +304 -0
  84. package/src/components/build/Install/Process/ProjeterFigure.vue +211 -0
  85. package/src/components/build/Install/Process/ReceivingNote.vue +317 -0
  86. package/src/components/build/Install/Process/boneng/qbj_placecontroler.vue +370 -0
  87. package/src/components/build/Install/Process/zhongran/ZR_Construction.vue +388 -0
  88. package/src/components/build/Install/Process/zhongran/ZR_ContratSigne.vue +496 -0
  89. package/src/components/build/Install/Process/zhongran/ZR_CustomerEssentialInfo.vue +415 -0
  90. package/src/components/build/Install/Process/zhongran/ZR_DispatchingJob.vue +409 -0
  91. package/src/components/build/Install/Process/zhongran/ZR_FeeNorme.vue +342 -0
  92. package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation.vue +253 -0
  93. package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation_transfer.vue +198 -0
  94. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlan.vue +259 -0
  95. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlanExamine.vue +243 -0
  96. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler.vue +426 -0
  97. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler_print.vue +187 -0
  98. package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote.vue +404 -0
  99. package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote1.vue +301 -0
  100. package/src/components/build/Install/Process/zhongran/ZR_TestDesign.vue +441 -0
  101. package/src/components/build/Install/Process/zhongran/ZR_end.vue +20 -0
  102. package/src/components/build/Install/ProcessInfo/BasicInfo.vue +68 -0
  103. package/src/components/build/Install/ProcessInfo/BuildInfo.vue +110 -0
  104. package/src/components/build/Install/ProcessInfo/ContratProcessInfo.vue +116 -0
  105. package/src/components/build/Install/ProcessInfo/DispatchingInfo.vue +114 -0
  106. package/src/components/build/Install/ProcessInfo/FeeNormeInfo.vue +108 -0
  107. package/src/components/build/Install/ProcessInfo/FeeVerifierInfo.vue +102 -0
  108. package/src/components/build/Install/ProcessInfo/IgnitionInfo.vue +99 -0
  109. package/src/components/build/Install/ProcessInfo/MeterProcessInfo.vue +114 -0
  110. package/src/components/build/Install/ProcessInfo/PlaceProcessInfo.vue +115 -0
  111. package/src/components/build/Install/ProcessInfo/ProjeterProcessInfo.vue +107 -0
  112. package/src/components/build/Install/ProcessInfo/ReceivingInfo.vue +107 -0
  113. package/src/components/build/Install/ProcessInfo/zhongran/ZR_BasicInfo.vue +74 -0
  114. package/src/components/build/Install/ProcessInfo/zhongran/ZR_BuildInfo.vue +114 -0
  115. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ContratProcessInfo.vue +114 -0
  116. package/src/components/build/Install/ProcessInfo/zhongran/ZR_DispatchingInfo.vue +119 -0
  117. package/src/components/build/Install/ProcessInfo/zhongran/ZR_FeeNormeInfo.vue +105 -0
  118. package/src/components/build/Install/ProcessInfo/zhongran/ZR_IgnitionInfo.vue +99 -0
  119. package/src/components/build/Install/ProcessInfo/zhongran/ZR_MaterialPlan_info.vue +104 -0
  120. package/src/components/build/Install/ProcessInfo/zhongran/ZR_PlaceProcessInfo.vue +109 -0
  121. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ReceivingInfo.vue +102 -0
  122. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ignition_transfer_info.vue +104 -0
  123. package/src/components/{product/Bill → build/Install/bill}/BillXSDMakeInfo.vue +1 -1
  124. package/src/components/build/Install/monitor/SupervisoryControl.vue +178 -0
  125. package/src/components/build/Install/monitor/SupervisoryList.vue +209 -0
  126. package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryhCart.vue +3 -29
  127. package/src/components/product/Process/Processes/Service/ServiceControl.vue +91 -1718
  128. package/src/main.js +2 -9
  129. package/src/stores/ApplyLoadParams.js +1 -1
  130. package/src/bootstrap/less/standard.less +0 -208
  131. package/src/components/app_apply/ServiceControl.vue +0 -442
  132. package/src/components/app_apply/ServiceView.vue +0 -356
  133. package/src/components/product/Common/ApplyValidateBill.vue +0 -55
  134. package/src/components/product/Common/PrintBill.vue +0 -120
  135. package/src/components/product/Function/InstallFunction.vue +0 -142
  136. package/src/components/product/Function/InstallInfoSelect.vue +0 -254
  137. package/src/components/product/Function/Service/FunctionServiceControl.vue +0 -328
  138. package/src/components/product/Function/functions/AddContract.vue +0 -301
  139. package/src/components/product/Function/functions/BuyerMessage.vue +0 -512
  140. package/src/components/product/Function/functions/InstallFee.vue +0 -919
  141. package/src/components/product/Function/functions/material_recording.vue +0 -237
  142. package/src/components/product/MaterialBatchList.vue +0 -109
  143. package/src/components/product/MaterialBatchManage.vue +0 -34
  144. package/src/components/product/Process/ExplorationSelect.vue +0 -636
  145. package/src/components/product/Process/ExplorationUser.vue +0 -131
  146. package/src/components/product/Process/MaterialUseList.vue +0 -159
  147. package/src/components/product/Process/ProcessInfo/history_control.vue +0 -134
  148. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -776
  149. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -910
  150. package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -383
  151. package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -957
  152. package/src/components/product/Process/Processes/SendOrder.vue +0 -47
  153. package/src/components/product/Process/Processes/Service/ApplyAcceptBill.vue +0 -89
  154. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +0 -305
  155. package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
  156. package/src/components/product/Process/ShowBackReason.vue +0 -18
  157. package/src/components/product/ServiceView.vue +0 -800
  158. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +0 -407
  159. package/src/components/product/Supervisory/SupervisoryControl.vue +0 -130
  160. package/src/components/product/Supervisory/SupervisoryList.vue +0 -349
  161. package/src/components/product/stopInfo/ApplyStopInfo.vue +0 -280
  162. package/src/plugins/commonService.js +0 -229
  163. package/yarn.lock +0 -8072
  164. /package/src/components/{product/VueUtils → apply/base}/ToolsPage.vue +0 -0
  165. /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/BuildFeeDetail2.vue +0 -0
  166. /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ChangeFeeDetail2.vue +0 -0
  167. /package/src/components/{product/Function/functions → build/Install/InstallFee}/AllSelect.vue +0 -0
  168. /package/src/components/{product/Function → build/Install/InstallFee}/InstallInfoDown.vue +0 -0
  169. /package/src/components/{product/Function/functions → build/Install/InstallFee}/PreparationFee.vue +0 -0
  170. /package/src/components/{product/Function/functions → build/Install/InstallFee}/PrestoreFee.vue +0 -0
  171. /package/src/components/{product/Function/functions → build/Install/InstallFee}/ReduceFee.vue +0 -0
  172. /package/src/components/{product/Function/functions → build/Install/InstallFee}/StopInstall.vue +0 -0
  173. /package/src/components/{product/Function/functions → build/Install/InstallFee}/UpdateFee.vue +0 -0
  174. /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerBuildingMessage.vue +0 -0
  175. /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerEquipmentMessage.vue +0 -0
  176. /package/src/components/{product/Function/functions → build/Install/ProcessInfo}/ApplyRecordCancel.vue +0 -0
  177. /package/src/components/{product/Bill → build/Install/bill}/BillGZK.vue +0 -0
  178. /package/src/components/{product/Bill → build/Install/bill}/BillGZKMakeInfo.vue +0 -0
  179. /package/src/components/{product/Bill → build/Install/bill}/BillGZKRecordInfo.vue +0 -0
  180. /package/src/components/{product/Bill → build/Install/bill}/BillJLB.vue +0 -0
  181. /package/src/components/{product/Bill → build/Install/bill}/BillJLBMakeInfo.vue +0 -0
  182. /package/src/components/{product/Bill → build/Install/bill}/BillJLBRecordInfo.vue +0 -0
  183. /package/src/components/{product/Bill → build/Install/bill}/BillKTK.vue +0 -0
  184. /package/src/components/{product/Bill → build/Install/bill}/BillKTKMakeInfo.vue +0 -0
  185. /package/src/components/{product/Bill → build/Install/bill}/BillKTKRecordInfo.vue +0 -0
  186. /package/src/components/{product/Bill → build/Install/bill}/BillQRK.vue +0 -0
  187. /package/src/components/{product/Bill → build/Install/bill}/BillQRKMakeInfo.vue +0 -0
  188. /package/src/components/{product/Bill → build/Install/bill}/BillQRKRecordInfo.vue +0 -0
  189. /package/src/components/{product/Bill → build/Install/bill}/BillSelect.vue +0 -0
  190. /package/src/components/{product/Bill → build/Install/bill}/BillXSD.vue +0 -0
  191. /package/src/components/{product/Bill → build/Install/bill}/BillXSDRecordInfo.vue +0 -0
  192. /package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryBaseInfo.vue +0 -0
@@ -0,0 +1,423 @@
1
+ <template>
2
+ <div class="form-group col-sm-12"
3
+ style="background-color: #FFFFFF;height: auto;min-height:500px;border-radius: 8px">
4
+ <div style="position: relative;height: 40px;width:70%;margin: 30px auto;">
5
+ <div class="inpGroup">
6
+ <input v-model="tempremarks" class="inp" placeholder="文件说明"/>
7
+ </div>
8
+ <!--<div class="inp_button" type="button" @click="upload()">拍照</div>-->
9
+ <v-select :is-all-line="true" :value.sync="tempusetype" placeholder="使用类型" class="inp_button2" :options="foptions"
10
+ v-model="tempusetype"></v-select>
11
+ <div class="inp_button" type="button" @click="fileUpload()">本地上传</div>
12
+ </div>
13
+ <div class="showList col-sm-12" style="padding: 20px">
14
+
15
+ <div class="col-sm-6" style="padding:10px 10px 0px 10px;height: auto;box-sizing: border-box"
16
+ v-for="row in fileinfodata">
17
+ <div class="showData">
18
+ <div class="left">
19
+ <img :src="row.f_downloadURL"/>
20
+ </div>
21
+ <div class="right">
22
+ <!--<div class="top">-->
23
+ <!--<div class="topleft">用户ID:&nbsp;<span>{{row.f_blobid}}</span></div>-->
24
+ <!--<div class="topright">{{row.f_uploaddate}}</div>-->
25
+ <!--</div>-->
26
+ <div class="top">
27
+ <div class="topleft">使用类型:&nbsp;<span>{{row.f_usetype}}</span></div>
28
+ </div>
29
+ <div class="top">
30
+ <div class="topleft">操作员:&nbsp;<span>{{row.f_username}}</span></div>
31
+ </div>
32
+ <div class="text">文件说明:&nbsp;{{row.f_remarks}}</div>
33
+ <ul class="buttonList">
34
+ <li>
35
+ <a target="_blank" :href="row.f_downloadURL">预览</a>
36
+ </li>
37
+ <!--<li>-->
38
+ <!--<a :href="row.f_downloadURL" :download="row.filename">下载</a>-->
39
+ <!--</li>-->
40
+ <!--<li>修改</li>
41
+ <li>下载</li>-->
42
+ <!--<li>删除</li>-->
43
+ </ul>
44
+ </div>
45
+ </div>
46
+ </div>
47
+
48
+ </div>
49
+ </div>
50
+ <modal :show.sync="show" v-ref:modal backdrop="false">
51
+ <header slot="modal-header" class="modal-header">
52
+ <button type="button" class="close" @click="close"><span>&times;</span></button>
53
+ <h4 class="modal-title">文件上传</h4>
54
+ </header>
55
+ <article slot="modal-body" class="modal-body">
56
+ <div class="form-group">
57
+ <file-upload class="my-file-uploader" name="myFile33"
58
+ action="rs/file/uploadFile" tagname="文件上传" :headers="headers" multiple v-ref:file></file-upload>
59
+ </div>
60
+ </article>
61
+ <footer slot="modal-footer" class="modal-footer">
62
+ <!-- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
63
+
64
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button> -->
65
+ </footer>
66
+ </modal>
67
+ </template>
68
+ <script>
69
+
70
+ export default {
71
+ title: "附件",
72
+ props: ['selectdata'],
73
+ data() {
74
+ return {
75
+ foptions: this.$appdata.getParam('使用类型'),
76
+ // options:[{label: '工程材料计划', value: '工程材料计划'}, {label:'设计方案', value:'设计方案'}],
77
+ selectdata: {f_process_id: null},
78
+ model: {},
79
+ href: '',
80
+ fileinfodata: [],
81
+ headers: {'username': '', 'blodid': '','f_usetype':'','f_remarks':''},
82
+ show: false,
83
+ imgadd: '/images/mainicon/adddevice.png',
84
+ tempusetype: '',
85
+ tempremarks: '',
86
+ timeoutHandle: '',
87
+ username: '',
88
+ blodid: '',
89
+ host: location.host,
90
+ tempindex: null
91
+ }
92
+ },
93
+ methods: {
94
+ afterCamera() {
95
+ let data = {
96
+ tablename: 't_files',
97
+ parameters: {
98
+ id: res.id,
99
+ f_usetype: this.tempusetype[0],
100
+ f_remarks: this.tempremarks
101
+ }
102
+ }
103
+ this.tempremarks=null
104
+ this.$resetpost('rs/logic/saveentity', {data: data}, {resolveMsg: null, rejectMsg: '文件备注上传失败'}).then((res) => {
105
+ console.log('dddddddd', this)
106
+ this.close()
107
+ })
108
+ },
109
+ GetRequest() {
110
+ var url = location.search;
111
+ var theRequest = new Object();
112
+ if(url.indexOf("?") != -1) {
113
+ var str = url.substr(1);
114
+ let strs = str.split("&");
115
+ for(var i = 0; i < strs.length; i++) {
116
+ theRequest[strs[i].split("=")[0]] = decodeURIComponent(strs[i].split("=")[1]);
117
+ }
118
+ }
119
+ return theRequest;
120
+ },
121
+ upload() {
122
+ console.log(JSON.stringify(this.selectdata.f_process_id))
123
+ // 直接本地调用
124
+ // location.href=this.href
125
+ // 调用卡服务启动高拍仪
126
+ let data = {
127
+ f_username: this.username,
128
+ f_blobid: this.blodid,
129
+ f_usetype: this.tempusetype[0]
130
+ }
131
+ data = JSON.stringify(data)
132
+ this.$resetpost('Camera/'+data.toString(), {data:null}, {resolveMsg: null, rejectMsg: '文件备注上传失败'}).then((res) => {
133
+ console.log("调用卡服务启动高拍仪成功")
134
+ })
135
+ },
136
+ load(self) {
137
+ if (!self.selectdata)
138
+ return
139
+ let data = {
140
+ tablename: 't_files',
141
+ condition: 'f_blobid=\'' + self.selectdata.f_process_id + '\''
142
+ }
143
+ self.$resetpost('rs/sql/singleTable', {data: data}, {
144
+ warnMsg: null,
145
+ resolveMsg: null,
146
+ rejectMsg: '查询错误!',
147
+ type: 'json',
148
+ silent: true
149
+ })
150
+ .then((res) => {
151
+ console.log("读取请求发送成功")
152
+ console.log(JSON.stringify(res))
153
+ // 查询的数组和现在的数组‘长度’不一致就刷新
154
+ if (res.data.length != self.fileinfodata.length) {
155
+ for (var i = 0; i < res.data.length; i++) {
156
+ if((res.data[i].f_remarks==null&&res.data[i].f_usetype==null)){
157
+ res.data.splice(i,1)
158
+ i--
159
+ continue
160
+ }
161
+ let temp=''
162
+ temp = res.data[i].f_downloadpath
163
+ let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
164
+ res.data[i].f_downloadURL = "http://" + this.host + "/" + URL
165
+ res.data[i].f_uploaddate = self.formatdate(res.data[i].f_uploaddate)
166
+ }
167
+ self.fileinfodata = []
168
+ self.fileinfodata = res.data
169
+ }
170
+ })
171
+ },
172
+ // 数据库时间格式化
173
+ formatdate(val){
174
+ //45012367890123
175
+ //20180914151603 : 2018-09-14 15:16:03
176
+ if(val.length!=14)
177
+ return
178
+ let year = val.substr(0,4)
179
+ let month = val.substr(4,2)
180
+ let day = val.substr(6,2)
181
+ let hour = val.substr(8,2)
182
+ let min = val.substr(10,2)
183
+ let second = val.substr(12,2)
184
+ return year+'-'+month+'-'+day+' '+hour+':'+min+':'+second
185
+ },
186
+ // 父组件更新子组件属性
187
+ updateData(val) {
188
+ this.selectdata = val
189
+ this.headers.username=val.f_apply_operator
190
+ },
191
+ // 下载
192
+ fileDownload(id) {
193
+ console.log("id为" + id)
194
+ this.$resetget('rs/file/getfile/' + id).then((res) => {
195
+ console.log("下载请求发送成功")
196
+ })
197
+ },
198
+ // 打开文件上传对话框
199
+ fileUpload() {
200
+ if (this.tempremarks) {
201
+ this.show = true
202
+ // this.tempremarks = this.fileinfodata[index].f_remarks
203
+ } else {
204
+ this.$showMessage("请先填写文件说明")
205
+ }
206
+ },
207
+ // 关闭文件上传对话框
208
+ close() {
209
+ // this.show = false
210
+ if (this.show) {
211
+ this.show = false
212
+ // 将选的文件清空
213
+ let ddd = new Document()
214
+ ddd = this.$refs.file.$el.querySelector('input').files[0]
215
+ console.log("hahaha", ddd)
216
+ this.$refs.file.$el.querySelector('input').value = ''
217
+ }
218
+ }
219
+ },
220
+ ready() {
221
+ console.log("开始")
222
+ this.load(this)
223
+ },
224
+ watch: {
225
+ 'selectdata'() {
226
+ this.headers.blodid = this.selectdata.f_process_id
227
+ this.load(this)
228
+ },
229
+ deep: true
230
+ },
231
+ events: {
232
+ onFileUpload: function (file, res) {
233
+ console.log("上传完毕")
234
+ let data = {
235
+ tablename: 't_files',
236
+ parameters: {
237
+ id: res.id,
238
+ f_usetype: this.tempusetype[0],
239
+ f_remarks: this.tempremarks
240
+ }
241
+ }
242
+ this.tempremarks=null
243
+ this.$resetpost('rs/logic/saveentity', {data: data}, {resolveMsg: null, rejectMsg: '文件备注上传失败'}).then((res) => {
244
+ console.log('dddddddd', this)
245
+ this.close()
246
+ this.load(this)
247
+ })
248
+ }
249
+ }
250
+ }
251
+ </script>
252
+ <style>
253
+
254
+ *{
255
+ padding: 0px;
256
+ margin: 0px;
257
+ }
258
+
259
+ .inpGroup {
260
+ position: absolute;
261
+ left: 0px;
262
+ right: 220px;
263
+ height: 40px;
264
+ font-family: "微软雅黑";
265
+ }
266
+
267
+ .inp {
268
+ box-sizing: border-box;
269
+ width: 100%;
270
+ padding: 0px 10px;
271
+ height: 40px;
272
+ font-size: 18px;
273
+ line-height: 36px;
274
+ color: #999999;
275
+ border: solid 1px #c1c1c1;
276
+ border-radius: 2px;
277
+ background: none;
278
+ outline: none;
279
+ }
280
+
281
+ .inp::-webkit-input-placeholder {
282
+ color: #999999;
283
+ }
284
+
285
+ .inp_button {
286
+ float: right;
287
+ margin-left: 10px;
288
+ /* position: absolute;
289
+ right: 35px;
290
+ height: 40px;*/
291
+ width: 100px;
292
+ font-size: 18px;
293
+ line-height: 40px;
294
+ color: #ffffff;
295
+ text-align: center;
296
+ background-color: rgb(90, 180, 90);
297
+ border-radius: 4px;
298
+ cursor: pointer;
299
+ }
300
+ .inp_button2 {
301
+ float: right;
302
+ margin-left: 10px;
303
+ /* position: absolute;
304
+ right: 35px;
305
+ height: 40px;*/
306
+ width: auto;
307
+ font-size: 16px;
308
+ line-height: 40px;
309
+ color: #ffffff;
310
+ text-align: center;
311
+ border-radius: 4px;
312
+ cursor: pointer;
313
+
314
+ }
315
+ .inp_button2 button{
316
+ width: 100%;
317
+ height: 100%;
318
+ }
319
+ .inp_button:hover {
320
+ background-color: rgb(80, 150, 80);
321
+ }
322
+
323
+ .inp_button:active {
324
+ font-size: 20px;
325
+ background-color: rgb(150, 200, 150);
326
+ }
327
+
328
+ .showData {
329
+ height: auto;
330
+ position: relative;
331
+ padding-bottom: 7px;
332
+ border-bottom: solid 1px #c1c1c1;
333
+ font-family: "微软雅黑";
334
+ }
335
+
336
+ .showData .left {
337
+ height: 120px;
338
+ width: 140px;
339
+ background-color: rgb(240, 240, 240);
340
+ overflow: hidden;
341
+ line-height: 120px;
342
+ }
343
+
344
+ .showData .left img {
345
+ width: 100%;
346
+ height: auto;
347
+ }
348
+
349
+ .showData .right {
350
+ position: absolute;
351
+ top: 0px;
352
+ left: 150px;
353
+ right: 0px;
354
+ height: 120px;
355
+ }
356
+
357
+ .showData .right .top {
358
+ height: 20px;
359
+ font-size: 14px;
360
+ line-height: 20px;
361
+ color: rgb(98, 98, 98);
362
+ overflow: hidden;
363
+ }
364
+
365
+ .showData .right .top .topleft {
366
+ float: left;
367
+ height: 20px;
368
+ margin-right: 15px;
369
+ }
370
+
371
+ .showData .right .top .topright {
372
+ float: right;
373
+ margin-left: 15px;
374
+ }
375
+
376
+ .showData .right .text {
377
+ word-wrap: break-word;
378
+ overflow: hidden;
379
+ height: 60px;
380
+ font-size: 14px;
381
+ color: #999999;
382
+ line-height: 30px;
383
+ }
384
+
385
+ .showData .right ul {
386
+ height: 20px;
387
+ padding: 0px;
388
+ margin: 0px;
389
+ font-size: 0px;
390
+ }
391
+
392
+ .showData .right ul li {
393
+ display: inline-block;
394
+ height: 18px;
395
+ list-style: none;
396
+ font-size: 14px;
397
+ line-height: 18px;
398
+ color: #FFFFFF;
399
+ background-color: #5bb85d;
400
+ padding: 0px 7px;
401
+ margin-right: 11px;
402
+ cursor: pointer;
403
+ }
404
+
405
+ .showData .right ul li:hover {
406
+ background-color: rgb(80, 150, 80);
407
+ }
408
+
409
+ .showData .right ul li:active {
410
+ background-color: rgb(150, 200, 150);
411
+ }
412
+
413
+ .showData .right ul li a {
414
+ width: 100%;
415
+ height: 100%;
416
+ text-decoration: none;
417
+ color: #FFFFFF;
418
+ }
419
+
420
+ body {
421
+ color: black;
422
+ }
423
+ </style>