# internal-control-system **Repository Path**: work-kxcq/internal-control-system ## Basic Information - **Project Name**: internal-control-system - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-26 - **Last Updated**: 2024-08-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ```bash # 克隆项目 git clone https://gitee.com/lyt-top/vue-next-admin.git # 进入项目 cd vue-next-admin # 安装依赖 cnpm install # 运行项目 cnpm run dev # 打包发布 cnpm run build ``` ## 改变 ```language if(tool.label == '投标供应商名称') { var toolValue = JSON.parse(tool.value); var obj = document.querySelector('#'+tool.id); var id = obj.parentElement.nextElementSibling.nextElementSibling.querySelector('.operate_tool').id; request({ url: '/api/personSrv/getproviderperson/'+toolValue.id, method: 'get' }).then(res => { console.log(res); var list = res.data.result; if(list.length) { var oTool = Tools.find(item => item.id == id); if(oTool) { oTool.value = JSON.stringify({ id: list[0].id, name: list[0].name }); } } }) } ``` ## 输入框 ``` ##json:{"type":"input","label":"数量","id":"$fn_getId","value":""}## 全配置 {"type": "input", "label": "xxx", "id": "$fn_getId","value":"", "disabled": true} ``` ## 数字框 ```language {"type": "inputNumber", "label": "xxx", "id": "$fn_getId","value":"", "disabled": true, "min": 0, "max": 10000, "precision": 0} ```