diff --git a/.env.development b/.env.development index 1ed68cb..ca48b3f 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ ENV = 'development' # 接口地址 # 许镇-本地服地址 -# VUE_APP_BASE_API = 'http://192.168.99.63:15000' -VUE_APP_BASE_API = 'http://192.168.99.101:15000' +VUE_APP_BASE_API = 'http://192.168.99.63:15000' +# VUE_APP_BASE_API = 'http://192.168.99.101:15000' VUE_APP_WEBRTCSTREAMER_API = '127.0.0.1:8000' # 是否启用 babel-plugin-dynamic-import-node插件 diff --git a/src/api/asset/index.js b/src/api/asset/index.js index 51b5ffb..1e8a38a 100644 --- a/src/api/asset/index.js +++ b/src/api/asset/index.js @@ -97,6 +97,24 @@ export function FetchInitInOutBill(params) { }) } +// 添加白名单 +export function FetchAddAssetWhiteList(data) { + return request({ + url: 'api/asset/addAssetWhiteList', + method: 'post', + data + }) +} + +// 删除资产白名单 +export function FetchDeleteAssetWhiteList(data) { + return request({ + url: 'api/asset/deleteAssetWhiteList', + method: 'post', + data + }) +} + export default { FetchInitAssetInfo, add, @@ -108,5 +126,7 @@ export default { FetchDeleteAssetInfoPhotoById, FetchInOutDetailsByBillNo, FetchInitStockTakeBill, - FetchInitInOutBill + FetchInitInOutBill, + FetchAddAssetWhiteList, + FetchDeleteAssetWhiteList } diff --git a/src/views/assetManage/assetWhitelist/index.vue b/src/views/assetManage/assetWhitelist/index.vue new file mode 100644 index 0000000..5aee3dc --- /dev/null +++ b/src/views/assetManage/assetWhitelist/index.vue @@ -0,0 +1,590 @@ + + + + + diff --git a/src/views/assetManage/inventory/index.vue b/src/views/assetManage/inventory/index.vue index e07fb95..5ac8b33 100644 --- a/src/views/assetManage/inventory/index.vue +++ b/src/views/assetManage/inventory/index.vue @@ -32,10 +32,16 @@ - + + + @@ -623,24 +629,24 @@ export default { } } -.preview-dialog{ - ::v-deep .el-dialog { - width: 1300px !important; - .el-dialog__body{ - padding: 10px 0 30px 0 !important; - } - // .preview-content{ - // height: calc(100vh - 330px) !important; - // overflow: hidden !important; - // overflow-y: auto !important; - // border: none !important; - // .el-form-item__label{ - // color: #0C0E1E !important; - // } - // } - // .dialog-footer{ - // margin-top: 10px !important; - // } - } -} +// .el-table{ +// ::v-deep .el-tag{ +// margin: 0 !important; +// &.el-tag--small{ +// color: #0348f3 !important; +// background-color: #eef5fe !important; +// border-color: #eef5fe !important; +// } +// &.el-tag--success { +// background-color: #e7faf0 !important; +// border-color: #d0f5e0!important; +// color: #13ce66!important; +// } +// &.el-tag--info { +// background-color: #f4f4f5 !important; +// border-color: #f4f4f5!important; +// color: #909399!important; +// } +// } +// }