Diaselp.vue 15.1 KB
Newer Older
wangguangchao committed
1 2
<template>
  <div class="eibs-tab">
liushikai committed
3 4
    <!-- <c-list-search @form-reset="handleReset" @form-search="handleSearch">
      <template  v-slot="searchSlot"> -->
潘际乾 committed
5

liushikai committed
6 7 8 9 10 11 12 13 14
    <el-form
      class="m-table-search-form"
      ref="paramsForm"
      :inline="true"
      label-position="right"
      label-width="110px"
      size="small"
    >
      <el-row>
潘际乾 committed
15
        <c-col :span="24" style="">
liushikai committed
16 17 18 19 20 21 22 23 24 25
          <c-col :span="8">
            <el-form-item label="业务编号" prop="searef" style="width: 100%">
              <c-input
                v-model="model.searef"
                maxlength="16"
                style="width: 100%"
                placeholder="请输入Selection Reference"
              ></c-input>
            </el-form-item>
          </c-col>
26

liushikai committed
27 28 29
          <c-col :span="8">
            <el-form-item label="提示日期" style="width: 100%">
              <c-col :span="11">
30
                <c-date-picker
liushikai committed
31 32
                  type="date"
                  v-model="model.diafro"
33
                  style="width: 100%"
liushikai committed
34
                  placeholder="请选择Diary From date"
35
                ></c-date-picker>
liushikai committed
36 37 38 39 40
              </c-col>
              <c-col :span="2" style="text-align: center">
                <label style="display: inline-block; width: 100%">-</label>
              </c-col>
              <c-col :span="11">
41
                <c-date-picker
liushikai committed
42 43
                  type="date"
                  v-model="model.diatil"
44
                  style="width: 100%"
liushikai committed
45
                  placeholder="请选择Diary Till date"
46
                ></c-date-picker>
liushikai committed
47 48 49 50 51 52 53 54 55 56 57
              </c-col>
            </el-form-item>
          </c-col>
          <c-col :span="8">
            <el-form-item
              label="选择用户"
              prop="usfmod.flt"
              style="width: 100%"
            >
              <c-col :span="24">
                <!-- <c-col :span="16"> -->
58 59
                <c-select
                  v-model="model.usfmod.flt"
60
                  style="width: 100%"
61 62 63 64 65 66 67 68 69 70
                  placeholder="请选择Filter"
                >
                  <el-option
                    v-for="item in codes.flt"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
liushikai committed
71 72
                <!-- </c-col> -->
                <!-- <c-col :span="7">
73
                <c-button size="small" type="primary" style="width: 100%">
74 75
                  show set
                </c-button>
liushikai committed
76
                   </c-col>-->
liushikai committed
77 78 79 80 81 82
              </c-col>
            </el-form-item>
          </c-col>
        </c-col>
      </el-row>
      <el-row>
潘际乾 committed
83
        <c-col :span="24" style="">
liushikai committed
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
          <c-col :span="8">
            <el-form-item label="业务类型" prop="seasec" style="width: 100%">
              <c-select
                v-model="model.seasec"
                style="width: 100%"
                placeholder="请选择Business Sector"
              >
                <el-option
                  v-for="item in codes.bustxt"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
wangguangchao committed
101

liushikai committed
102 103 104 105
          <c-col :span="8">
            <el-form-item label="提示原因" prop="reasen" style="width: 100%">
              <c-select
                v-model="model.reasen"
106
                style="width: 100%"
liushikai committed
107
                placeholder="请选择Reasons"
108
              >
liushikai committed
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
                <el-option
                  v-for="item in codes.diatxt"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="8" v-if="model.usfmod.flt == '<SELU>'">
            <el-form-item
              label="经办柜员"
              prop="usfmod.usr.extkey"
              style="width: 100%"
            >
126
              <c-col :span="24">
liushikai committed
127 128 129 130
                <c-col :span="20">
                  <c-input
                    v-model="model.usfmod.usr.extkey"
                    maxlength="8"
wangna committed
131
                    placeholder="请输入客户经理"
liushikai committed
132 133 134 135 136 137 138 139 140 141 142
                    style="width: 95%"
                  ></c-input>
                </c-col>
                <c-col :span="4">
                  <c-button
                    size="small"
                    style="width: 100%;margin-left:0"
                    type="primary"
                    icon="el-icon-search"
                  ></c-button>
                </c-col>
143
              </c-col>
liushikai committed
144 145 146 147 148 149 150 151 152 153
            </el-form-item>
          </c-col>
          <c-col :span="8" v-else-if="model.usfmod.flt == '<SELB>'">
            <el-form-item
              label="业务机构"
              prop="usfmod.selusb"
              style="width: 100%"
            >
              <c-select
                v-model="model.usfmod.selusb"
154
                style="width: 100%"
liushikai committed
155
                placeholder="请选择Select user branch"
156
              >
liushikai committed
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="8" style="text-align: right" v-else>
            <el-button size="small" @click="handleReset">重置</el-button>
            <el-button
              type="primary"
              icon="el-icon-search"
              size="small"
              @click="handleSearch"
              >查询</el-button
            >
          </c-col>
          
        </c-col>
liushikai committed
172
        <c-col
潘际乾 committed
173 174
            :span="24"
            style="text-align: right;height:36.8px;"
liushikai committed
175 176 177 178
            v-if="
              model.usfmod.flt === '<SELU>' || model.usfmod.flt === '<SELB>'
            "
          >
liushikai committed
179
          <!-- <el-form-item> -->
liushikai committed
180 181 182 183 184 185 186 187
            <el-button size="small" @click="handleReset">重置</el-button>
            <el-button
              type="primary"
              icon="el-icon-search"
              size="small"
              @click="handleSearch"
              >查询</el-button
            >
liushikai committed
188
            <!-- </el-form-item> -->
liushikai committed
189
          </c-col>
liushikai committed
190 191
      </el-row>
      
liushikai committed
192
    </el-form>
潘际乾 committed
193

潘际乾 committed
194
    <c-col :span="24" style="">
潘际乾 committed
195 196 197 198
      <div style="border-bottom: 10px solid rgb(232, 232, 232)">
      </div>
    </c-col>

liushikai committed
199 200
    <!-- </template>
    </c-list-search> -->
201

202
    <!-- <div style="margin-top: 20px">
203 204 205 206 207 208
      <c-button
        size="small"
        type="primary"
        @click="onButdet"
        disabled="disabled"
      >
wangguangchao committed
209 210
        Display
      </c-button>
211 212 213 214 215 216
      <c-button
        size="small"
        type="primary"
        @click="onButdia"
        disabled="disabled"
      >
wangguangchao committed
217 218
        Modify
      </c-button>
219 220 221 222 223 224
      <c-button
        size="small"
        type="primary"
        @click="onButdel"
        disabled="disabled"
      >
wangguangchao committed
225 226
        Delete
      </c-button>
227 228 229 230 231 232
      <c-button
        size="small"
        type="primary"
        @click="onButprt"
        disabled="disabled"
      >
wangguangchao committed
233 234 235 236 237 238 239 240 241 242
        Print
      </c-button>
      <c-button
        size="small"
        type="primary"
        disabled="disabled"
        @click="onButconsel"
      >
        Selection
      </c-button>
243 244 245 246 247 248
      <c-button
        size="small"
        type="primary"
        @click="onButconcal"
        disabled="disabled"
      >
wangguangchao committed
249 250
        Process
      </c-button>
251 252 253
      <c-button size="small" type="primary" disabled="disabled">
        导Excel
      </c-button>
254
    </div> -->
wangguangchao committed
255

256
    <el-row>
潘际乾 committed
257
      <c-col :span="24" style="">
258
        <c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
liushikai committed
259
          <el-table-column
260 261 262
            fixed="right"
            prop="display"
            label="操作"
liushikai committed
263
            width="140px"
264
          >
liushikai committed
265
          <template slot="header">
nanrui committed
266
              <c-col :span="11" style="text-align:center"><span>操作</span></c-col>
267
              <!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
liushikai committed
268
            </template>
269
            <template>
hulei committed
270
              <c-button style="margin-left: 0" size="small">
271 272
                详情
              </c-button>
nanrui committed
273
              <c-button style="margin-left: 5px" size="small" type="primary">
hulei committed
274
                处理
275 276 277
              </c-button>
            </template>
          </el-table-column>
liushikai committed
278 279
        </c-istream-table>
      </c-col>
280
    </el-row>
liushikai committed
281
    <!-- <el-row style="margin-top: 2rem">
潘际乾 committed
282
       <c-col :span="24">
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
      <el-card class="box-card">
        <div slot="header" class="clearfix">
          <span>交易状态信息 —— {{ transactionStatus.busiNo }}</span>
        </div>
        <div class="text item">
          <form class="el-form--label-left el-form--inline">
            <div class="el-form-item">
              <label class="el-form-item__label">修改次数:</label>
              <div class="el-form-item__content">
                <span>{{ transactionStatus.modTimes }}</span>
              </div>
            </div>
            <div class="el-form-item">
              <label class="el-form-item__label transstatus">交单次数:</label>
              <div class="el-form-item__content">
                <span>{{ transactionStatus.postCount }}</span>
              </div>
            </div>
            <div class="el-form-item">
              <label class="el-form-item__label transstatus">付款次数:</label>
              <div class="el-form-item__content">
                <span>{{ transactionStatus.earnCount }}</span>
              </div>
            </div>
            <div class="el-form-item">
              <label class="el-form-item__label transstatus">付款金额:</label>
              <div class="el-form-item__content">
                <span>{{ transactionStatus.earnAmt }} CNY</span>
              </div>
            </div>
          </form>
        </div>
      </el-card>
316
       </c-col>
liushikai committed
317
    </el-row> -->
318 319 320 321 322
    <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
      <div class="m-list-btns"></div>
    </el-dialog>

    <!--
wangguangchao committed
323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371
	<c-col :span="12">
	    <span  v-text="model.usfmod.usftxt"   data-path=".usfmod.usftxt" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="Filter" prop="usfmod.flt">
            <c-select v-model="model.usfmod.flt" style="width:100%" placeholder="请选择Filter">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onUsfmodShwflt">
            Sho&w Set
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onButdet">
            &Display
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Selection Reference" prop="searef">
            <c-input  v-model="model.searef" maxlength="16"  placeholder="请输入Selection Reference"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Business Sector" prop="seasec">
            <c-select v-model="model.seasec" style="width:100%" placeholder="请选择Business Sector">
              </c-select>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.usfmod.labtxt"   data-path=".usfmod.labtxt" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="Selected User Group Set" prop="usfmod.selusgset">
            <c-select v-model="model.usfmod.selusgset" style="width:100%" placeholder="请选择Selected User Group Set">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="User ID" prop="usfmod.usr.extkey">
wangna committed
372
            <c-input  v-model="model.usfmod.usr.extkey" maxlength="8"  placeholder="请输入客户经理"></c-input>
wangguangchao committed
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Selected User Group" prop="usfmod.selusg">
            <c-select v-model="model.usfmod.selusg" style="width:100%" placeholder="请选择Selected User Group">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Select user branch" prop="usfmod.selusb">
            <c-select v-model="model.usfmod.selusb" style="width:100%" placeholder="请选择Select user branch">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="usfmod.usrget.sdamod.seainf">
            <c-input  v-model="model.usfmod.usrget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onButdia">
            &Modify
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Display Stream" prop="dspstm">
            <c-input  v-model="model.dspstm"  placeholder="请输入Display Stream"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small"  icon="el-icon-delete" @click="onButdel">
            &Delete
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onButprt">
            P&rint
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onButconsel">
            &Selection
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onButconcal">
            &Process
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onButexi">
            E&xit
        </c-button>
       </c-col>
       -->
  </div>
</template>
<script>
441
import Api from "~/service/Api";
wangren committed
442
import commonProcess from "~/mixin/commonProcess";
443 444
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Diasel/Event";
wangguangchao committed
445 446

export default {
447 448
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
449
  mixins: [commonProcess],
450 451 452 453 454 455 456 457 458 459 460 461 462
  data() {
    return {
      initdialog: false,
      transactionStatus: {
        busiNo: "",
        modTimes: 0,
        postCount: 0,
        accCount: 0,
        earnCount: 0,
        earnAmt: 0,
      },
      stmData: {
        columns: [
463
          // '1 1 "提示日期" 160',
nanrui committed
464
          {index:1,position:1,width:110,pattern:'date',label:'提示日期'},
liushikai committed
465 466
          '2 2 "提示原因" 100',
          '3 3 "业务编号" 150',
467
          '4 4 "提示信息" 300',
nanrui committed
468
          '5 5 "待操作交易代码" 140',
liushikai committed
469
          '6 6 "经办柜员" 100',
470
          '7 7 "所属工作组" auto',
471 472 473 474 475
          // '8 8 "客户号" 1',
          // '9 9 "客户名称" 1',
          // '10 10 "币种" 1',
          // '11 11 "金额" 1',
          // '12 12 "预计核验" 1',
476 477 478 479 480 481
        ],
        data: [],
      },
      relrowDisabled: true,
    };
  },
wangguangchao committed
482 483 484
  methods: {
    ...Event,
  },
485 486
  created: function () {},
};
wangguangchao committed
487 488 489
</script>
<style>
</style>