Prtcfg.vue 4.12 KB
Newer Older
潘际乾 committed
1 2
<template>
  <div class="eibs-tab">
潘际乾 committed
3
    <c-col :span="24">
潘际乾 committed
4
      <c-col :span="12">
5
        <el-form-item label="" prop="chgetyprt">
潘际乾 committed
6
          <c-checkbox v-model="model.chgetyprt"
nanrui committed
7
            >实体更改时打印消息</c-checkbox
潘际乾 committed
8
          >
潘际乾 committed
9
        </el-form-item>
潘际乾 committed
10 11 12
      </c-col>

      <c-col :span="12">
nanrui committed
13
        <el-form-item label="客户端打印" prop="srvprtm.prtmod.cltprtflg">
潘际乾 committed
14 15 16
          <c-select
            v-model="model.srvprtm.prtmod.cltprtflg"
            style="width: 100%"
nanrui committed
17
            placeholder="请选择客户端打印"
18
            :code="codes.cltprtflg"
潘际乾 committed
19 20
          >
          </c-select>
潘际乾 committed
21
        </el-form-item>
潘际乾 committed
22 23 24 25
      </c-col>
    </c-col>

    <c-col :span="12">
nanrui committed
26
      <el-form-item label="标题文本" prop="srvprtm.prt.heatxt">
潘际乾 committed
27 28 29
        <c-input
          v-model="model.srvprtm.prt.heatxt"
          maxlength="40"
nanrui committed
30
          placeholder="请输入标题文本"
潘际乾 committed
31 32 33
        ></c-input>
      </el-form-item>
    </c-col>
34 35

    <c-col :span="12">
nanrui committed
36
      <el-form-item label="技术表格" prop="srvprtm.prt.tef">
潘际乾 committed
37 38 39
        <c-select
          v-model="model.srvprtm.prt.tef"
          style="width: 100%"
nanrui committed
40
          placeholder="请选择技术表格"
41
          :code="codes.tef"
潘际乾 committed
42 43 44 45
        >
        </c-select>
      </el-form-item>
    </c-col>
46 47

    <c-col :span="12">
nanrui committed
48
      <el-form-item label="默认打印机来自" prop="srvprtm.prt.getprt">
潘际乾 committed
49 50 51
        <c-select
          v-model="model.srvprtm.prt.getprt"
          style="width: 100%"
nanrui committed
52
          placeholder="请选择默认打印机来自"
53
          :code="codes.getprt"
潘际乾 committed
54 55 56 57
        >
        </c-select>
      </el-form-item>
    </c-col>
58 59

    <c-col :span="12">
nanrui committed
60
      <el-form-item label="打印机" prop="srvprtm.prt.prt">
潘际乾 committed
61 62 63
        <c-select
          v-model="model.srvprtm.prt.prt"
          style="width: 100%"
nanrui committed
64
          placeholder="请选择打印机"
潘际乾 committed
65
        >
66 67 68 69 70 71 72
        <el-option
              v-for="item in prt"
              :key="item.value"
              :label="item.label"
              :value="item.value"
          >
          </el-option>
潘际乾 committed
73 74 75
        </c-select>
      </el-form-item>
    </c-col>
76

潘际乾 committed
77 78 79 80 81 82 83
    <c-col :span="12">
      <el-form-item label="Paperbin" prop="srvprtm.prt.bin">
        <c-select
          v-model="model.srvprtm.prt.bin"
          style="width: 100%"
          placeholder="请选择Paperbin"
        >
84 85 86 87 88 89 90
        <el-option
              v-for="item in bin"
              :key="item.value"
              :label="item.label"
              :value="item.value"
          >
          </el-option>
潘际乾 committed
91 92 93
        </c-select>
      </el-form-item>
    </c-col>
94

潘际乾 committed
95 96 97 98 99 100 101
    <c-col :span="12">
      <el-form-item label="Bin for 2nd Page" prop="srvprtm.prt.bin2">
        <c-select
          v-model="model.srvprtm.prt.bin2"
          style="width: 100%"
          placeholder="请选择Bin for 2nd Page"
        >
102 103 104 105 106 107 108
          <el-option
              v-for="item in bin"
              :key="item.value"
              :label="item.label"
              :value="item.value"
          >
          </el-option>
潘际乾 committed
109 110 111
        </c-select>
      </el-form-item>
    </c-col>
112 113

    <c-col :span="12">
潘际乾 committed
114 115 116 117 118 119 120
      <el-form-item label="# of Copies" prop="srvprtm.prt.cpycnt">
        <c-input
          v-model="model.srvprtm.prt.cpycnt"
          placeholder="请输入# of Copies"
        ></c-input>
      </el-form-item>
    </c-col>
121

潘际乾 committed
122 123 124
  </div>
</template>
<script>
潘际乾 committed
125
import Api from "~/service/Api";
wangren committed
126
import commonProcess from "~/mixin/commonProcess";
潘际乾 committed
127 128
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptrou/Event";
潘际乾 committed
129 130

export default {
潘际乾 committed
131 132
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
133
  mixins: [commonProcess],
潘际乾 committed
134
  data() {
135 136 137 138 139 140 141 142 143 144 145 146 147 148
    return {
      bin: [
        { label: "Bin", value: "Bin" },
      ],
      prt: [
        { label: "导出为WPS PDF", value: "导出为WPS PDF" },
        { label: "OneNote (Desktop)", value: "OneNote (Desktop)" },
        { label: "Microsoft XPS Document Writer", value: "Microsoft XPS Document Writer" },
        { label: "Microsoft Print to PDF", value: "Microsoft Print to PDF" },
        { label: "Fax", value: "Fax" },
        { label: "Adobe PDF", value: "Adobe PDF" },
        { label: "", value: "" },
      ],
    };
潘际乾 committed
149 150 151 152
  },
  methods: { ...Event },
  created: function () {},
};
潘际乾 committed
153
</script>
潘际乾 committed
154
<style></style>