蔡玲玲 3 weeks ago
parent
commit
e12d9a2caa
  1. 2
      base-fast/src/main/java/com/boge/modules/tickets/controller/TicketsController.java
  2. 2
      base-fast/src/main/java/com/boge/modules/tickets/dao/TicketsDao.java
  3. 14
      base-fast/src/main/java/com/boge/modules/tickets/entity/TicketsEntity.java
  4. 2
      base-fast/src/main/java/com/boge/modules/tickets/service/TicketsService.java
  5. 5
      base-fast/src/main/resources/mapper/tickets/TicketsDao.xml
  6. 4
      base-vue/src/main.js
  7. BIN
      base-vue/src/utils/lodop/CLodop_Setup_for_Win32NT.exe
  8. 49
      base-vue/src/utils/lodop/LodopFuncs.js
  9. BIN
      base-vue/src/utils/lodop/install_lodop32.exe
  10. BIN
      base-vue/src/utils/lodop/install_lodop64.exe
  11. 18
      base-vue/src/views/modules/car/CarDao.xml
  12. 21
      base-vue/src/views/modules/contract/ContractDao.xml
  13. 2
      base-vue/static/config/index.js
  14. 13551
      base-vue/yarn.lock

2
base-fast/src/main/java/com/boge/modules/tickets/controller/TicketsController.java

@ -22,7 +22,7 @@ import com.boge.common.utils.R;
*
* @author ls
* @email dengpbs@163.com
* @date 2025-02-26 19:56:28
* @date 2025-03-05 14:29:12
*/
@RestController
@RequestMapping("tickets/tickets")

2
base-fast/src/main/java/com/boge/modules/tickets/dao/TicketsDao.java

@ -9,7 +9,7 @@ import org.apache.ibatis.annotations.Mapper;
*
* @author ls
* @email dengpbs@163.com
* @date 2025-02-26 19:56:28
* @date 2025-03-05 14:29:12
*/
@Mapper
public interface TicketsDao extends BaseMapper<TicketsEntity> {

14
base-fast/src/main/java/com/boge/modules/tickets/entity/TicketsEntity.java

@ -12,7 +12,7 @@ import lombok.Data;
*
* @author ls
* @email dengpbs@163.com
* @date 2025-02-26 19:56:28
* @date 2025-03-05 14:29:12
*/
@Data
@TableName("sys_tickets")
@ -60,5 +60,17 @@ public class TicketsEntity implements Serializable {
* 创建时间
*/
private Date createTime;
/**
* 是否验收
*/
private Integer isCheck;
/**
* 工单状态
*/
private Integer status;
/**
* 工单关闭时间
*/
private Date updateTime;
}

2
base-fast/src/main/java/com/boge/modules/tickets/service/TicketsService.java

@ -11,7 +11,7 @@ import java.util.Map;
*
* @author ls
* @email dengpbs@163.com
* @date 2025-02-26 19:56:28
* @date 2025-03-05 14:29:12
*/
public interface TicketsService extends IService<TicketsEntity> {

5
base-fast/src/main/resources/mapper/tickets/TicketsDao.xml

@ -15,7 +15,10 @@
<result property="deptPhone" column="dept_phone"/>
<result property="createUserId" column="create_user_id"/>
<result property="createTime" column="create_time"/>
<result property="isCheck" column="is_check"/>
<result property="status" column="status"/>
<result property="updateTime" column="update_time"/>
</resultMap>
</mapper>
</mapper>

4
base-vue/src/main.js

@ -36,9 +36,9 @@ Vue.prototype.$http = httpRequest // ajax请求方法
Vue.prototype.isAuth = isAuth // 权限方法
Vue.prototype.PubSub = PubSub //组件发布订阅消息
Vue.prototype.$imgPath = "http://localhost:8070/base-fast/file/fileController/download?fileName="
Vue.prototype.$imgPath = "http://192.168.10.54:8070/base-fast/file/fileController/download?fileName="
Vue.prototype.$imgBasePath = "http://localhost:8070/base-fast/file/fileController/"
Vue.prototype.$imgBasePath = "http://192.168.10.54:8070/base-fast/file/fileController/"
Vue.prototype.$genders=['男','女']

BIN
base-vue/src/utils/lodop/CLodop_Setup_for_Win32NT.exe

Binary file not shown.

49
base-vue/src/utils/lodop/LodopFuncs.js

@ -0,0 +1,49 @@
import { MessageBox } from 'element-ui'
// ====页面动态加载C-Lodop云打印必须的文件CLodopfuncs.js====
var head = document.head || document.getElementsByTagName('head')[0] || document.documentElement
var oscript = document.createElement('script')
// 让本机的浏览器打印(更优先一点):
oscript = document.createElement('script')
oscript.src = 'http://192.168.10.54:8000/CLodopfuncs.js?priority=2'
head.insertBefore(oscript, head.firstChild)
// 加载双端口(8000和18000)避免其中某个端口被占用:
oscript = document.createElement('script')
oscript.src = 'http://192.168.10.54:18000/CLodopfuncs.js?priority=1'
head.insertBefore(oscript, head.firstChild)
// 下载loadLodop
function loadLodop() {
window.open('./CLodop_Setup_for_Win32NT.exe')
}
// ====获取LODOP对象的主过程:====
function getLodop() {
var LODOP
try {
LODOP = getCLodop()
if (!LODOP && document.readyState !== 'complete') {
MessageBox.alert('C-Lodop打印控件还没准备好,请稍后再试!')
return
}
//设置打印版权
LODOP.SET_LICENSES('浙江省烟草专卖局(公司)', 'C0C4A46A3A0D1F526D426018D9F11921', '', '')
LODOP.SET_SHOW_MODE('SETUP_ENABLESS', '10000000000000')
return LODOP
} catch (err) {
MessageBox({
title: '温馨提示',
type: 'warning',
showCancelButton: true,
message: '您还未安装打印控件,点击确定下载打印控件,安装成功后刷新页面即可进行打印',
callback: res => {
if (res === 'confirm') {
loadLodop()
}
}
})
}
}
export { getLodop }

BIN
base-vue/src/utils/lodop/install_lodop32.exe

Binary file not shown.

BIN
base-vue/src/utils/lodop/install_lodop64.exe

Binary file not shown.

18
base-vue/src/views/modules/car/CarDao.xml

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.boge.modules.car.dao.CarDao">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="com.boge.modules.car.entity.CarEntity" id="carMap">
<result property="carId" column="car_id"/>
<result property="carName" column="car_name"/>
<result property="navigationType" column="navigation_type"/>
<result property="remarks" column="remarks"/>
<result property="isOn" column="is_on"/>
<result property="createUserId" column="create_user_id"/>
<result property="createTime" column="create_time"/>
</resultMap>
</mapper>

21
base-vue/src/views/modules/contract/ContractDao.xml

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.boge.modules.contract.dao.ContractDao">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="com.boge.modules.contract.entity.ContractEntity" id="contractMap">
<result property="contractId" column="contract_id"/>
<result property="contractType" column="contract_type"/>
<result property="isMaster" column="is_master"/>
<result property="contractNumber" column="contract_number"/>
<result property="clientId" column="client_id"/>
<result property="materialJson" column="material_json"/>
<result property="isAcceptance" column="is_acceptance"/>
<result property="createTime" column="create_time"/>
<result property="acceptanceTime" column="acceptance_time"/>
<result property="remarks" column="remarks"/>
</resultMap>
</mapper>

2
base-vue/static/config/index.js

@ -5,7 +5,7 @@
window.SITE_CONFIG = {};
// api接口请求地址
window.SITE_CONFIG['baseUrl'] = 'http://localhost:8070/base-fast';
window.SITE_CONFIG['baseUrl'] = 'http://192.168.10.54:8070/base-fast';
// cdn地址 = 域名 + 版本号
window.SITE_CONFIG['domain'] = './'; // 域名

13551
base-vue/yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save