apply-clients 3.4.2-FuGu-22 → 3.4.2-FuGu-23

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.4.2-FuGu-22",
3
+ "version": "3.4.2-FuGu-23",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -140,12 +140,19 @@
140
140
  <div class="form-group row vertical-center">
141
141
  <label class="col-xs-4 control-label">安&ensp;装&ensp;人:</label>
142
142
  <div class="col-xs-8">
143
- <input-select
144
- class="select select_list"
145
- :value.sync="item.f_install_person"
143
+ <input
144
+ class="form-control input_view"
145
+ :value.sync="installperson(item.f_install_person)"
146
146
  v-model="item.f_install_person"
147
- :options="installperson"
148
- :valueSingle="true"></input-select>
147
+ placeholder="安装人"
148
+ readonly></input>
149
+ <!-- <input-select-->
150
+ <!-- class="select select_list"-->
151
+ <!-- :value.sync="item.f_install_person"-->
152
+ <!-- v-model="item.f_install_person"-->
153
+ <!-- :options="installperson"-->
154
+ <!-- :disable="mark === 1"-->
155
+ <!-- :valueSingle="true"></input-select>-->
149
156
  </div>
150
157
  </div>
151
158
  <div class="form-group row vertical-center">
@@ -377,12 +384,18 @@ export default {
377
384
  computed: {
378
385
  // 安装人
379
386
  installperson() {
380
- return Vue.user.f_installman.map(item => {
381
- return {
382
- label: item.name,
383
- value: item.name
387
+ return function (f_install_person) {
388
+ if (isEmpty(f_install_person)) {
389
+ return Vue.user.name
384
390
  }
385
- })
391
+ return f_install_person
392
+ }
393
+ // return Vue.user.f_installman.map(item => {
394
+ // return {
395
+ // label: item.name,
396
+ // value: item.name
397
+ // }
398
+ // })
386
399
  },
387
400
  // 表向
388
401
  aroundmeters() {