Browse Source

邮件优化

master
zuowenwen 4 years ago
parent
commit
1cb5e6401c
  1. 2
      src/views/modules/toolMan/IQCInspectionTool.vue
  2. 1
      src/views/modules/toolMan/assessment.vue
  3. 1
      src/views/modules/toolMan/checkIn.vue
  4. 56
      src/views/modules/toolMan/location.vue
  5. 78
      src/views/modules/toolMan/offInspection.vue
  6. 18
      src/views/modules/toolMan/quarantineLibrary.vue
  7. 1
      src/views/modules/toolMan/repairReturnInspection.vue
  8. 1
      src/views/modules/toolMan/toolOffPlane.vue

2
src/views/modules/toolMan/IQCInspectionTool.vue

@ -63,6 +63,7 @@
</template>
</el-table-column>
<el-table-column
v-if="isAuth('IQCInspectionTool:iscz')"
fixed="right"
header-align="center"
align="center"
@ -625,6 +626,7 @@ import {
// remark : row.remark,
updateFlag : updateFlag,
remark : this.remark,
tdStatus : '已启用',
}
saveList.push(saveData)
updateSoToolInspectionApplyList(saveList).then(({data}) => {

1
src/views/modules/toolMan/assessment.vue

@ -63,6 +63,7 @@
</template>
</el-table-column>
<el-table-column
v-if="isAuth('assessment:iscz')"
fixed="right"
header-align="center"
align="center"

1
src/views/modules/toolMan/checkIn.vue

@ -63,6 +63,7 @@
</template>
</el-table-column>
<el-table-column
v-if="isAuth('checkIn:iscz')"
fixed="right"
header-align="center"
align="center"

56
src/views/modules/toolMan/location.vue

@ -50,6 +50,7 @@
</el-form-item>
<el-form-item>
<el-button @click="initModel()" type="primary">{{buttons.add}}</el-button>
<el-button @click="printReport()" type="primary">{{buttons.print}}</el-button>
<el-button @click="saveColumnList()" type="primary" v-show="showDefault">{{buttons.defaultTable}}
</el-button>
<el-button @click="userSetting" type="primary">{{ buttons.settingTable}}</el-button>
@ -82,6 +83,12 @@
v-loading="dataListLoading"
@selection-change="selectionChangeHandle"
style="width: 100%;">
<el-table-column
type="selection"
header-align="center"
width="40"
align="center">
</el-table-column>
<el-table-column
v-for="(item,index) in columnList" :key="index"
:sortable="item.columnSortable"
@ -534,7 +541,8 @@ import {
search: '查询',
download: '导出',
settingTable: '设置列表',
defaultTable: '设置默认配置'
defaultTable: '设置默认配置',
print : '打印',
},
// start
exportData: [],
@ -758,27 +766,31 @@ import {
},
//
printReport(){
alert( this.$store.state.user.site)
//
// const LODOP = getLodop()
// if (LODOP) {
// var strBodyStyle = '<style>'
// strBodyStyle += 'table { border-top: 1 solid #000000; border-left: 1 solid #000000; border-collapse:collapse; border-spacing:0;}'
// strBodyStyle += 'caption { line-height:2em; }'
// strBodyStyle += 'td { border-right: 1 solid #000000; border-bottom: 1 solid #000000; text-align:center; padding:2px 3px; font-size:11px;}'
// strBodyStyle += '</style>' //
// var strFormHtml = strBodyStyle + '<body>' + document.getElementById('commmon').innerHTML + '</body>' //
//
// LODOP.PRINT_INIT('') //
// LODOP.PRINT_DESIGN();
// //LODOP.PREVIEW();
// //LODOP.PRINT();
//
// LODOP.SET_PRINT_PAGESIZE(2, 0, 0, 'A4') //
// LODOP.ADD_PRINT_HTM('1%', '1%', '98%', '98%', strFormHtml) //
// LODOP.SET_PREVIEW_WINDOW(2, 0, 0, 800, 600, '') //
// LODOP.PREVIEW()
// }
debugger
let list = this.dataListSelections
const LODOP = getLodop()
if(list.length > 0){
if (LODOP) {
LODOP.SET_LICENSES("","13F0BE83846277CB60918577C6281375","","");
for (let i = 0; i < list.length; i++) {
let row = list[i]
LODOP.NewPage();
LODOP.SET_PRINT_PAGESIZE(0,1000,400,"");
LODOP.SET_PRINT_STYLE("FontSize",12);
LODOP.SET_PRINT_STYLE("LineHeight",-2);
LODOP.ADD_PRINT_BARCODE(3,3,300,120,"QRCode",row.locationId);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(10,205,400,150,row.locationId );
LODOP.SET_PRINT_STYLEA(0,"FontSize",40);
}
LODOP.PRINT_DESIGN();
//LODOP.PREVIEW();
// LODOP.PRINT();
console.log("操作成功!")
}
}
},
//
favoriteIsOk(){

78
src/views/modules/toolMan/offInspection.vue

@ -63,6 +63,7 @@
</template>
</el-table-column>
<el-table-column
v-if="isAuth('offInspection:iscz')"
fixed="right"
header-align="center"
align="center"
@ -435,69 +436,20 @@ import {
exportDefaultValue: "这一行这一列没有数据",
// end
buttonList: [
// {
// functionId: "1601",
// languageValue: '',
// objectId: 'add',
// objectType: "button",
// tableId: "common1001"
// },
// {
// functionId: "1601",
// languageValue: '',
// objectId: 'edit',
// objectType: "button",
// tableId: "common1001"
// },
// {
// functionId: "1601",
// languageValue: '',
// objectId: 'delete',
// objectType: "button",
// tableId: "common1001"
// },
// {
// functionId: "1601",
// languageValue: '',
// objectId: 'deleteList',
// objectType: "button",
// tableId: "common1001"
// },
// {
// functionId: "1601",
// languageValue: '',
// objectId: 'cz',
// objectType: "button",
// tableId: "common1001"
// },
// {
// functionId: "1601",
// languageValue: '',
// objectId: 'search',
// objectType: "button",
// tableId: "common1001"
// },
// {
// functionId: "1601",
// languageValue: '',
// objectId: 'download',
// objectType: "button",
// tableId: "common1001"
// },
// {
// functionId: "1601",
// languageValue: '',
// objectId: 'settingTable',
// objectType: "button",
// tableId: "common1001"
// },
// {
// functionId: "1601",
// languageValue: '',
// objectId: 'defaultTable',
// objectType: "button",
// tableId: "common1001"
// }
{
functionId: "1601",
languageValue: '合格',
objectId: 'qualified',
objectType: "button",
tableId: "offInspection1601"
},
{
functionId: "1601",
languageValue: '不合格',
objectId: 'unqualified',
objectType: "button",
tableId: "offInspection1601"
},
],
languageList: [],
languageColumnList: [],

18
src/views/modules/toolMan/quarantineLibrary.vue

@ -63,6 +63,7 @@
</template>
</el-table-column>
<el-table-column
v-if="isAuth('quarantineLibrary:iscz')"
fixed="right"
header-align="center"
align="center"
@ -270,6 +271,23 @@ import {
status: true,
fixed: false,
},
{
userId: this.$store.state.user.name,
functionId: 2101,
serialNumber: 'library2101Engineer',
tableId: "library2101",
tableName: "libraryTable",
columnProp: "engineer",
headerAlign: "center",
align: "center",
columnLabel: "工程师",
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: false,
},
{
userId: this.$store.state.user.name,
functionId: 2101,

1
src/views/modules/toolMan/repairReturnInspection.vue

@ -63,6 +63,7 @@
</template>
</el-table-column>
<el-table-column
v-if="isAuth('repairReturnInspection:iscz')"
fixed="right"
header-align="center"
align="center"

1
src/views/modules/toolMan/toolOffPlane.vue

@ -59,6 +59,7 @@
</template>
</el-table-column>
<el-table-column
v-if="isAuth('toolOffPlane:iscz')"
fixed="right"
header-align="center"
align="center"

Loading…
Cancel
Save